loading output_graph.tflite deepspeech-tflite result in segmentation fault
See original GitHub issueWhen loading the tflite version in deepspeech-tflite
version 0.9.2 and also 0.9.0 I get an segmentation fault SIGSEGV. Can this be replicated?
from deepspeech import Model
model = 'output_graph.tflite'
ds = Model(model)
What could be the issue? I do not see any stacktrace or useful information how to find the source of the problem.
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (14 by maintainers)
Top Results From Across the Web
Segmentation fault (core dumped) - TFLite - Stack Overflow
I faced something similar, my interpreter object was giving Segmentation fault (core dumped) error. On debugging I found out that the issue ...
Read more >Segmentation Fault (Core Dumped) during inference using ...
The inference from .pb using pip3 install deepspeech-gpu works fine. But it crashes when it comes to tflite. As a result, when I...
Read more >Segfault while invoking inference in TFLite model on ...
I put some prints, the model is loaded correctly (input_details and output_details give me the correct output) and seems the problem is in...
Read more >How to diagnose and locate segmentation faults in x86 ...
Let us load the core dump along with the target executable as shown in the following command. Loading the executable along with the...
Read more >Segmentation Fault in OvxlibDelegate when Benchmar...
Segmentation Fault in OvxlibDelegate when Benchmarking TensorFlow Lite Model ... #6 0x0000fffff7ecb324 in tflite::Interpreter::Invoke() () from ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will close this one now. I will create a pull request soon for some updates for some scripts and the README. The steps from the README are not working anymore with DeepSpeech 0.9.3. I had also added DeepSpeech and KenLM as submodules, which make the checkout more straight forward and is always using the version which was tested against this project.
@terler188 : Thank you for reminding. I have now uploaded the tflite model to the drive. Thanks to @koh-osug