Training my own models

If I would like to modify the model or use new training sets, I can download the whole project to local. 中文教程:https://www.helplib.cn/fansisi/deepspeech-pytorch

Step 1:Create a Virtual Envirnmont

Install Git Large File Storage either manually or through a package-manager if available on your system. Then clone the DeepSpeech repository normally:

cd /anaconda3/envs/deepspeech-train-venv
source ./lib/python3.6/venv/scripts/common/activate      
git clone https://github.com/mozilla/DeepSpeech

# or if I have already downloaded this on my local Mac, I can switch to its path.
cd ~/Desktop/DeepSpeech-master

Step 2:Install packages

Before running the script, there are lot of new packages to be installed.

pip freeze >requirements.txt
pip install -r requirements.txt

sudo pip install --ignore-installed pandas

./bin/run-ldc93s1.sh

Exit

exit: ⌘↩

deactivate

Last updated

Was this helpful?