Skip to content

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

@BoonthichaSaejia

Description

@BoonthichaSaejia
---------------------------------------------------------------------------
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')

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions