aashrafh / Mozart

An optical music recognition (OMR) system. Converts sheet music to a machine-readable version.
Apache License 2.0
583 stars 84 forks source link

Train dataset? #17

Closed harrett closed 1 year ago

harrett commented 1 year ago

Thank you very much for this wonderful repo. I am doing research works on OMR, and tried the command: python3 main.py <input directory path> <output directory path> it works fine. But when I executed this: python3 train.py got error with: ValueError: With n_samples=0, test_size=0.2 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters. So I found the dataset directory missed in the project: dataset_path = 'train_data/data' Can you commit it again?

Thanks!

aashrafh commented 1 year ago

The dataset is uploaded to Google Drive because its size is large. So, please, download it and place it in the mentioned directory.