root@b344bfbeb103:~/speech-to-text-wavenet# python recognize.py --file asset/data/LibriSpeech/test-clean/1089/134686/1089-134686-0000.flac
Traceback (most recent call last):
File "recognize.py", line 51, in
wav, _ = librosa.load(tf.sg_arg().file, mono=True, sr=16000)
File "/usr/local/lib/python2.7/dist-packages/librosa/core/audio.py", line 107, in load
with audioread.audio_open(os.path.realpath(path)) as input_file:
File "/usr/local/lib/python2.7/dist-packages/audioread/init.py", line 78, in audio_open
return rawread.RawAudioFile(path)
File "/usr/local/lib/python2.7/dist-packages/audioread/rawread.py", line 49, in init
self._fh = open(filename, 'rb')
IOError: [Errno 21] Is a directory: '/root/speech-to-text-wavenet'
Hello I pulled the docker image and run a docker container when I am trying to run
python recognize.py --file asset/data/LibriSpeech/test-clean/1089/134686/1089-134686-0000.flac
I get the following error
root@b344bfbeb103:~/speech-to-text-wavenet# python recognize.py --file asset/data/LibriSpeech/test-clean/1089/134686/1089-134686-0000.flac Traceback (most recent call last): File "recognize.py", line 51, in
wav, _ = librosa.load(tf.sg_arg().file, mono=True, sr=16000)
File "/usr/local/lib/python2.7/dist-packages/librosa/core/audio.py", line 107, in load
with audioread.audio_open(os.path.realpath(path)) as input_file:
File "/usr/local/lib/python2.7/dist-packages/audioread/init.py", line 78, in audio_open
return rawread.RawAudioFile(path)
File "/usr/local/lib/python2.7/dist-packages/audioread/rawread.py", line 49, in init
self._fh = open(filename, 'rb')
IOError: [Errno 21] Is a directory: '/root/speech-to-text-wavenet'
any feedback would be great
thanks Costas