-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Training Issue - AssertionError: Midpoint 42164118 of item beyond total length 38873664 #59
Comments
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? |
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 ***@***.***> 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
<#59 (comment)>, 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
The text was updated successfully, but these errors were encountered: