- To convert to tflite, clone the TensorflowASR repository and build its dependencies
git clone https://github.com/TensorSpeech/TensorFlowASR.git
cd TensorFlowASR
pip3 install -e ".[tf2.8]"
- Download the model weights and config file from here (https://drive.google.com/drive/folders/1rYpiYF0F9JIsAKN2DCFFtEdfNzVbBLHe?usp=sharing)
- Add the downloaded config file to the same directory as the conversion file. ie to
./TensorFlowASR/examples/rnn_transducer/inference/
- Change the code in
gen_tflite_model.py
to the code below