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

inaccurate emotion classification #34

Open
octopousprime opened this issue Jul 18, 2019 · 5 comments
Open

inaccurate emotion classification #34

octopousprime opened this issue Jul 18, 2019 · 5 comments

Comments

@octopousprime
Copy link

Hi
I used the pre-trained 7 emotions model but it gives me the same result (anger = 100%) irrespective of the input image provided.
Can someone please provide me with an explanation of why this is happening?
Thanks in advance.

@xuv
Copy link
Member

xuv commented Jul 19, 2019

@octopousprime Thanks for reaching out and submitting this. It sounds related to #33.

Will see what we can do about this, but it sounds like a bug.

@octopousprime
Copy link
Author

Thanks! I appreciate if you can inform me when would you expect to investigate and resolve this bug; as I have an ongoing research that depends on the accuracy of the results.

@microcosm
Copy link
Contributor

This doesn't look so similar to issue #33, because that issue describes inaccurate results. @octopousprime's issue describes a completely wrong result - 100%

However, this issue has been stale a while. I'm going to close it for now as we are trying to get a handle on the most crucial issues. @octopousprime please can you re-open this if you are still having a problem and we'll find someone to take a look at it - thanks

@gri1
Copy link

gri1 commented Mar 28, 2020

I'm having the same issue, @microcosm. If I just change fermodel_example.py to use all 7 emotions:

target_emotions = ['calm', 'anger', 'happiness', 'surprise', 'disgust', 'fear', 'sadness']

Then I get the following output:

Predicting on happy image...
anger: 100.0%
disgust: 0.0%
fear: 0.0%
happiness: 0.0%
sadness: 0.0%
surprise: 0.0%
calm: 0.0%
Predicting on disgust image...
anger: 100.0%
disgust: 0.0%
fear: 0.0%
happiness: 0.0%
sadness: 0.0%
surprise: 0.0%
calm: 0.0%
Predicting on anger image...
anger: 98.3%
disgust: 0.0%
fear: 1.0%
happiness: 0.7%
sadness: 0.0%
surprise: 0.0%
calm: 0.0%

Therefore it seems this model can only predict anger.

@microcosm microcosm reopened this Mar 30, 2020
@Richardng12
Copy link

Leaving a comment to say I have the same problem.

Trained a model on FERPlus dataset using Conv_dropout_model.
Relevant model plus emotion_map was exported using the methods in neuralnets

When predicting using fer_model_example, all images return 100% on one of the emotions. E.g anger -100%
Either the model trained is incorrect, or the method used to predict is incorrect - not quite sure which one

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

5 participants