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

How can I pass a predefined mapping #57

Closed kafan1986 closed 2 years ago

kafan1986 commented 2 years ago

My audio recording are stereo containing only two speakers. Each one has already been assigned a particular channel. So the mapping will remain constant and predefined. Sometime the mapping logic defined based on both hungarian and greedy are generating incorrect mapping the between speakers.

How can I pass a custom map to the DiarizationErrorRate or GreedyDiarizationErrorRate object?