Training
Python:3.6.9
OS Platform and Distribution:18.04.1-Ubuntu
TensorFlow: v2.3.0-6-g23ad988
DeepSpeech: v0.9.3-0-gf2e9c85
deepspeech-tflite: 0.9.3
The reasoning using the pbmm model is normal, but the reasoning using the tfile model is wrong.
log
(deepspeech-train-venv) root@ip-10-0-1-86:mozilla# deepspeech --model owner-models.pbmm/tflite/output_graph.tflite --audio cat.wav
Loading model from file owner-models.pbmm/tflite/output_graph.tflite
TensorFlow: v2.3.0-6-g23ad988
DeepSpeech: v0.9.3-0-gf2e9c85
Data loss: Corrupted memmapped model file: owner-models.pbmm/tflite/output_graph.tflite Invalid directory offset
Traceback (most recent call last):
File “/root/tmp/deepspeech-train-venv/bin/deepspeech”, line 8, in
sys.exit(main())
File “/root/tmp/deepspeech-train-venv/lib/python3.6/site-packages/deepspeech/client.py”, line 119, in main
ds = Model(args.model)
File “/root/tmp/deepspeech-train-venv/lib/python3.6/site-packages/deepspeech/init.py”, line 38, in init
raise RuntimeError(“CreateModel failed with ‘{}’ (0x{:X})”.format(deepspeech.impl.ErrorCodeToErrorMessage(status),status))
RuntimeError: CreateModel failed with ‘Failed to initialize memory mapped model.’ (0x3000)