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

EncoderClassifier from Speechbrain wrong import path. #167

Open
timothy-geiger opened this issue Mar 14, 2024 · 0 comments
Open

EncoderClassifier from Speechbrain wrong import path. #167

timothy-geiger opened this issue Mar 14, 2024 · 0 comments

Comments

@timothy-geiger
Copy link

The current import path for the EncoderClassifier class is incorrect in unit 6 notebook "Fine-tuning SpeechT5".

It points to speechbrain.pretrained instead of the correct path, which is speechbrain.inference.speaker (see: https://huggingface.co/speechbrain/spkrec-ecapa-voxceleb#compute-your-speaker-embeddings).

So changing

from speechbrain.pretrained import EncoderClassifier

to

from speechbrain.inference.speaker import EncoderClassifier

worked for me.

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

1 participant