MarioRuggieri / Emotion-Recognition-from-Speech

A machine learning application for emotion recognition from speech
Apache License 2.0
132 stars 48 forks source link

IndexError: string index out of range #6

Open flydragon2018 opened 5 years ago

flydragon2018 commented 5 years ago

Loading data from berlin dataset... Error in readAudioFile(): Unknown file type! Traceback (most recent call last): File "emorecognition.py", line 41, in db = Dataset(path,db_type,decode=False) File "/home/zzl/Emotion-Recognition-from-Speech/src/dataset.py", line 18, in init self.get_berlin_dataset(path) File "/home/zzl/Emotion-Recognition-from-Speech/src/dataset.py", line 35, in get_berlin_dataset self.targets.append(classes[audio[5]]) IndexError: string index out of range

returnWOW commented 5 years ago

You need enter a correct file path, I use the path download\wav is work fine. Sorry foy my bad English.