Giter Club home page Giter Club logo

mlcr's Introduction

MLCR

This is the source code for paper

Multi-label Co-regularization for Semi-supervised Facial Action Unit Recognition.
Xuesong Niu, Hu Han, Shiguang Shan, Xilin Chen
NeurIPS 2019

Environment requirest

This code is based on Python 2.7, Pytorch 0.4.1 and CUDA 8.0.

Database and testing protocol

For EmotioNet database, please refer to this link. Please note that we are only able to download 20,722 manually-labeled face images. We randomly choose 15,000 images as the labeled training set, and the other manually-labeled images are used for testing. We perform the testing three times and report the average performance. Please refer to our paper for more information.

For BP4D database, please refer to this link. We conduct a subject-exclusive 3-fold cross-validation. The unlabeled training images used for experiments on BP4D are taken from the EmotioNet database.

Pre-processing

All the faces are detected and aligned using the SeetaFace Engineer.

Training

In order to train your model, you need to write your own dataloader. The image transforms used for training is in the 'main.py'. Losses used for training is in the loss file and the usage is in the 'main.py'. More details for training can be found in our paper.

Testing

We provided a model trained on EmotioNet for one testing. You can download it from Google Drive or Baidu Drive, and test it using 'main.py'. The results of this model may be silghtly different from the results in our paper because we reported the average performance of the three testings. You can use it as a pre-trained model for your task.

Contact

If you have any problems or any further interesting ideas with this project, feel free to contact me ([email protected]).

If you use this work, please cite our paper

@inproceedings{niu2019multi,
title={Multi-label Co-regularization for Semi-supervised Facial Action Unit Recognition.},
author={Niu, Xuesong and Han, Hu and Shan, Shiguang and Chen, Xilin},
booktitle= {Advances in Neural Information Processing Systems (NeurIPS)},
year={2019}
}

mlcr's People

Contributors

nxsedson avatar

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.