This repository contains Tensorflow training code for the CVPR 2021 paper:
For details see Facial Action Unit Detection with Transformers by Geethu Miriam Jacob, Bjorn Stenger If you use this code for a paper please cite:
@inproceedings{jacob2021facial,
title={Facial Action Unit Detection With Transformers},
author={Jacob, Geethu Miriam and Stenger, Bjorn},
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
pages={7680--7689},
year={2021}
}
Download pretrained models (BP4D dataset) from the following links:
Pre-trained model fold1
Pre-trained model fold2
Pre-trained model fold3
python inference.py
First, clone the repository locally:
git clone https://github.com/RIT/FAU_transformers.git
Then, install the packages in requirements file:
pip install -r requirements.txt
python Prepare_data.py
python main.py
This repository is released under the Apache 2.0 license as found in the LICENSE file.
We welcome your pull requests! Please see CONTRIBUTING.md and CODE_OF_CONDUCT.md for more info.