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

'speechbrain' must be installed to use 'speechbrain/spkrec-ecapa-voxceleb' embeddings. #1677

Open
ijean opened this issue Mar 27, 2024 · 3 comments

Comments

@ijean
Copy link

ijean commented Mar 27, 2024

Tested versions

pyannote.audio version 3.1.1
speechbrain 1.0.0

System information

Windows 11 x64

Issue description

Hello,
I've successfully installed pyannote-audio (accepted the licenses) and was able to do speaker diarization on an audio file with two speakers.

I try to follow one of your tutorials https://github.com/pyannote/pyannote-audio/blob/develop/tutorials/speaker_verification.ipynb

The code crashes at:

model = PretrainedSpeakerEmbedding(
    "speechbrain/spkrec-ecapa-voxceleb",
    device=torch.device("cuda"))

with 'speechbrain' must be installed to use 'speechbrain/spkrec-ecapa-voxceleb' embeddings. Visit https://speechbrain.github.io for installation instructions.

I've installed speechbrain with "pip install speechbrain" but I still get the same error.

Any suggestion ?

Thanks for all your great work,
Jean

Minimal reproduction example (MRE)

https://github.com/pyannote/pyannote-audio/blob/develop/tutorials/speaker_verification.ipynb

@ijean
Copy link
Author

ijean commented Mar 27, 2024

I found a temporary workaround:

pip uninstall speechbrain
pip install speechbrain==0.5.16

@davidlee1102
Copy link

pip install speechbrain==0.5.16

Amazing, I faced with the problem also, and thank you for your solution

@ahmetkipkip
Copy link

I found a temporary workaround:

pip uninstall speechbrain
pip install speechbrain==0.5.16

That works, thanks

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

3 participants