question-mark
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.

Issue using pre-trained german model

See original GitHub issue

Not entirely sure if I am doing things right, but,

  • installed deepspeech v0.6.1 (pip3 install deepspeech==0.6.1)
  • downloaded pre-trained models for 0.6.1 provided by this repo
  • ran deepspeech with parameters & input audio

Result:

$ deepspeech --model ../model/0.6/output_graph.pb --lm ../model/0.6/lm.binary --trie ../model/0.6/trie --audio ../../test.wav
Loading model from file ../model/0.6/output_graph.pb
TensorFlow: v1.14.0-21-ge77504a
DeepSpeech: v0.6.1-0-g3df20fe
ERROR: Model provided has model identifier 'inpu', should be 'TFL3'

Error at reading model file ../model/0.6/output_graph.pb
Traceback (most recent call last):
  File "/home/pi/deepspeech/deepspeech-6-venv/venv/bin/deepspeech", line 10, in <module>
    sys.exit(main())
  File "/home/pi/deepspeech/deepspeech-6-venv/venv/lib/python3.7/site-packages/deepspeech/client.py", line 113, in main
    ds = Model(args.model, args.beam_width)
  File "/home/pi/deepspeech/deepspeech-6-venv/venv/lib/python3.7/site-packages/deepspeech/__init__.py", line 42, in __init__
    raise RuntimeError("CreateModel failed with error code {}".format(status))
RuntimeError: CreateModel failed with error code 12288

Not so sure what is going wrong here. Any advice?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:22 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
patrickjanecommented, May 30, 2020

Alright, then thanks for your support. Looking forward to the v0.7 model.

1reaction
olafthielecommented, May 29, 2020

As there was no tflite version before, we both don’t have a use case for it. Please head over to the DeepSpeech forum as this is a known problem. And search there before asking questions, this is a known tflite issue:

https://discourse.mozilla.org/t/android-tflite-model-inference-issues/35173

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there a pretrained German Albert / Distilbert model using ...
The deepset.ai German pretrained BERT model with the German word pieces works well but has the common problem of all of the original ......
Read more >
Re-Evaluating GermEval17 Using German Pre-Trained ...
We re-analyzed the complete GermEval17. Task using seven pre-trained BERT models suit- able for German provided by the huggingface transformers library (Wolf et ......
Read more >
Pretrained models — transformers 2.1.1 documentation
Here is the full list of the currently provided pretrained models together with a short presentation of each model. 12-layer, 768-hidden, 12-heads, 110M ......
Read more >
Re Evaluating GermEval17 Using German Pre Trained ...
Matthias Assenmacher, Alessandra Corvonato, Christian HeumannThe lack of a commonly used benchmark data set (collection) such as ...
Read more >
Pretrained German BERT - nlp
Have you checked the huggingface website? They have a list of NLP models, including BERT models trained on the german language.
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found