Merge pull request #3080 from mozilla/install-instructions

Remove --force-reinstall from training code install
This commit is contained in:
Reuben Morais 2020-06-18 14:38:08 +02:00 committed by GitHub
commit 188a6f2c1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -44,6 +44,6 @@ RUN pip3 install --upgrade pip==20.0.2 wheel==0.34.2 setuptools==46.1.3
# - No need for the decoder since we did it earlier
# - There is already correct TensorFlow GPU installed on the base image,
# we don't want to break that
RUN DS_NODECODER=y DS_NOTENSORFLOW=y pip3 install --upgrade --force-reinstall -e .
RUN DS_NODECODER=y DS_NOTENSORFLOW=y pip3 install --upgrade -e .
RUN ./bin/run-ldc93s1.sh

View File

@ -47,7 +47,9 @@ Install the required dependencies using ``pip3``\ :
cd DeepSpeech
pip3 install --upgrade pip==20.0.2 wheel==0.34.2 setuptools==46.1.3
pip3 install --upgrade --force-reinstall -e .
pip3 install --upgrade -e .
Remember to re-run the last ``pip3 install`` command above when you update the training code (for example by pulling new changes), in order to update any dependencies.
The ``webrtcvad`` Python package might require you to ensure you have proper tooling to build Python modules: