PrashanthaTP / audio-emotion-detector

Detection of emotion in audio using Machine Learning(SVM)
3 stars 3 forks source link

Which librosa and sklearn versions shoult it be? #1

Open MothWeb opened 1 year ago

MothWeb commented 1 year ago

I noticed that it mentioned that I was supposed to use and elder version of sklearn, but which version exactly should i use? I got an issue "No such file or directory: 'SVM_emotion_clf_24.pkl'", is that related? Thx for rely in advance!

PrashanthaTP commented 1 year ago

Hello @MothWeb,

Below mentioned versions should work

librosa==0.8.0
scikit-learn==0.21.3

All the dependencies are mentioned in requirements.txt (this was added to repo after this issue)

"No such file or directory: 'SVM_emotion_clf_24.pkl'", is that related?

This is because the file SVM_emotion_clf_24.pkl was not present in the repo Now it has been pushed (7b34cc14014b)


At the time of this project, It was missed to track and add the dependencies along with code files. I tried to run the project with the package versions mentioned in requirements.txt. It seems to work with some warnings.

The code was written to work mostly with the audio inputs from Ravdess dataset. So there might be lot of errors/warnings which should be visible in the terminal if any for input files from different source.

MothWeb commented 1 year ago

Cool! Thanks a lot for your such a detailed reply and new push.