We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, thanks for this great work.
I am trying to make my own dataset, but I am getting an error when I try to load them into the model. how can i fix this? My code below. Thanks.
import numpy as np import os from pypianoroll import Multitrack dir = './my_dataset' for midi in os.listdir(dir): midi_data = Multitrack(os.path.join(dir, midi)) tracks = [track.pianoroll for track in midi_data.tracks] sample = np.stack(tracks, axis=-1) print(sample.shape) np.save('./dataset/new_train.npy',sample)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, thanks for this great work.
I am trying to make my own dataset, but I am getting an error when I try to load them into the model. how can i fix this? My code below.
Thanks.
The text was updated successfully, but these errors were encountered: