mailong25 / self-supervised-speech-recognition

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

wav2letter install problem at Colab #63

Open epona7471 opened 3 years ago

epona7471 commented 3 years ago

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/"

  1. !export USE_CUDA=0
  2. 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.

BakingBrains commented 3 years ago

@epona7471 Were you able to fix this?

detrin commented 2 years ago

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

YaseenEltahir commented 1 year ago

Have you solved this issue? Please share the solution

detrin commented 1 year ago

No I don't have any update on it