Open whatdamath opened 4 years ago
Hmm... seems like calculate_bandwidth is trying to access an item of music that's larger than the length of FilesAudioDataset. Maybe try adding a condition to the while loop to prevent that?
Something like while n_seen < n_samples and idx < len(dataset):
right above line 28 in audio_utils.py
Ah perfect, this worked. Although I also had to lower the sample_length to 131072 - it looks like 11GB is not enough to run this Thanks!
On Mon, May 11, 2020 at 1:03 AM DJ AI notifications@github.com wrote:
Hmm... seems like calculate_bandwidth is trying to access an item of music that's larger than the length of FilesAudioDataset. Maybe try adding a condition to the while loop to prevent that? Something like while n_seen < n_samples and idx < len(dataset): right above line 28 in audio_utils.py
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/openai/jukebox/issues/59#issuecomment-626349949, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBN3EIVIIQ6BHT2K632WMDRQ3F35ANCNFSM4M5HLNBA .
Nice! no problem.
Hi, pretty much a noob here: does anybody know how to fix:
"file "jukebox/sample.py", line 279, in
I'm trying to train a new model using the provided instructions but no matter how many wav files I put in or what length they are I always get the error below:
Running this on a 11GB 1080Ti and had a few CUDA errors before, but with pretrained samples it eventually worked. Here though, it seems to be an error with midpoint being calculated wrong, but despite reading through the code, I can't figure out what's wrong