Tested versions
- Python Version 3.13
- Numpy version <= 1.26.4
- pyannote.audio <= 3.3.1
System information
MacOS 15.6.1
Issue description
In pyannote/audio/pipelines/speaker_diarization.py
Permalink to code
Line 403
clustered_segmentations = np.NAN * np.zeros(
should use
clustered_segmentations = np.nan * np.zeros(
according to https://numpy.org/doc/1.26/reference/constants.html
It creates an error when calling
Minimal reproduction example (MRE)
ask-if-needed