Labels wanted
lvaleriu opened this issue · 3 comments
lvaleriu commented
Can you please give us the labels that this model can predict?
From the example in the readme I understand that 5 = male_angry.
What are the other values?
Thank you!
liqixiaoji commented
the method lstm and mlp neetwork,I replaced them with the code,but it can not work,it has:ValueError: Error when checking input: expected dense_1_input to have 2 dimensions, but got array with shape (1239, 130, 1),why?
vinayakpahalwan7 commented
Can you please give us the labels that this model can predict?
From the example in the readme I understand that 5 = male_angry.
What are the other values?Thank you!
0 - female_angry
1 - female_calm
2 - female_fearful
3 - female_happy
4 - female_sad
5 - male_angry
6 - male_calm
7 - male_fearful
8 - male_happy
9 - male_sad
liqixiaoji commented
feeling_list=[]
for item in mylist:
if item[6:-16]=='02' and int(item[18:-4])%2==0:
feeling_list.append('female_calm')
elif item[6:-16]=='02' and int(item[18:-4])%2==1:
feeling_list.append('male_calm')
elif item[6:-16]=='03' and int(item[18:-4])%2==0:
feeling_list.append('female_happy')
elif item[6:-16]=='03' and int(item[18:-4])%2==1:
feeling_list.append('male_happy')
elif item[6:-16]=='04' and int(item[18:-4])%2==0:
feeling_list.append('female_sad')
elif item[6:-16]=='04' and int(item[18:-4])%2==1:
feeling_list.append('male_sad')
elif item[6:-16]=='05' and int(item[18:-4])%2==0:
feeling_list.append('female_angry')
elif item[6:-16]=='05' and int(item[18:-4])%2==1:
feeling_list.append('male_angry')
elif item[6:-16]=='06' and int(item[18:-4])%2==0:
feeling_list.append('female_fearful')
elif item[6:-16]=='06' and int(item[18:-4])%2==1:
feeling_list.append('male_fearful')
elif item[:1]=='a':
feeling_list.append('male_angry')
elif item[:1]=='f':
feeling_list.append('male_fearful')
elif item[:1]=='h':
feeling_list.append('male_happy')
#elif item[:1]=='n':
#feeling_list.append('neutral')
elif item[:2]=='sa':
feeling_list.append('male_sad')
as you can see,item[6:-16] decision feelings,item[18:-4] mean gender
…------------------ 原始邮件 ------------------
发件人: "Vinayak Pahalwan"<notifications@github.com>;
发送时间: 2019年5月27日(星期一) 凌晨4:01
收件人: "crhung/Voice-Emotion-Detector"<Voice-Emotion-Detector@noreply.github.com>;
抄送: "李琪2017"<1184944156@qq.com>; "Comment"<comment@noreply.github.com>;
主题: Re: [crhung/Voice-Emotion-Detector] Labels wanted (#1)
Can you please give us the labels that this model can predict?
From the example in the readme I understand that 5 = male_angry.
What are the other values?
Thank you!
0 - female_angry
1 - female_calm
2 - female_fearful
3 - female_happy
4 - female_sad
5 - male_angry
6 - male_calm
7 - male_fearful
8 - male_happy
9 - male_sad
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.