-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: Expect BinaryTrack or StandardTrack, but got <class 'pypianoroll.track.Track'>. #8
Comments
Hi, please downgrade pypianoroll to 0.5.3. Thanks. |
Hi sir, |
It's Note - |
Thank you sir! |
When training starts it gets stuck at 2020-12-22 08:39:14.828929: W tensorflow/core/framework/allocator.cc:108] Allocation of 278003712 exceeds 10% of system memory. I tried reducing the batch size from 32 to 15, 10 but on doing that it says cannot reshape ____ into array of (___) |
This TensorFlow warning is not so meaningful actually. One common cause for hanging is when the training data exceeds the RAM size (see salu133445/musegan#99 and salu133445/musegan#100). Another common cause is when the model is not trained on a GPU. It might take more than 10 minutes per iteration on a CPU, but it generally takes less than 10 seconds on a GPU (see salu133445/musegan#33). |
You might want to run the latest code in the musegan repository, which also supports the BinaryMuseGAN model yet more updated. |
Thank you so much sir! |
File "/usr/local/lib/python3.6/dist-packages/pypianoroll/outputs.py", line 139, in to_pretty_midi
f"Expect BinaryTrack or StandardTrack, but got {type(track)}."
ValueError: Expect BinaryTrack or StandardTrack, but got <class 'pypianoroll.track.Track'>.
### How do I debug this error?
The text was updated successfully, but these errors were encountered: