Hi, I am developing an Android app which does some on-device speech recognition. I got this working with the pretrained model (0.5.1), but the results weren’t great.
I wanted to do some further training for my use case. I read this thread, so I checked out DeepSpeech 0.5.1 and installed Tensorflow 1.13.1 via pip. The additional training completed successfully and the model seems to work quite well when tested via the command line.
Now, I am unable to export my checkpoint to TFLite. I get the error “Exception: TensorFlow Lite currently doesn’t support control flow ops: Merge, Switch.”
I found some threads stating that this has been fixed in DeepSpeech 0.6, but I also understand from the above linked thread that my 0.5.1 model is not compatible with DeepSpeech 0.6.
I wondered if using Mozilla’s TensorFlow fork would help, so I tried to build that but then had issues with building it, so I wanted to stop and ask before I struggled with that further.
So, is there a way for me to continue training a pretrained model, and then export it as a TFLite model?
Will Mozilla’s fork of TensorFlow help? Should I continue trying to build it?
Thanks in advance.