-
Notifications
You must be signed in to change notification settings - Fork 76
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
ZeroDivisionError #3
Comments
i fixed it ..with help ...somewehere above that error it probably writes down: anhd change acced permission for the folder ...on win 10 u dont have enough. |
haha its me again...for some reason this worked and for other reasons it stopped working...idk whats going on ...actually u have to change the batchsize .... try running main.py --batch_size 1 ... and see if it works ..and when it those ..choose a batch size that is smaller than the number of midis u have in the program ...like if u have 1000 choose 50 ..or so not 1...from what i understood one is not good..i think. and the normal patchsize of the program is 64.. idk why it worked before ..but its working for me again ...and if it finds no model ...make an empty file model.ckpt ..in ur save/model folder. |
Creating the model.ckpt file leads to some music being generated. But what does this mean? Is it learning from the files that have been used for training? |
When I launch the program, I've got this error :
" File "D:*\deepmusic\composer.py", line 255, in _main_train
next_batch_test = batches_test[self.glob_step % len(batches_test)] # Generate test batches in a cycling way (test set smaller than train set)
ZeroDivisionError: integer division or modulo by zero "
I've tried with others midi and with the included one but i still get the error even if i got 4 train and 1 test.
I don't see where it come from...
Thanks in advance.
The text was updated successfully, but these errors were encountered: