Open aihobbyist opened 5 years ago
Hello, the codes for preprocessing are a bit messy. We'll take care of them and modify them later. Now please use our provided npy files to have a try. Actually, the methods of preprocessing really depends on what you want. You can modify the codes to meet your requirements.
I'm trying to train a model and test it, the first step being to generate npy files representing numpy arrays from midi files (as the current dataset uploaded only includes individual midi files). I'm trying the following code (from Testfile.py):
Per the readme, this is of course incorrect as train data should be arrays of shape (1, 64, 84, 1) and in the above I'm generating them with shape (64, 84, 1). How should midi files be properly converted to numpy arrays in the shape (1, 64, 84, 1)?