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

ValueError: Could not find any protocol for "VoxCeleb" database. Please refer to pyannote.database documentation to learn how to define them: https://github.com/pyannote/pyannote-database #12

Open
BoonthichaSaejia opened this issue Oct 28, 2021 · 4 comments

Comments

@BoonthichaSaejia
Copy link

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/pyannote/database/__init__.py in get_database(database_name, **kwargs)
    118     try:
--> 119         database = DATABASES[database_name]
    120 

KeyError: 'VoxCeleb'

During handling of the above exception, another exception occurred:

ValueError                                Traceback (most recent call last)
2 frames
/usr/local/lib/python3.7/dist-packages/pyannote/database/__init__.py in get_database(database_name, **kwargs)
    134             )
    135             msg = msg.format(name=database_name)
--> 136         raise ValueError(msg)
    137 
    138     return database(**kwargs)

ValueError: Could not find any protocol for "VoxCeleb" database. Please refer to pyannote.database documentation to learn how to define them: https://github.com/pyannote/pyannote-database

I got error like the above and this is what I put in my database.yml

Databases:

  VoxCeleb:
    - /content/drive/MyDrive/2021_AIRAK/voxceleb/voxceleb1/dev/wav/{uri}.wav
    - /content/drive/MyDrive/2021_AIRAK/voxceleb/voxceleb1/test/wav/{uri}.wav

and this is how I call the protocol

protocol = get_protocol('VoxCeleb.SpeakerVerification.VoxCeleb2')

@hbredin
Copy link
Member

hbredin commented Oct 28, 2021

Did you pip install pyannote.db.voxceleb ?

@BoonthichaSaejia
Copy link
Author

BoonthichaSaejia commented Oct 28, 2021 via email

@IpekUyguner
Copy link

have you solved this problem? i also have same.

@deGennesMarc
Copy link

Hello,
I've encountered a similar issue as described in this thread and would appreciate any guidance or updates that might be available. I'm using the following versions of the pyannote suite:
pyannote-audio: 3.0.0
pyannote-database: 5.0.1
pyannote-db-voxceleb: 1.3.1

@hbredin @Rachine @BoonthichaSaejia @IpekUyguner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants