From 6ccbbede090df1afa96861ae06ff0eaba86e3488 Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Wed, 17 Jun 2020 15:26:31 +0200 Subject: [PATCH] Remove --force-reinstall from training code install No longer needed since we started publishing ds_ctcdecode on PyPI. --- Dockerfile.train.tmpl | 2 +- doc/TRAINING.rst | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile.train.tmpl b/Dockerfile.train.tmpl index 6243c575..9e9c9b64 100644 --- a/Dockerfile.train.tmpl +++ b/Dockerfile.train.tmpl @@ -40,6 +40,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 diff --git a/doc/TRAINING.rst b/doc/TRAINING.rst index b7e3014b..978caef1 100644 --- a/doc/TRAINING.rst +++ b/doc/TRAINING.rst @@ -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: