-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
After quantizing and converting midi files to npy using generate_audio.ipynb, I try to start training but data_utils cannot reshape my data into the appropriate shape for training. I believe that data_util.pad() is trying to reshape the data into a much larger dimension than possible. How do I fix this issue?
File ".StyleNet/data_util.py", line 43, in batch
input_batch, output_batch, seq_len = self.pad(input_batch, output_batch)
File ".StyleNet/data_util.py", line 96, in pad
sequence_X = np.reshape(sequence_X, [int(current_batch*mini_batches), int(max_lens), self.input_size])
ValueError: cannot reshape array of size 43400 into shape (217,200,176)
Metadata
Metadata
Assignees
Labels
No labels