self-supervised-speech-recognition icon indicating copy to clipboard operation
self-supervised-speech-recognition copied to clipboard

Wav2letter installation error

Open mehdihmt opened this issue 4 years ago • 3 comments

Hi there I am following the instructions in 'Install instruction' section but when I run this

!pip install -e .

I get the following error

file:///content/self-supervised-speech-recognition/libs/wav2letter/bindings/python Installing collected packages: wav2letter Running setup.py develop for wav2letter ERROR: Command errored out with exit status 1: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/content/self-supervised-speech-recognition/libs/wav2letter/bindings/python/setup.py'"'"'; __file__='"'"'/content/self-supervised-speech-recognition/libs/wav2letter/bindings/python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output

Any idea how can I fix this issue? Also I tried to remove build file in the wav2letter repo but not working again.

mehdihmt avatar Mar 11 '21 23:03 mehdihmt

Please refer https://github.com/mailong25/self-supervised-speech-recognition/issues/37

mailong25 avatar Mar 12 '21 01:03 mailong25

Thanks for your guidance.

And I have another question, how long it takes for model to predict a wav file let's say about 10s. It it good for production?

Also how we can use the prediction mode as voices stream throughout microphone?

Thanks in advance.

mehdihmt avatar Mar 14 '21 11:03 mehdihmt

Around 0.8s using Tesla T4. I haven't look at the streaming part

mailong25 avatar Mar 15 '21 04:03 mailong25