0

Im trying to use mozilla deepspeech to transcribe text however im running into issues importing the Model module. here is my code

from deepspeech.model import model
model_file_path='deepspeech-0.9.3-models.pbmm'
lm_file_path='deepspeech-0.9.3-models.scorer'
beam_width=100
lm_alpha=0.93
lm_beta=1.18
model=Model(model_file_path)
model.enableExternalScorer(lm_file_path)

here is the error

ImportError: DLL load failed while importing _impl: The specified module could not be found.

im using jupytr notebook for context

asked Dec 27, 2023 at 15:44

1 Answer 1

1

The issue was the fact that I was using python version 3.10, deepspeech supports python up to version 3.7 so in order to use deepspeech one would need to downgrade the the pythonversion in the environment to 3.7 and below

answered Dec 28, 2023 at 14:52
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.