#3806·DeepSpeech

How to import deepspeech model in local environment or google colab?

Author: afsara-benCreated Aug 22, 2024Updated Aug 22, 2024

I can run deepspeech using

!deepspeech --model deepspeech-0.9.3-models.pbmm --scorer deepspeech-0.9.3-models.scorer --audio audio.wav

but if I try to do import deepspeech it gives the error

ModuleNotFoundError: No module named 'deepspeech'

I have done pip install deepspeech and using python3.7 so it shouldn't be a compatibility issue.