Pre-trained model
https://deepspeech.readthedocs.io/en/v0.7.3/USING.html There are models that have been trained, so I can directly use them via download ..../releases files
To get started
First things first, I would like to create a virtual environment.
Here is my code:
# I have already made an environment in my anaconda, so I just need to open it.
$ cd /anaconda3/envs/deepspeech-venv
$ source ./lib/python3.6/venv/scripts/common/activate
Once you have created the environment. You can install the packages.
$ pip install deepspeech-gpu
# Download pre-trained English model files
curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.7.3/deepspeech-0.7.3-models.pbmm
curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.7.3/deepspeech-0.7.3-models.scorer
# Download example audio files
curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.7.3/audio-0.7.3.tar.gz
tar xvf audio-0.7.3.tar.gz
# Transcribe an audio file
deepspeech --model deepspeech-0.7.3-models.pbmm --scorer deepspeech-0.7.3-models.scorer --audio audio/2830-3980-0043.wav
Done!


Exit
deactivate
Last updated
Was this helpful?