Comments (4)
The second error comes from having too little data, you have 15 files and the function calculate_bandwidth
by default iterates over about 600 sec of audio. Try passing a smaller duration to it.
from jukebox.
For the first error, how much CUDA memory do you have? The 5b_lyrics model needs 16GB for the default hps. Try lowering max_batch_size from 3 to say 1 in sample.py?
from jukebox.
Thanks for the answers. I have a GeForce 740M, a low-end GPU, with only 2GB of memory, therefore I guess that's what CUDA has, which is far from ideal.
That's also what the sampling command outputs when it fails to allocate more memory.
RuntimeError: CUDA out of memory. Tried to allocate 44.00 MiB (GPU 0; 1.96 GiB total capacity; 1.83 GiB already allocated; 2.75 MiB free; 1.87 GiB reserved in total by PyTorch)
I'm not too sure what the sampling part is compared to the training part. I think i'll have to read the paper more in depth.
However, I have now more than 800s of audio to work with, but I still get a similar error (now with other values in the AssertionError message) :
AssertionError: Midpoint 21112952 of item beyond total length 20853793
Is there anything I did wrong, or is it just an hardware limitation due to my GPU?
from jukebox.
the function calculate_bandwidth by default iterates over about 600 sec of audio. Try passing a smaller duration to it.
The above error is not due to GPU. Could you try lowering 600 seconds to a smaller value?
Training the small_prior with a batch size of 2, 4, and 8 requires 6.7 GB, 9.3 GB, and 15.8 GB of GPU memory
2GB is perhaps not enough. You may want to make small_prior
smaller in width or depth. For VQ-VQAE training, you may want to decrease --sample_length
from jukebox.
Related Issues (20)
- problems installing required packages HOT 3
- Installation Error,Packages not found HOT 7
- Fine-tuning the prior
- Hudba
- Error
- Just ignore
- Error right at the start of Colab HOT 1
- Changing output permissions
- stuck repeating the last few lines over and over and over and over again
- #0penA1 - #Fu11A1
- Encountering Errors with OpenAI Jukebox in Google Colab HOT 3
- Enhancement feature
- "Installation Error: jukebox package not found on conda channels (Windows 64-bit, Python 3.9.18)" "Unable to Install Jukebox from Conda (conda 23.11.0, Python 3.9.18)" HOT 1
- Syntax error on Colab
- My trackq HOT 1
- Rt
- Te amo
- AROA HOT 1
- Size mismatch
- Ya par tal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jukebox.