EmoPy icon indicating copy to clipboard operation
EmoPy copied to clipboard

inaccurate emotion classification

Open octopousprime opened this issue 6 years ago • 5 comments

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.

octopousprime avatar Jul 18 '19 12:07 octopousprime

@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.

xuv avatar Jul 19 '19 09:07 xuv

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.

octopousprime avatar Jul 24 '19 13:07 octopousprime

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

microcosm avatar Feb 20 '20 12:02 microcosm

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.

gri1 avatar Mar 28 '20 21:03 gri1

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

Richardng12 avatar Aug 29 '20 11:08 Richardng12