From 39a963af9038f6aa07773a064e00bc7104166c7f Mon Sep 17 00:00:00 2001 From: Olaf Thiele Date: Tue, 8 Sep 2020 14:54:08 +0200 Subject: [PATCH 1/2] Update TRAINING.rst --- doc/TRAINING.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/TRAINING.rst b/doc/TRAINING.rst index 7274ef5c..39005c60 100644 --- a/doc/TRAINING.rst +++ b/doc/TRAINING.rst @@ -12,11 +12,17 @@ Prerequisites for training a model Getting the training code ^^^^^^^^^^^^^^^^^^^^^^^^^ -Clone the DeepSpeech repository: +Clone the master branch from Github: .. code-block:: bash git clone https://github.com/mozilla/DeepSpeech + +Switch to latest release (e.g. 0.8.2) as master is under development: + +.. code-block:: bash + + git checkout tags/v0.8.2 Creating a virtual environment ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ From a2e88a30de2310bd45f6445afd46461a2214ecb1 Mon Sep 17 00:00:00 2001 From: Olaf Thiele Date: Tue, 8 Sep 2020 15:32:23 +0200 Subject: [PATCH 2/2] More compact version --- doc/TRAINING.rst | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/doc/TRAINING.rst b/doc/TRAINING.rst index 39005c60..50828ac2 100644 --- a/doc/TRAINING.rst +++ b/doc/TRAINING.rst @@ -12,17 +12,13 @@ Prerequisites for training a model Getting the training code ^^^^^^^^^^^^^^^^^^^^^^^^^ -Clone the master branch from Github: +Clone the latest released stable branch from Github (e.g. 0.8.2, check `here `_ for current version) to start with as the master branch is under active development and might produce errors: .. code-block:: bash - git clone https://github.com/mozilla/DeepSpeech + git clone --branch v0.8.2 https://github.com/mozilla/DeepSpeech -Switch to latest release (e.g. 0.8.2) as master is under development: - -.. code-block:: bash - - git checkout tags/v0.8.2 +If you plan on committing code or you want to report bugs, please use the master branch. Creating a virtual environment ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^