pyAudioAnalysis icon indicating copy to clipboard operation
pyAudioAnalysis copied to clipboard

Issues with Speaker Diarization

Open ypirkani opened this issue 4 years ago • 4 comments

Can you help me with this error when doing SpeakerDiarization using pyAudioAnalysis:

from pyAudioAnalysis import audioSegmentation as AS AS.speaker_diarization(filename='sample(3).wav', n_speakers=2)

These are the errors I get:

C:\Users\PycharmProjects\untitled\venv\lib\site-packages\sklearn\discriminant_analysis.py:469:

ChangedBehaviorWarning: n_components cannot be larger than min(n_features, n_classes - 1). Using min(n_features, n_classes - 1) = min(26, 19 - 1) = 18 components.

C:\Users\PycharmProjects\untitled\venv\lib\site-packages\sklearn\discriminant_analysis.py:469:

FutureWarning: In version 0.23, setting n_components > min(n_features, n_classes - 1) will raise a ValueError. You should set n_components to None (default), or a value smaller or equal to min(n_features, n_classes - 1).

Can anyone guide how to fix them

ypirkani avatar May 05 '20 08:05 ypirkani

Getting the same problem here. Got any solution?

arthavmane avatar May 13 '20 12:05 arthavmane

I have also the same problem. How can we solve it? please help

dehghanm avatar Oct 14 '20 09:10 dehghanm

The only way I got it to work was by disabling flds in CLI or by setting 'lda_dim=0'

jinusean avatar Oct 29 '20 10:10 jinusean

The only way I got it to work was by disabling flds in CLI or by setting 'lda_dim=0'

not work for me (

inhuman avatar Nov 11 '22 13:11 inhuman