Open siberiansun opened 4 years ago
Steps to make it work:
cd GIT_REPOSITORY
python3 -m venv .
source ./bin/activate
pip install -r requirements-server.txt
pip install deepspeech-gpu # Or deepspeech
python server.py --model ../models/ # I have it outside of git repo
deepspeech is running fine on my WSL. Trying to point the server to the right directory but it won't recognize. I tried different paths but still the same. Is there anything special?
python deepspeech-websocket-server/server.py --model deepspeech-0.5.1-models/ -l -t Initializing model... 2019-10-29 PM 04:44:28.804: main: INFO:(): ARGS.model: deepspeech-0.5.1-models/output_graph.pb
2019-10-29 PM 04:44:28.805: main: INFO: (): ARGS.alphabet: deepspeech-0.5.1-models/alphabet.txt
Traceback (most recent call last):
File "deepspeech-websocket-server/server.py", line 60, in
model = deepspeech.Model(ARGS.model, N_FEATURES, N_CONTEXT, ARGS.alphabet, BEAM_WIDTH)
AttributeError: 'module' object has no attribute 'Model'