Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running #153

Open
halberthj opened this issue Sep 25, 2021 · 1 comment
Open

Error while running #153

halberthj opened this issue Sep 25, 2021 · 1 comment

Comments

@halberthj
Copy link

While running I get the following error :
`(deepspeech) C:\Users\jhiman\deepspeech\mic_vad_streaming>python mic_vad_streaming.py -m C:\Users\jhiman\Downloads\deepspeech-0.9.3-models.scorer -s C:\Users\jhiman\Downloads\deepspeech-0.9.3-models.pbmm
Initializing model...
INFO:root:ARGS.model: C:\Users\jhiman\Downloads\deepspeech-0.9.3-models.scorer
TensorFlow: v2.3.0-6-g23ad988fcd
DeepSpeech: v0.9.3-0-gf2e9c858
ERROR: Model provided has model identifier ' lm ', should be 'TFL3'

Error at reading model file C:\Users\jhiman\Downloads\deepspeech-0.9.3-models.scorer
Traceback (most recent call last):
File "C:\Users\jhiman\deepspeech\mic_vad_streaming\mic_vad_streaming.py", line 224, in
main(ARGS)
File "C:\Users\jhiman\deepspeech\mic_vad_streaming\mic_vad_streaming.py", line 163, in main
model = deepspeech.Model(ARGS.model)
File "C:\Users\jhiman\deepspeech\lib\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)
`

@TheDark
Copy link

TheDark commented Dec 14, 2021

Download and use the .tflite file instead of the .pbmm one:

python mic_vad_streaming.py -m C:\Users\jhiman\Downloads\deepspeech-0.9.3-models.scorer -s C:\Users\jhiman\Downloads\deepspeech-0.9.3-models.tflite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants