Hello All,
I have trained the DeepSpeech model with my custom dataset with version 0.9.1. After training, I have generated checkpoints and exported a tflite and pb files using the given script.
However, when I run inference using deepspeech-tflite==0.9.1 I get the following error:
(venv) rahul@rahul-rs:~$ deepspeech --model /home/rahul/DS1/output_graph.tflite --audio /home/rahul/x.wav
Loading model from file /home/rahul/DS1/output_graph.tflite
TensorFlow: v2.3.0-6-g23ad988
DeepSpeech: v0.9.1-0-gab8bd3e
Segmentation fault (core dumped)
The inference from .pb using pip3 install deepspeech-gpu works fine. But it crashes when it comes to tflite. As a result, when I run the same model in native client in android studio, the Application is also crashing.
The pre-trained model works absolutely fine. Any suggestions @lissyx ??
Thanks