Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.73 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.73 KB

DAM-CNN

the demo code of model DAM-CNN

Brief Introduction

This code is corresponding to the paper: Xie, Siyue, Haifeng Hu, and Yongbo Wu. "Deep Multi-path Convolutional Neural Network Joint with Salient Region Attention for Facial Expression Recognition." Pattern Recognition (2019).

In this code, I just exemplify the training and validation/testing process of DAM-CNN on FER2013 dataset. (Because only FER2013 is open-access and all other datasets mentioned in the paper should be licenced before using them.)

Enviornment Requirements

  • Python 3.4
  • TensorFlow 1.2-gpu
  • Numpy
  • Scipy

Setup

Other Information

  • In the paper, DAM-CNN is trained following a two-stage strategy. In this code, I have improved it so the model can be trained in an end-to-end manner. The training strategy of this code is a little different with the description in our paper. But the classification results of this code are consistent with the accuracy we reported in the paper.
  • The model gets benefit from the code of MTAE.