Skip to content
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

FileNotFoundError [WinError2] #381

Open
harlekin1809 opened this issue May 25, 2019 · 0 comments
Open

FileNotFoundError [WinError2] #381

harlekin1809 opened this issue May 25, 2019 · 0 comments

Comments

@harlekin1809
Copy link

Hi!
Does anyone get a FileNotFoundError when trying to run train.py? I have absolutely no clue what could cause this. If I run: python train.py --data_dir=corpus --logdir=log

This error occurs:
File "Y:\TensorFlowStuff\wavenet\tensorflow-wavenet\wavenet\audio_reader.py", line 158, in thread_main
for audio, filename, category_id in iterator:
File "Y:\TensorFlowStuff\wavenet\tensorflow-wavenet\wavenet\audio_reader.py", line 59, in load_generic_audio
audio, _ = librosa.load(filename, sr=sample_rate, mono=True)
File "C:\venv\lib\site-packages\librosa\core\audio.py", line 119, in load
with audioread.audio_open(os.path.realpath(path)) as input_file:
File "C:\venv\lib\site-packages\audioread_init_.py", line 107, in audio_open
backends = available_backends()
File "C:\venv\lib\site-packages\audioread_init_.py", line 86, in available_backends
if ffdec.available():
File "C:\venv\lib\site-packages\audioread\ffdec.py", line 108, in available
creationflags=PROC_FLAGS,
File "C:\venv\lib\site-packages\audioread\ffdec.py", line 94, in popen_multiple
return subprocess.Popen(cmd, *args, **kwargs)
File "C:\Users\Johannes Neis\AppData\Local\Programs\Python\Python37\Lib\subprocess.py", line 775, in init
restore_signals, start_new_session)
File "C:\Users\Johannes Neis\AppData\Local\Programs\Python\Python37\Lib\subprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden
(System can not find stated file)

I'm using Win10, Python 3.7 and tensorflow-gpu>=1.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant