All models

emotion_ferplus

A custom VGG13 that reads 64x64 face crops and scores eight emotions, trained on crowd-sourced FER+ labels.

Image classification · 36 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (41 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
8.8M
Operations
36
Framework
PyTorch
Recurrent
No
Published
ICMI 2016
Cited by
921 (as of 17 October 2026)
Authors
Emad Barsoum, Cha Zhang, Cristian Canton Ferrer, Zhengyou Zhang
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m4641
Graph hash
0fe03f9e1d05a6c67d9e9f9e469f2a3e92fd8ba38681b3069f7b9ce34b97e1e1
Skeleton hash
ff03863e62f6cf2b563703d350b445a074a8cdbd3f94e0fc4ab4bfac557c7136
Architecture hash
c77d2e9eb1bf2eb0f14dd4371624a663bc784567c632f343a33d2a53f57d2300
Diagram SHA-256
2b0f18b63e37c69a5dca837fc33f88c3d03129b45821576f25b6f12a68c771e9
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This is the FER+ emotion recognition network from the ONNX model zoo: a deep convolutional neural network for emotion recognition in faces. The paper behind it is less about the architecture than about labels, demonstrating how to learn a deep convolutional neural network from noisy labels, using facial expression recognition as an example. The authors had 10 taggers label each input image and compared four approaches to utilizing the multiple labels: majority voting, multi-label learning, probabilistic label drawing, and cross-entropy loss. The traditional majority voting scheme does not perform as well as the last two approaches that fully leverage the label distribution.

The network is a custom VGG13 with 10 convolution layers, interleaved with max pooling and dropout layers. The input is a gray scale image at 64×64 resolution and the output is 8 emotion classes: neutral, happiness, surprise, sadness, anger, disgust, fear and contempt. After the input layer come 2 convolution layers with 64 kernels of size 3 × 3, then max pooling and a dropout layer with a rate of 25%, a structure that repeats with more layers and kernels before 2 dense layers of 1024 hidden nodes each followed by 50% dropout. Although the FER+ training set has only about 35k images, the dropout layers are effective in avoiding overfitting.

The zoo model was trained in CNTK using the cross entropy training mode, expects input of shape (Nx1x64x64), and outputs a (1x8) array of scores that should be routed through a softmax. The accompanying FER+ annotations relabel the standard Emotion FER dataset so that each image has 10 crowd-sourced taggers, which lets researchers estimate an emotion probability distribution per face. The best schemes, probabilistic label drawing and cross-entropy loss, were over 1% better in accuracy than majority voting, and the network performs well on most emotions except disgust and contempt because the training set has very few examples of those two.

Key idea. A custom VGG13 trained on the FER+ relabeling of FER, where 10 taggers per image give a label distribution, showing that training against that distribution beats the traditional single label from majority voting.

  • FER+
  • FERPlus
  • emotion_ferplus
  • emotion-ferplus
  • FER+ VGG13
  • VGG13
  • facial expression recognition
  • emotion recognition
  • FER2013
  • ONNX model zoo
  • crowd-sourced label distribution
  • CNTK

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{barsoum2016trainingdeepnetworksfacial,
      title={Training Deep Networks for Facial Expression Recognition with Crowd-Sourced Label Distribution}, 
      author={Emad Barsoum and Cha Zhang and Cristian Canton Ferrer and Zhengyou Zhang},
      year={2016},
      eprint={1608.01041},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1608.01041}, 
}