ismir2019tutorial
ismir2019tutorial copied to clipboard
How to get output after training is completed as .mid files ?
Training is completed , but how to get mid or .npz files ?
I tried converting multitrack to mid , but not getting any sound . @salu133445 help !
You should use the Multitrack object that you got in a generation process.
from pypianoroll import Multitrack from pypianoroll import load as midi_load m.save('out.npz') m1 = midi_load('out.npz') m1.write('out.mid')
But I have another issue. All the generated track are very similar to each other. I generate a different sample_latent but get the same samples.
Guys is there a way to use my own midi dataset to train the model? Any help would be appreciated.
I have generated mid file, but it's only 1 second. How can I solve it ? @salu133445
You should use the Multitrack object that you got in a generation process.
from pypianoroll import Multitrack from pypianoroll import load as midi_load m.save('out.npz') m1 = midi_load('out.npz') m1.write('out.mid')
But I have another issue. All the generated track are very similar to each other. I generate a different sample_latent but get the same samples.
Fine, but firstly, how can I save the trained model for inference to generate the npz file in the existing Jupyter notebook? Thank you.