Hi, during training the model, the method _get_seq() in file data.py throws an IndexError. I think the reason is that the length of the given midi data is less than max_length.
Then I print the file name when this error happens and I found the midi file (after converted to pickle file) is Arciglione08.MID.pickle. The max_length is 2048 but the length of this data is 1777.
I download ecomp_piano as the input dataset. For all hyper-parameters I just use what is shown in the master branch and here is the command I used for training.
python train.py -c config/base.yml config/train.yml -m ../model
I think I could decrease the max_length to avoid this error. But could you please tell me what is the root cause of this error?
Thanks!
Hi, during training the model, the method
_get_seq()in filedata.pythrows an IndexError. I think the reason is that the length of the given midi data is less thanmax_length.Then I print the file name when this error happens and I found the midi file (after converted to pickle file) is
Arciglione08.MID.pickle. Themax_lengthis 2048 but the length of this data is 1777.I download
ecomp_pianoas the input dataset. For all hyper-parameters I just use what is shown in the master branch and here is the command I used for training.python train.py -c config/base.yml config/train.yml -m ../modelI think I could decrease the
max_lengthto avoid this error. But could you please tell me what is the root cause of this error?Thanks!