pyannote / pyannote-db-voxceleb

VoxCeleb plugin for pyannote.database
http://github.com/pyannote/pyannote-database
Other
28 stars 9 forks source link

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 3 years ago

BoonthichaSaejia commented 3 years ago
---------------------------------------------------------------------------
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 commented 3 years ago

Did you pip install pyannote.db.voxceleb ?

BoonthichaSaejia commented 3 years ago

Yes, I did

On Fri, Oct 29, 2021 at 0:51 Hervé BREDIN @.***> wrote:

Did you pip install pyannote.db.voxceleb ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pyannote/pyannote-db-voxceleb/issues/12#issuecomment-954068705, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKPFUNGP3TP2YQQQ3LC6RADUJGLURANCNFSM5G4VN3GQ .

IpekUyguner commented 2 years ago

have you solved this problem? i also have same.

deGennesMarc commented 11 months ago

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