-
-
Notifications
You must be signed in to change notification settings - Fork 764
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
ImportError: 'speechbrain' must be installed to use 'speechbrain/spkrec-ecapa-voxceleb' embeddings. Visit https://speechbrain.github.io for installation instructions. #1661
Comments
from speaker_verification.py
because spechbrain does NOT have pretrained module |
Currently being look at in PR #1659. |
Did you upgrade your code to 3.1 according to the README?
|
I modified the code to match the readme and it worked, thank you. |
Update diarize.py in according to the pyannote-audio readme: https://github.com/pyannote/pyannote-audio pyannote/pyannote-audio#1661
Change from:
to
Will solve the issue!!! |
The above change from @leminhnguyen was still needed when running the Looks like the change has been made in source but not in the the current pip package. |
Version 3.3.1 fixes this issue. |
Tested versions
System information
ubuntu 18 pyannote.audio==3.1.1
Issue description
When I install pyannote.audio from python, it also installs the speechbrain package, but it doesn't create a pretrained folder. Originally, the old version had a speechbrain folder, and inside it was a pretrained folder. I installed the new version of pyannote while setting up a new venv, and this happened. I copied the contents of the old version's pretrained folder and ran it, but the function pretrainer.load_collected(device="cpu") on line 141 of interpaces.py doesn't expect a value of device. What should I do?
Minimal reproduction example (MRE)
https://colab.research.google.com/drive/1edF4nPYc8CuTa7gAgr-_9opWeQe1LhED?usp=sharing
The text was updated successfully, but these errors were encountered: