ibab / tensorflow-wavenet

A TensorFlow implementation of DeepMind's WaveNet paper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FileNotFoundError [WinError2]

harlekin1809 opened this issue · comments

commented

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.