-
Notifications
You must be signed in to change notification settings - Fork 102
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
Way to generate more melodies sequences #16
Comments
I'm afraid that's not possible without retraining the model. You can adjust the parameters before training. Line 34 in a379fac
|
Thanks for the reply. I am trying to retrain the model. I have changed the parameter that you have indicated from 50 to 200. If with 50 I obtain 1:30 minutes, I expect to obtain 4 times more with 200. I have followed the instructions in the model/dataset readme file and I have been able to obtain the "processed" folder with 15 files, but it says "Result: 0 samples", is that correct? Or am I doing something wrong? Thank you so much
These are the generated files
|
The dataset should contain more than 10,000 files. I'm not quite sure what went wrong on your machine. |
Where should those 15 thousand files come from? From Spotify? |
It seems you downloaded the repo directly, which only contains an excerpt of the whole dataset. The repo links to a bigger 4.9 GB dataset in its readme. |
Thank you very much for your patience. I already have more than 17 thousand files inside the processed folder. After that I tried to run lofi2lofi_train and it threw an error that it couldn't find the folder 'dataset/processed-spotify-all' %sudo python3 lofi2lofi_train.py Is this what this is expected to do? What files should that output generate? Is it okay to rename the processed folder to processed-spotify-all? How many batch processes should this run? About 17 thousand? |
I've changed MAX_CHORD_LENGTH = 400 in constants.py, I've retrained the model, but I'm still getting songs of 1:30 min.... do I need to change something else for a longer duration? I have tried changing MELODY_PREDICTION_LENGTH, to *4 , but it gives compile error. Of the files generated after the retraining, I only copy the lofi2lofi_decoder.pth to the checkpoints folder, is that correct? Can anybody help me? Thank you so much. |
I've finally been able to retrain the AI. I've made changes to MAX_CHORD_LENGTH and MELODY_PREDICTION_LENGTH hoping to get longer songs but to no avail. In the early stages of training, epoch0 does generate songs up to 20 minutes long, but then as the AI training progresses, it falls to around 1:30 minutes every time it is generated. Perhaps it is due to the input dataset, where the AI learns that the songs should last that minute and a half, and for that reason it does not generate longer songs, and simply the 20-minute ones obtained at the beginning is bad learning or ignorance of the AI . I don't know what else I can change, so I leave the topic here until I see if someone can achieve it, or if it is directly not possible with this model. Thank you so much. |
Hey man, thank you so much for the detailed follow up with your training progress. Looking for help on this, thanks! |
@valientegaston edit |
Heyy |
Thanks for the previous answer. I have tried and it effectively lengthens the duration of the theme, but repeating the same thing over and over again. Is there a way to generate more sequences of different melodies to have a more extensive musical track but not for that reason repetitive?
The text was updated successfully, but these errors were encountered: