Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Emotion_ferplus output labels #62

Closed
anirudhacharya opened this issue May 23, 2018 · 3 comments
Closed

Error in Emotion_ferplus output labels #62

anirudhacharya opened this issue May 23, 2018 · 3 comments

Comments

@anirudhacharya
Copy link
Member

The labels mentioned in the models readme is this -
emotion_table = {'neutral':0, 'happiness':1, 'surprise':2, 'sadness':3, 'anger':4, 'disgust':5, 'fear':6, 'contempt':7}

It does not match with the labels mentioned in the dataset source
(0=Angry, 1=Disgust, 2=Fear, 3=Happy, 4=Sad, 5=Surprise, 6=Neutral)

Can this be clarified @ebarsoum

@ebarsoum
Copy link

@anirudhacharya for FER+ we relabeled the Kaggle dataset with more epople from crowd source and added Contempt. The new label is in https://github.com/Microsoft/FERPlus

@anirudhacharya
Copy link
Member Author

@ebarsoum So I would be right in taking these as actual labels -
{'neutral':0, 'happiness':1, 'surprise':2, 'sadness':3, 'anger':4, 'disgust':5, 'fear':6, 'contempt':7}

And taking the output as activations which need to pass through a softmax function to get the probability distribution of the different emotions?

@mx-iao
Copy link
Contributor

mx-iao commented Jun 6, 2018

@anirudhacharya Yes, you will need to route the output of the model through a softmax function to get the probabilities across the 8 classes (this ferplus model uses the above 8 classes and not the original 7)

@mx-iao mx-iao closed this as completed Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants