๐ | Import error in speechbrain.pretrained
AbhinavSingh-21f1002369 opened this issue ยท 3 comments
AbhinavSingh-21f1002369 commented
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
Additional Context
No response
Adel-Moumen commented
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 commented
The docs were not updated, was confused there.
Thank you so much.
mravanelli commented
Please, update SpeechBrain to the latest version (SpeechBrain 1.0) that we
just released
โฆOn Wed, Feb 28, 2024 at 10:57โฏAM AbhinavSingh ***@***.***> wrote:
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*
Relevant Log Output
<img width="798" alt="image" src="https://github.com/speechbrain/speechbrain/assets/84432889/71d568c2-3fe2-4df2-ad5d-61d4e2ef0f08">
<img width="407" alt="image" src="https://github.com/speechbrain/speechbrain/assets/84432889/1fdb86e6-5954-44d4-8370-d09bc25b6491">
Additional Context
*No response*
โ
Reply to this email directly, view it on GitHub
<#2436>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA2ZVVPRVPQQWDTBF4QM2TYV5HVNAVCNFSM6AAAAABD6JHCGOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2TSMRYHE4TEMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>