tyiannak / pyAudioAnalysis

Python Audio Analysis Library: Feature Extraction, Classification, Segmentation and Applications
Apache License 2.0
5.75k stars 1.18k forks source link

list index out of range in audioAnalysis.py, function: regressionFolderWrapper() #353

Open needpeeling opened 2 years ago

needpeeling commented 2 years ago

I get an error calling this function:

_aA.regressionFileWrapper("media/test_files", "svm_rbf","svm_rattlewhine")

error:

_-> 1095 = load_model(regressionmodels[0], True) 1096 1097 # read audio file and convert to mono

IndexError: list index out of range

In my directory "media/test_files" are five .wav file included. Do you have any ideas?

JersssLIN commented 9 months ago

I also have this problem!