pyAudioAnalysis
pyAudioAnalysis copied to clipboard
ValueError: The number of classes has to be greater than one; got 1 class
I am receiving this Error in audioTrainTest.py . This is mainly occurs in audio with no silence (or very a little silence)
Same here when using silence_removal function. Any solution?
Same here when using silence_removal function. Any solution?
Maybe it has something to do with the inputs you feed the function with. At first glance, I computed st_win = 5 and st_step = 5 (just to try), and I got the same error as yours. But then I replaced them by st_win = 0.05 and st_step = 0.025, and it worked.