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

Error in Docker run #111

Open
KonstantinosTro opened this issue Oct 12, 2018 · 0 comments
Open

Error in Docker run #111

KonstantinosTro opened this issue Oct 12, 2018 · 0 comments

Comments

@KonstantinosTro
Copy link

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

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