pyannote / pyannote-metrics

A toolkit for reproducible evaluation, diagnostic, and error analysis of speaker diarization systems
http://pyannote.github.io/pyannote-metrics
MIT License
183 stars 30 forks source link

pyannote-metrics.py diarization TypeError: get_protocol() got an unexpected keyword argument 'progress' #51

Closed MugenTrip closed 3 years ago

MugenTrip commented 3 years ago

Description

I had already created the database from here: https://github.com/pyannote/pyannote-audio/tree/master/tutorials/data_preparation and I am trying to reproduce the result from here: https://github.com/pyannote/pyannote-audio/tree/master/tutorials/pipelines/speaker_diarization but in the final step when I am using the pyannote-metrics I get this error TypeError: get_protocol() got an unexpected keyword argument 'progress'

Steps/Code to Reproduce

The steps I follow are the indicated ones. And when i use this command:

pyannote-metrics.py diarization --collar=0.5 --skip-overlap AMI.SpeakerDiarization.MixHeadset ${TRN_DIR}/apply/latest/AMI.SpeakerDiarization.MixHeadset.test.rttm

I get this error:

Traceback (most recent call last): File "/usr/local/bin/pyannote-metrics.py", line 579, in preprocessors=preprocessors) TypeError: get_protocol() got an unexpected keyword argument 'progress'

Versions

-->pip freeze | grep pyannote pyannote.audio==1.1.1 pyannote.core==4.1 pyannote.database==4.0.4 pyannote.metrics==3.0.1 pyannote.pipeline==1.5.2

MugenTrip commented 3 years ago

pyannote-metrics 2.3 was installed but it was undetectable (that's why the command was pyannote-metrics.py) . I use: pip uninstall pyannote-metrics twice to erase both 2.3 and 3.0.1 and then I install the proper one(3.0.1) again.