Online Diarizer
Hi.

Please understand that speaker diarization is a type of pattern recognition system, 
so it does not have 100% accuracy on any dataset and should not be regarded as a bug. 
There is a chance of errors in terms of speaker labels or speaker counts.

However, you can try changing [self.min_frame_per_spk](https://github.com/NVIDIA/NeMo/blob/274a21b492f337702f83f7b82abca338d6c9c09e/nemo/collections/asr/parts/utils/online_clustering.py#L606C9-L606C26) variable which controls "minimum required number of segments to count a speaker" value.
Lowering this value (below default 15)  will increase the chance of counting more speakers.
Check out this `min()` operation at [This line](https://github.com/NVIDIA/NeMo/blob/274a21b492f337702f83f7b82abca338d6c9c09e/nemo/collections/asr/parts/utils/online_clustering.py#L724).

We implemented this threshold because it is very challenging to count the number of speakers in a short audio (less then 15 sec per speaker)

 
  Hi, Thanks for the insights!
I tried it and still got one speaker only. is there an example config file for online clustering? 

Yoav This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. This issue was closed because it has been inactive for 7 days since being marked as stale.
**Describe the bug**

The online diarizer is not working a excpected. when trying it on a file with two speakers it only outputs one as active.
**Steps/Code to reproduce bug**
creating a class instance of : https://github.com/NVIDIA/NeMo/blob/274a21b492f337702f83f7b82abca338d6c9c09e/nemo/collections/asr/models/online_diarizer.py 
and diarize().

There is no wraper code for the class so it might be the case.

**Environment overview (please complete the following information)**

 - Environment location: DOCKER
 - Method of NeMo install: source

**Environment details**

If NVIDIA docker image is used you don't need to specify these.
Otherwise, please provide:
- OS version : UBUNTU 20.04
- PyTorch version 1.12.1+cu116
- Python version 3.8.10

**Additional context**

Add any other context about the problem here.
Example: GPU model RTX A6000
