tyiannak / pyAudioAnalysis

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

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

Open needpeeling opened 3 years ago

needpeeling commented 3 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 1 year ago

I also have this problem!