mailong25 / self-supervised-speech-recognition

speech to text with self-supervised learning based on wav2vec 2.0 framework
379 stars 114 forks source link

Wav2letter installation error #39

Open mehdihmt opened 3 years ago

mehdihmt commented 3 years ago

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.

mailong25 commented 3 years ago

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

mehdihmt commented 3 years ago

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.

mailong25 commented 3 years ago

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