Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

loading output_graph.tflite deepspeech-tflite result in segmentation fault

See original GitHub issue

When 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:closed
  • Created 3 years ago
  • Comments:17 (14 by maintainers)

github_iconTop GitHub Comments

kaohcommented, Jan 10, 2021

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.

AASHISHAGcommented, Jan 6, 2021

@terler188 : Thank you for reminding. I have now uploaded the tflite model to the drive. Thanks to @koh-osug

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found