Skip to content

How to load a released PL model in my directory? #9795

Discussion options

You must be logged in to vote

I assume you are talking about this one, right?
https://github.com/SeanNaren/deepspeech.pytorch

Maybe you are getting

ModuleNotFoundError: No module named deepspeech_pytorch

because you didn't install that module into your environment. Follow the instructions on the README page of the repository to install the package, i.e., pip install -e . in the cloned repo folder.

Then in your other projects you can import the deepspeech_pytorch module given that you active the same virtual environment. An so loading a model checkpoint should be able to import that too under the same conditions.

Hope that helps

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ydc123
Comment options

Answer selected by ydc123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment