Skip to content

IndexError Raised While Training #8

Description

@jasonyanwenl

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions