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

wav2letter install problem at Colab

Open epona7471 opened this issue 3 years ago • 4 comments

Below is my coding

https://github.com/epona7471/YoonKang.github.io/blob/main/install.ipynb

As guided at other issues, I uninstalled colab cuda 11.0 and reinstalled a cuda 10.1

and any other suggested stuff to debug, I still get an error. (1. os.environ['KENLM_ROOT_DIR'] = "/content/drive/MyDrive/Code/wav2vec2/self-supervised-speech-recognition/libs/kenlm/" 2. !export USE_CUDA=0 3. Delete 'build' folder everytime I start '!pip install -e .'

Log data is below.

Obtaining file:///content/drive/My%20Drive/Code/wav2vec2/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 io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/content/drive/My Drive/Code/wav2vec2/self-supervised-speech-recognition/libs/wav2letter/bindings/python/setup.py'"'"'; file='"'"'/content/drive/My Drive/Code/wav2vec2/self-supervised-speech-recognition/libs/wav2letter/bindings/python/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.

epona7471 avatar Oct 18 '21 18:10 epona7471

@epona7471 Were you able to fix this?

BakingBrains avatar Nov 19 '21 06:11 BakingBrains

I run into the same exact issue. I suppose it is due to the fact that wav2letter now needs flashlight as a dependency. I will try to solve this issue on my own. If you want and we can collaborate together, I am motivated to dockerize the whole repo at least for CPU

detrin avatar Jan 13 '22 14:01 detrin

Have you solved this issue? Please share the solution

YaseenEltahir avatar Feb 27 '23 06:02 YaseenEltahir

No I don't have any update on it

detrin avatar Feb 27 '23 11:02 detrin