Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

112 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmotionRecognition

This repository was used to train couple models (ResNet50, CorNET-S) on the AffectNet dataset.

AffectNet: A New Database for Facial Expression, Valence, and Arousal Computation in the Wild” IEEE Transactions on Affective Computing,2017

by Ali Mollahosseini, Behzad Hasani, and Mohammad H. Mahoor. The models have been train on a subset of the dataset using only 8 categories.

You will also find an implementation of the cluster loss from the paper:

"Facial Expression Recognition Based on Weighted-Cluster Loss and Deep Transfer Learning Using a Highly Imbalanced Dataset" Sensors, 2020

by Quan T. Ngo and Seokhoon Yoon

Results

MNIST with cluster loss

We tried to train the cluster loss on a small CNN to visualize the effect of the cluster loss on the MNIST dataset.

MNIST_Clusters

Cluster separation at the last layer (2 features)

MNIST_accurac

Accuracy plot over epochs

MNIST_loss

Loss plot over epochs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages