I am rather new to all of this, so please forgive my questions. I am very interested in using the repository at https://github.com/soroushmehr/sampleRNN_ICLR2017 to train a model with 33 hours of audio that I have put into a single .wav file (that I’m unsure what exactly to do with), and produce AI generated music. I would be interested in adding to my 33 hour .wav file for future training sessions. In the meantime, I believe I have been successful in installing all of the dependencies on my CUDA enabled device (Windows 10, Intel Core i7 - 16GB Memory - NVIDIA GeForce RTX 2070 - 512GB SSD + 1TB+8GB Hybrid Hard Drive , Alienware 17 laptop) but when i try to run the two_tier.py command, I get an invalid syntax error at line 25
Experiment will start at:"
I’ve attempted to see if I can change the code in two_tier.py but when I ran a test of the code without the “:” I still received the same error on the same line, still under quotation mark. Not sure if that’s even the right way to go about this.
Anyway, I could use more clarificatoin with the “Training” section of the repository to better understand this process. I feel like I don’t see when I’m supposed to enter specific parameters for the output files I am hoping to generate, or where I even designate the 33-hour long wave file as the dataset (I’ve named it preprocess_all_audio.wav so that I don’t have to actually change much of the code itself), and I imagine missing where I’m supposed to input values (such as the length of this 33 hour, 33 minute, 52 second .wav file) could easily result in invalid syntax errors. FYI I have python37 in my path.
Would appreciate any help anyone had to offer
Thanks and best regards,
EDIT: The error above was due to the fact the script was written for Python 2.6 not Python 3. The errors in this post have been resolved although the project itself isn’t yet completed, it no longer concerns this orginal link, but a fork of the repository that can be found here: https://github.com/Cortexelus/dadabots_sampleRNN. I was able to get my 33 hour file split into 8 second .flac files throuh the two tier method, however it seems I have unrecognized argments in two_tier32k.py for --n_secs 240 --n_seqs 100