jukebox icon indicating copy to clipboard operation
jukebox copied to clipboard

FileNotFoundError: [WinError 2] The system cannot find the file specified

Open Kickbub opened this issue 4 years ago • 0 comments

(jukebox) C:\Users\Chris\Documents\jukebox>python jukebox/sample.py --model=5b_lyrics --name=bakamitai --levels=3 --mode=primed --audio_file=C:\Users\Chris\Music\Bakamitai.wav --prompt_length_in_seconds=20 --sample_length_in_seconds=20 --total_sample_length_in_seconds=70 --sr=44100 --n_samples=6 --hop_fraction=0.5,0.5,0.125

Using cuda True {'name': 'bakamitai', 'levels': 3, 'sample_length_in_seconds': 20, 'total_sample_length_in_seconds': 70, 'sr': 44100, 'n_samples': 6, 'hop_fraction': (0.5, 0.5, 0.125)} Setting sample length to 881920 (i.e. 19.998185941043083 seconds) to be multiple of 128 Downloading from gce Traceback (most recent call last): File "jukebox/sample.py", line 279, in fire.Fire(run) File "C:\ProgramData\Anaconda3\envs\jukebox\lib\site-packages\fire\core.py", line 127, in Fire component_trace = _Fire(component, args, context, name) File "C:\ProgramData\Anaconda3\envs\jukebox\lib\site-packages\fire\core.py", line 366, in _Fire component, remaining_args) File "C:\ProgramData\Anaconda3\envs\jukebox\lib\site-packages\fire\core.py", line 542, in _CallCallable result = fn(*varargs, **kwargs) File "jukebox/sample.py", line 276, in run save_samples(model, device, hps, sample_hps) File "jukebox/sample.py", line 181, in save_samples vqvae, priors = make_model(model, device, hps) File "c:\users\chris\documents\jukebox\jukebox\make_models.py", line 191, in make_model vqvae = make_vqvae(setup_hparams(vqvae, dict(sample_length=hps.get('sample_length', 0), sample_length_in_seconds=hps.get('sample_length_in_seconds', 0))), device) File "c:\users\chris\documents\jukebox\jukebox\make_models.py", line 95, in make_vqvae restore_model(hps, vqvae, hps.restore_vqvae) File "c:\users\chris\documents\jukebox\jukebox\make_models.py", line 55, in restore_model checkpoint = load_checkpoint(checkpoint_path) File "c:\users\chris\documents\jukebox\jukebox\make_models.py", line 34, in load_checkpoint download(gs_path, local_path) File "c:\users\chris\documents\jukebox\jukebox\utils\gcs_utils.py", line 36, in download subprocess.call(args) File "C:\ProgramData\Anaconda3\envs\jukebox\lib\subprocess.py", line 339, in call with Popen(*popenargs, **kwargs) as p: File "C:\ProgramData\Anaconda3\envs\jukebox\lib\subprocess.py", line 800, in init restore_signals, start_new_session) File "C:\ProgramData\Anaconda3\envs\jukebox\lib\subprocess.py", line 1207, in _execute_child startupinfo) FileNotFoundError: [WinError 2] The system cannot find the file specified

I have followed the installation instructions on Github. Am I not supposed to use Anaconda? Sorry for noob question.

Kickbub avatar Nov 10 '20 08:11 Kickbub