I am new to NLP and deepspeech. My PoC project involves, recognising a small set of words (e.g. YES, NO, DONE and numericals). And have it run on android devices. In our step by step journey, I first set-up deepspeech on my laptop and used it to infer recorded audio. That worked out fine. Then, I built the native clients following the instructions given in: native_client for android (arm-64). Following that, I build the sample java app provided deepspeeh github repo. And added all the required files as suggested on: native client - java
As of now, I was using the pre-trained model provided by deepspeech, had it converted to tflite and using the same.
Test device: Google pixel 1
However, while running the app inference, I get following error:
07-08 09:19:32.032 31883-31883/org.mozilla.deepspeech E/libdeepspeech: TensorFlow: v1.13.1-0-g6612da8951
07-08 09:19:32.032 31883-31883/org.mozilla.deepspeech D/libdeepspeech: TensorFlow: v1.13.1-0-g6612da8951
07-08 09:19:32.032 31883-31883/org.mozilla.deepspeech E/libdeepspeech: DeepSpeech: v0.5.1-0-g4b29b78
07-08 09:19:32.032 31883-31883/org.mozilla.deepspeech D/libdeepspeech: DeepSpeech: v0.5.1-0-g4b29b78
07-08 09:19:32.035 31883-31883/org.mozilla.deepspeech E/tflite: tensorflow/lite/kernels/mfcc.cc:75 NumDimensions(inputRate) != 1 (0 != 1)
Node number 2 (Mfcc) failed to prepare.
07-08 09:20:04.085 31883-31883/org.mozilla.deepspeech A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x96 in tid 31883 (illa.deepspeech), pid 31883 (illa.deepspeech)
07-08 09:20:04.103 31883-31883/org.mozilla.deepspeech A/libc: crash_dump helper failed to exec