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

🐞 | Import error in speechbrain.pretrained #2436

Closed
AbhinavSingh-21f1002369 opened this issue Feb 28, 2024 · 3 comments
Closed

🐞 | Import error in speechbrain.pretrained #2436

AbhinavSingh-21f1002369 opened this issue Feb 28, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@AbhinavSingh-21f1002369
Copy link

AbhinavSingh-21f1002369 commented Feb 28, 2024

Describe the bug

Hello guys,

I wanted to import EndToEndSLU from speechbrain.pretrained, but it seems there is an error. Anyone who did resolve it earlier?

from speechbrain.pretrained import EndToEndSLU produces error

Expected behaviour

It should have imported easiily.

To Reproduce

Steps to reproduce : https://colab.research.google.com/drive/1XnCba8gDTN2n2Yknn7fjx3zsCI72NG0V?usp=sharing

Environment Details

No response

Output

image image

Additional Context

No response

@AbhinavSingh-21f1002369 AbhinavSingh-21f1002369 added the bug Something isn't working label Feb 28, 2024
@Adel-Moumen
Copy link
Collaborator

Adel-Moumen commented Feb 28, 2024

Hello,

SpeechBrain 1.0 is out and we moved our interfaces in the folder inference. Please see for instance: https://huggingface.co/speechbrain/slu-timers-and-such-direct-librispeech-asr

from speechbrain.inference.SLU import EndToEndSLU
slu = EndToEndSLU.from_hparams("speechbrain/slu-timers-and-such-direct-librispeech-asr")
slu.decode_file("speechbrain/slu-timers-and-such-direct-librispeech-asr/math.wav")

@AbhinavSingh-21f1002369
Copy link
Author

The docs were not updated, was confused there.
Thank you so much.

@mravanelli
Copy link
Collaborator

mravanelli commented Feb 28, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants