jmoso13 / jukebox-diffusion Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hey Jeff! This looks really cool! I'm trying to run the Colab notebook but no matter what I supply for context_audio
or set for token_multiplier
, the Generate step always ends abruptly with "EOFError: Ran out of input
". This happens with or without any init_audio
, by the way. For context_audio
I've tried a 5-second WAV file and a 23-second file.
(All my other settings are just the defaults.)
Generate output reads like so:
--seconds-length 8 --context-audio /content/shadow_synth_441.wav --save-dir /content/drive/MyDrive/AI/Jbdiff --project-name jbdiff-fun --levels 12 --noise-style constant --noise-step-size 0.7 --dd-noise-style walk --dd-noise-step-size 0.15 --token-multiplier 4 --update-lowest-context False
Using cuda True
levels: [1, 2]
Loading Level 2
Downloading from azure
Traceback (most recent call last):
File "/content/jukebox-diffusion/sample.py", line 269, in <module>
main()
File "/content/jukebox-diffusion/sample.py", line 262, in main
run(**vars(args))
File "/content/jukebox-diffusion/sample.py", line 94, in run
vqvae, _, _ = make_jb(".", level, batch_size, base_tokens, context_mult, aug_shift, num_workers=12, train=False)
File "/content/jukebox-diffusion/jbdiff/utils.py", line 186, in make_jb
vqvae = make_vqvae(hps, device)
File "/usr/local/lib/python3.10/dist-packages/jukebox/make_models.py", line 95, in make_vqvae
restore_model(hps, vqvae, hps.restore_vqvae)
File "/usr/local/lib/python3.10/dist-packages/jukebox/make_models.py", line 55, in restore_model
checkpoint = load_checkpoint(checkpoint_path)
File "/usr/local/lib/python3.10/dist-packages/jukebox/make_models.py", line 37, in load_checkpoint
checkpoint = t.load(restore, map_location=t.device('cpu'))
File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 1028, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 1246, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
EOFError: Ran out of input
Can you give me some idea of what might be going wrong here, and how I should fix it?
Thanks!
If anyone can get this to work (or create a whl)???
pip install --no-cache-dir --ignore-installed --force-reinstall --no-warn-conflicts numba==0.48.0
Good luck. It needs this older version of numba to work, but the older version causes all sorts of hassles trying to cooperate with the other packages.
Any way to fix this???
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.