GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - XsLangley/DAM-CNN: a demo code of model DAM-CNN

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
DAMCNN_end2end.py
DAMCNN_end2end.py
 
 
DAMCNN_main.py
DAMCNN_main.py
 
 
DB.rar
DB.rar
 
 
README.md
README.md
 
 
util.py
util.py
 
 

Repository files navigation

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

  • I have appended the pre-processed FER2013 in the file 'DB.rar'. Just extract DB.rar in the current directory. You can access to the original FER2013 in https://www.kaggle.com/c/challenges-in-representation-learning-facial-expression-recognition-challenge/data
  • The model needs to load the pretrained VGG-Face model. The parameters of VGG-Face (in the form of .npy) can be downloaded here. Just place it in the current directory. The original pretrained VGG-Face model can be downloaded here

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.

About

a demo code of model DAM-CNN

Resources

Readme
Activity

Stars

3 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.