Comments (5)
Never mind. I seem to solve all errors/bugs. Sorry to have bothered you.
Check out my work here:
https://github.com/asigalov61/DOREMI
You are welcome to add it/link to it so that your users can use it/try it too.
Let me know if you are interested in example implementations and I will provide you with one as soon as it is ready.
I am using minGPT+your REMI code to see if SOTA results can be achieved.
Thank you again and let me know please.
from remi.
Hi,
Thanks for your re-implementation on the colab. You can find the code segments for converting REMI to MIDI in the utils.py start from #206. If you have any other questions, please let us know.
Looking forward to the results from your re-training on minGPT!
from remi.
Thank you so much for your response and your advice.
I did use that code but it produces strange results. I am just trying to figure out if it is my bad coding skills or if there is a problem with your code/implementation.
I am attaching two samples for you to see because one is perfect and the other one is not so much. I am also attaching the random original sample of the input MIDIs.
It is gotta be a problem somewhere in the TXT-REMI-MIDI part because MIDI-REMI-TXT works as expected and w/o any issues.
Just in case, this is a post-processing issue/matter and AI is not involved here.
from remi.
I suspect there may be something wrong with the "position" events or "bar" events. I recommend you to check the generated events yourself before converting to MIDI.
#############################################################################################
# WRITE MIDI
#############################################################################################
def word_to_event(words, word2event):
events = []
for word in words:
event_name, event_value = word2event.get(word).split('_')
events.append(Event(event_name, None, event_value, None))
return events
def write_midi(words, word2event, output_path, prompt_path=None):
events = word_to_event(words, word2event)
print(*events, sep='\n') #this line
from remi.
Yes, thank you again so much for your help and advice. I double-checked everything and I, unfortunately, can't pinpoint the problem without investing a considerable amount of time and resources into debug/fixes.
Don't get me wrong, it very well may be my code as I am not a particularly talented coder but unfortunately I can only use/find useful implementations/code which works and also complete as I have mentioned earlier.
So please know that for now, I won't be able to utilize your tech/code, which is very disappointing as I think that your overall proposal is fantastic and has great potential.
I am very sorry about it and I really hope that you will find a suitable purpose for REMI. And please keep me in mind/posted about REMI updates/upgrades as I will be more than happy to give it another try.
Otherwise, great job, and you definitely going in the right direction with REMI.
Feel free to contact me if needed.
Most sincerely,
Aleksandr Sigalov
P.S. GPT2 did not produce any significant output due to this issue (at least on my end) and I always manually check everything, especially the dataset/encoding, so I am more than sure now that there is a problem with the code somewhere.
P.P.S and the only significant result with REMI was that AI loved it and i.e. the consistently achieved GPT2 model training loss was very low (~0.08-0.15) which is a very good sign and result IMHO.
from remi.
Related Issues (20)
- Issues when training with other datasets HOT 1
- Issues with evaluation (std and salience for beat/downbeat) HOT 6
- questions about model.py HOT 1
- why my training model dont have pkl file HOT 9
- midi2remi is not run
- something is wrong! Tempo Value_57 HOT 7
- MIDI files end up their last note pushed up a position HOT 6
- Checkpoints saved with a NAN value HOT 2
- i can't train from scratch after remove line 99 HOT 1
- How can I train my MIDI dataset
- Process finished with exit code -1073741571 (0xC00000FD)
- How do I generate my own Remi-checkpoint
- style question
- dictionary.pkl HOT 1
- evaluation code
- Questions about beat and downbeat
- self.group_size*2 should be self.group_size in prepare_data()
- .pb file output
- problem when using REMI-tempo-chord-checkpoint
- More detailed information about finetuning data format HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remi.