You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Actually this still happens to me and it doesn't seem to be related to the malformed data. Just that every time the file is encoded into a size smaller than max_length an error is thrown.
Lines 79-91 in data.py master branch
Hi, during training the model, the method
_get_seq()
in filedata.py
throws 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_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!
The text was updated successfully, but these errors were encountered: