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

bug in pytorch_deep_speech #2043

Closed
doosenn opened this issue Feb 27, 2023 · 2 comments
Closed

bug in pytorch_deep_speech #2043

doosenn opened this issue Feb 27, 2023 · 2 comments

Comments

@doosenn
Copy link

doosenn commented Feb 27, 2023

I installed the latest DeepSpeech from https://github.com/SeanNaren/deepspeech.pytorch, and when I use art.estimators.speech_recognition.PyTorchDeepSpeech, it raises NotImplementedError("Only DeepSpeech version 2 and DeepSpeech version 3 are currently supported."). The lastest DeepSpeech.base appears to be <class 'pytorch_lightning.core.module.LightningModule'>, not <class 'pytorch_lightning.core.lightning.LightningModule'>.

@doosenn doosenn closed this as completed Feb 27, 2023
@doosenn doosenn reopened this Feb 27, 2023
@beat-buesser
Copy link
Collaborator

Hi @doosenn Thank you very much for reporting this issue and providing a possible solution! Does changing this line

elif str(DeepSpeech.__base__) == "<class 'pytorch_lightning.core.lightning.LightningModule'>":

to

        elif str(DeepSpeech.__base__) == "<class 'pytorch_lightning.core.module.LightningModule'>":

solve the issue for you?

@beat-buesser
Copy link
Collaborator

Closing because of inactivity, please reopen if still current.

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