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

Dependency errors while running the evaluation notebook for the speech separation uploaded recently #1767

Closed
BNarayanaReddy opened this issue Sep 24, 2024 · 5 comments

Comments

@BNarayanaReddy
Copy link
Contributor

Tested versions

There is a small dependancy error that making unable to instatiate the speech separation pipeline using the command.
from pyannote.audio import Pipeline
pipeline = Pipeline.from_pretrained(
"pyannote/speech-separation-ami-1.0", use_auth_token=True)

The corrected dependency is using pyannote-audio version 3.3 instead of 3.1.1 bcoz, in colab it is installing the pyannote-audio 3.1.1 instead.
Solution :

!pip install -qq speechbrain==0.5.16
!pip install -qq ipython==7.34.0
!pip install -qq ipywidgets openai-whisper whisperx==3.1.5 meeteval
!pip install -qq pyannote.audio[separation]==3.3.0

System information

Google Colab - pyannote-audio 3.1.1

Issue description

Bug, while loading the speech separation pre-trained model

# use the following instead
!pip install -qq pyannote.audio[separation]==3.3.0

Minimal reproduction example (MRE)

https://colab.research.google.com/drive/1aheD77AeF7Eq5jmTCrA5ODEBkOolrWAz?usp=sharing

@hbredin
Copy link
Member

hbredin commented Sep 24, 2024

@clement-pages, can you please have a look and provide a fix?

@BNarayanaReddy
Copy link
Contributor Author

Solution :

!pip install -qq pyannote.audio[separation]==3.3.0

@hbredin
Copy link
Member

hbredin commented Sep 24, 2024

Thanks @BNarayanaReddy. Would you mind opening a PR?

@BNarayanaReddy
Copy link
Contributor Author

BNarayanaReddy commented Sep 24, 2024

yes sure.
Update pyannote-audio installation version number #1768

@BNarayanaReddy
Copy link
Contributor Author

Solved the issue for those who run in google colab.

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

2 participants