ismir2019tutorial icon indicating copy to clipboard operation
ismir2019tutorial copied to clipboard

How to get output after training is completed as .mid files ?

Open ayushg0201 opened this issue 3 years ago • 5 comments

Training is completed , but how to get mid or .npz files ?

ayushg0201 avatar Mar 07 '21 14:03 ayushg0201

I tried converting multitrack to mid , but not getting any sound . @salu133445 help !

ayushg0201 avatar Mar 08 '21 12:03 ayushg0201

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.

chessnocow avatar Mar 11 '21 06:03 chessnocow

Guys is there a way to use my own midi dataset to train the model? Any help would be appreciated.

Ahsan-dev287 avatar Apr 02 '21 01:04 Ahsan-dev287

I have generated mid file, but it's only 1 second. How can I solve it ? @salu133445

johnnyhwu avatar Jul 13 '21 04:07 johnnyhwu

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.

2000222 avatar Dec 01 '21 13:12 2000222