I am working with FER2013Plus dataset from https://github.com/Microsoft/FERPlus which contains the fer2013new.csv file. This file contains labels for each image in the dataset. An example on labels could be:
(4, 0, 0, 2, 1, 0, 0, 3)
where each dimension is a different emotion. Finally, in their paper https://arxiv.org/pdf/1608.01041.pdf, they converted the labels distribution into probabilities => the new label would become
(0.5, 0, 0, 0.25, 0.125, 0, 0, 0.375)
In other words, the person in the image is happy with probability of 0.5, sad with probability of 0.25 and so on... And the sum of of the probabilities is 1.
Now while training I used tf.nn.softmax_cross_entropy_with_logits_v2
to calculate the loss between my predictions and the labels. Now how to compute the accuracy?
Any help is much appreciated!!