From 91697ace49892619c3433d8e8582ec545fd92e09 Mon Sep 17 00:00:00 2001 From: DanBmh Date: Fri, 3 Jul 2020 17:09:08 +0200 Subject: [PATCH] Update TRAINING.rst Related to #3123 --- doc/TRAINING.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/TRAINING.rst b/doc/TRAINING.rst index 17aa8ac1..f7af448e 100644 --- a/doc/TRAINING.rst +++ b/doc/TRAINING.rst @@ -202,7 +202,7 @@ Refer to the :ref:`usage instructions ` for information on running a Exporting a model for TFLite ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -If you want to experiment with the TF Lite engine, you need to export a model that is compatible with it, then use the ``--export_tflite`` flags. If you already have a trained model, you can re-export it for TFLite by running ``DeepSpeech.py`` again and specifying the same ``checkpoint_dir`` that you used for training, as well as passing ``--export_tflite --export_dir /model/export/destination``. +If you want to experiment with the TF Lite engine, you need to export a model that is compatible with it, then use the ``--export_tflite`` flags. If you already have a trained model, you can re-export it for TFLite by running ``DeepSpeech.py`` again and specifying the same ``checkpoint_dir`` that you used for training, as well as passing ``--export_tflite --export_dir /model/export/destination``. If you changed the alphabet you also need to add the ``--alphabet_config_path my-new-language-alphabet.txt`` flag. Making a mmap-able model for inference ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^