musicautobot
musicautobot copied to clipboard
MusicTransformer error: Non midi note detected. Only returning valid portion. Index, seed 5 (50, 2)0/100 00:02<00:00]
Hi, I was wondering if someone might have some insight.
I've followed the "Train" notebook, but when I try to run it, I get the titular error. I am using the .mid files from "/data/midi/examples" as training data or a different set.The "Index, seed #" number changes on different runs.
Additionally, I cannot run the Generate notebook with the example.pth file generated either, it gives the following:
\learner.py", line 18, in music_model_learner if config is None: config = state['config'] KeyError: 'config'
This may resolve your error encode_position = True config = default_config() config['encode_position'] = encode_position learn_country = music_model_learner(data_country, config=config.copy())
I'm having the same error. Both "pred" and "full" contain non-midi notes if I train the model on my own. No error would happen if I use the pretrained model.
I found consecutive "xxsep"s in the predicted stream. Not sure what the reason is..
Hello @BShennette ,
could you resolve this issue with the anwers or by yourself?
I am currently facing the same problem (Non midi note detected. Only returning valid portion. Index, seed 5 (50, 2)) and i just can't find a propert solution or workaround...
Thanks in advance, Michael