-
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
sample.py throws ModuleNotFoundError #46
Comments
have you run the pip install steps? Also are you sure the correct conda environment is activated? It will revert to base if you re-open the console after closing |
@peterlazzarino yes i did all that. |
Use miniconda - https://docs.conda.io/en/latest/miniconda.html |
I am having the similar problem: Traceback (most recent call last): Has anyone already solve this? |
Did you remember to use the command |
@TimOgden thanks, that solved the problem - module jukebox is found now. Unfortunately, I get a new error message now:
does this also an installation issue? |
@TimOgden I've tried this, but it doesn't help. I added this to sample.py and it went through, but I don't want to write this stuff.
and, I got another error.
Why can't we import jukebox when they're right in front of us? When it's this hard to execute, I'm getting tired of it. |
I changed A to B and it started to pass. A : python jukebox/sample.py but, I got an error. Caught error during NCCL init (attempt 0 of 5): Distributed package doesn't have NCCL built in |
This is the right answer! |
Hi,
this might be easy to fix, I am just missing a detail in the configuration.
After installation without errors, the example code for sampling doesn't run.
python jukebox/sample.py --model=5b_lyrics --name=sample_5b --levels=3 --sample_length_in_seconds=20 --total_sample_length_in_seconds=180 --sr=44100 --n_samples=6 --hop_fraction=0.5,0.5,0.125
throws error:
I understand that sample.py is in the jukebox folder, so I need to execute
python jukebox/sample.py
one level above - but then of course, jukebox cannot be imported.But how is jukebox supposed to be found as module?
Doesn't sample.py have to be outside of the jukebox folder?
The text was updated successfully, but these errors were encountered: