That’s definitively what @reuben feared, the ordering of the inputs / outputs nodes is not guaranteed and there’s no mention of it in the doc (or I missed it). Pay attenton to the “Input node name”. In your case, you seems to have an exported model with input_node
being properly fed, but then it explains why the output layer is not the good one, and instead of getting the 28-dimensions logits, we get some of the intermediate state.
139|walleye:/ $ LD_LIBRARY_PATH=/data/local/tmp/arm64/ /data/local/tmp/arm64/deepspeech --model /sdcard/deepspeech/ldc93s1.tflite --alphabet /sdcard/deepspeech/alphabet.txt --audio /data/local/tmp/LDC93S1.wav -t
DeepSpeech: v0.4.1-5-g8dff77e
Input node name: input_node
audio_format=1
num_channels=1
sample_rate=16000
bits_per_sample=16
res.buffer_size=93594
she had your dark suit in greasy wash water all year
cpu_time_overall=2.05880
walleye:/ $ LD_LIBRARY_PATH=/data/local/tmp/arm64/ /data/local/tmp/arm64/deepspeech --model /sdcard/deepspeech/model_0.4.1.tflite --alphabet /sdcard/deepspeech/alphabet.txt --audio /data/local/tmp/LDC93S1.wav -t
DeepSpeech: v0.4.1-5-g8dff77e
Input node name: previous_state_c
audio_format=1
num_channels=1
sample_rate=16000
bits_per_sample=16
res.buffer_size=93594
Segmentation fault
139|walleye:/ $