Emotion-Recognition-from-Speech
Emotion-Recognition-from-Speech copied to clipboard
ValueError: could not broadcast input array from shape (34,366) into shape (34)
I get this error message in extract_fearures
I also get this error, have you solve it?
I download the Berlin dataset and saved it in a folder called download. I went into the src folder and ran the following command:
python emorecognition.py -d 'berlin' -p /home/nandhini/Project/download/wav/ -e -l
and I came across this error:
/usr/local/lib/python2.7/dist-packages/pydub/utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Loading data from berlin dataset...
Saving berlin dataset info to file...
Number of dataset samples: 535
Traceback (most recent call last):
File "emorecognition.py", line 59, in
Help me out!
This problem reason: pyAudioAnalysis update method stFeatureExtraction to return two value.
How to fix: modify F by F[0]
-> Fglobal.append(np.concatenate((np.mean(F[0],axis=1),np.std(F[0],axis=1))))
Sorry for my bad english.