MeidanGR / SpeechEmotionRecognition_Realtime

Speech Emotion Recognition (SER) in real-time, using Deep Neural Networks (DNN) of Long Short Memory Term (LSTM).
93 stars 21 forks source link

ValueError in 2_model.ipynb #4

Open ejmfrancisco opened 2 years ago

ejmfrancisco commented 2 years ago

Hi! I am currently working on the second file (2_model.ipynb). I receive 204288 as the maximum sample length.

image

So, I put that value (204288) in the total_length in the preprocessing cell. However, I consecutively receive "ValueError: index can't contain negative values" I tried to add 1 but, still received the same error. May I know how to solve this one?

image

ShehrozWaseem commented 2 years ago

did you got any solution for this I'm also being stucked here ?

vasavdatta12 commented 2 years ago

hey, I am also getting the same error with the negative value error, did anyone get the solution? image

Arveleus commented 2 years ago

Hey guys, did you solve this problem ? I have the same issue

Arveleus commented 2 years ago

@MeidanGR Hello mate, we get this error message. Could you help us ? Thanks for the work

argalasjr commented 1 year ago

you have to uncomment print(file,"\t", len(xt), "\t", rawsound.dBFS, "\t", normalizedsound.dBFS)

and find new max value

then update total_length variable

for our case was total_length = 228864