项目介绍

usef-kh/fer 是一个托管在 GitHub 上的开源项目,主要使用 Jupyter Notebook 编写,目前获得 111 个 Star、39 次 Fork。

仓库全名
usef-kh/fer
Star 数
111
Fork 数
39
未关闭 Issue
2

README 摘要

Facial Emotion Recognition (FER) This work is published on arXiv Our final model checkpoint can be found here Overview In this work, we achieve the highest single-network classification accuracy on FER2013. We adopt the VGGNet architecture, rigorously fine-tune its hyperparameters, and experiment with various optimization methods. To our best knowledge, our model achieves state-of-the-art single-network accuracy of…

完整内容见 GitHub 原始 README 或本页 。

常见问题

fer 用什么语言开发?

主要使用 Jupyter Notebook 编写,目前有 111 个 Star。

如何获取 fer 的源码?

可以直接克隆仓库:git clone https://github.com/usef-kh/fer.git,默认分支为 master;安装与运行步骤见仓库 README。

fer 最近还在维护吗?

仓库最近一次更新为 2023年5月8日,当前有 2 个未关闭 Issue;Star 数为 111,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Code for the paper "Facial Emotion Recognition: State of the Art Performance on FER2013"

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
191
价值分
78
活跃状态
活跃

语言占比

Jupyter Notebook
Python

README

Facial Emotion Recognition (FER)

PWC

This work is published on arXiv

Our final model checkpoint can be found here

Overview

In this work, we achieve the highest single-network classification accuracy on FER2013. We adopt the VGGNet architecture, rigorously fine-tune its hyperparameters, and experiment with various optimization methods. To our best knowledge, our model achieves state-of-the-art single-network accuracy of 73.28 % on FER2013 without using extra training data.

Architecture

Architecture

Tuning

In tuning, we experiment with several deifferent optimizers, learning schedulers and run a grid search over all parameters. Some of our results are shown below.

Optimizers Schedulers
Optimizers Schedulers

Confusion Matrix

Saliency Maps

Visualizing the information captured inside deep neural networks helps describe how they differentiate between different facial emotions. A saliency map is a common technique used in visualizing deep neural networks. By propagating the loss back to the pixel values, a saliency map can highlight the pixels which have the most impact on the loss value. It highlights the visual features the CNN cancapture from the input; thus, allowing us to better understand the importance of each feature in the original image on the final classification decision.

Saliency Maps

Installation

To use this repo, create a conda environment using environment.yml or requirements.txt

# from environment.yml (recommended)
conda env create -f environment.yml

# from requirements.txt
conda create --name <env> --file requirements.txt

Download the offical fer2013 dataset, and place it in the outmost folder with the following folder structure datasets/fer2013/fer2013.csv

Usage

To train your own version of our network, run the following

python train.py network=vgg name=my_vgg

To change the default parameters, you may also add arguments such as bs=128 or lr=0.1. For more details, please refer to utils/hparams.py

评论

暂无评论