Issue using pre-trained german model
See original GitHub issueIssue Description
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:
- Created 3 years ago
- Comments:22 (5 by maintainers)
Top 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 >
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 Free
Top 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
Alright, then thanks for your support. Looking forward to the v0.7 model.
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