Open shron1010 opened 3 weeks ago
Check out the pipeline.apply
method https://github.com/pyannote/pyannote-audio/blob/3f4a22f773209410fcd3f5c8bb13e78f49a1aedf/pyannote/audio/pipelines/speaker_diarization.py#L430-L438
The docstring explains how to use num_speakers
and max_speakers
.
If we know exact speakers in wav file (i.e. 2), is it some way to provide it to diarization pipeline? Because library often determine an additional speakers - speaker02, speaker03 and so on. Something like
max_num_speakers
.