Coder Social home page Coder Social logo

aman's Introduction

A Novel Micro-Expression Recognition Approach Using Attention-Based Magnification-Adaptive Networks

Mengting Wei, Wenming Zheng, Yuan Zong, Xingxun Jiang, Cheng Lu, Jiateng Liu

In ICASSP 2022 (Download the paper [here])

Directory Structure

project
├── README.md
├── dataset
│   └── load_dataset.py - script to load the dataset for training
├── extract_features
│   ├── resnet.py - script of the Resnet-18 model
│   └── resnet_features.py - script of extracting ME features
├── main
│   ├── config.py - check & change configurations here
│   ├── network.py - AMAN model
│   └── train.py - main script for training and testing
├── utils
│   └── util.py - script of some utils
|   |

Dependices

Current version is tested on:

  • Windows 10 Pro, 64 bit with CUDA 11.4
  • python==3.7.5
  • torch==1.10.2
  • torchvision==0.11.3
  • numpy==1.21.6

Model

Dataset Preparation

  • We use CASME II, SAMM and SMIC-HS for training.
    • Magnify the original frames according to the paper, you can use any techniques such as Eulerian Video Magnification, Lagrangian motion magnification or Learning-based Magnification. We recommend you to use the last one since it can produce less artifacts.
  • To reduce computational cost, extract the features with some former layers of the Resnet-18 and use the features for training and testing. The model is pre-trained on FER+.
  • Demo of magnified images:

Citation

If you find this code useful for your research, please consider citing the following paper:

@inproceedings{wei2022novel,
  title={A Novel Micro-Expression Recognition Approach Using Attention-Based Magnification-Adaptive Networks},
  author={Wei, Mengting and Zheng, Wenming and Zong, Yuan and Jiang, Xingxun and Lu, Cheng and Liu, Jiateng},
  booktitle={ICASSP 2022-2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
  pages={2420--2424},
  year={2022},
  organization={IEEE}
}

If you have any confusions about the code feel free to contact [email protected].

aman's People

Contributors

weimengting avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

aman's Issues

Model

Dear author, due to the lack of data sets, but I am very interested in your work. I wonder if you can provide me with a pre-trained model for reference. Thank you very much! If possible, please contact me with : [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.