pyAudioAnalysis
pyAudioAnalysis copied to clipboard
Issues with Speaker Diarization
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
Getting the same problem here. Got any solution?
I have also the same problem. How can we solve it? please help
The only way I got it to work was by disabling flds in CLI or by setting 'lda_dim=0'
The only way I got it to work was by disabling flds in CLI or by setting 'lda_dim=0'
not work for me (