ELIM_FER
ELIM_FER copied to clipboard
[NeurIPS 2022] The official repository of Expression Learning with Identity Matching for Facial Expression Recognition
ELIM_FER
Optimal Transport-based Identity Matching for Identity-invariant Facial Expression Recognition (NeurIPS 2022)
CVIP Lab, Inha University
Update
- 2022.09.20: Initialize this repository.
Requirements
To install all dependencies, do this.
pip install -r requirements.txt
Datasets
- Download four public benchmarks for training and evaluation (please download after agreement accepted).
(For more details visit website)
- Follow preprocessing rules for each dataset by referring pytorch official custom dataset tutorial.
Training
Just run the below script!
chmod 755 run.sh
./run.sh <method> <gpu_no> <port_no>
-
<method>
:elim
orelim_category
-
<gpu_no>
: GPU number such as 0 (or 0, 1 etc.) -
<port_no>
: port number to clarify workers (e.g., 12345)
-
Note: If you want to try 7-class task (e.g., AffectNet), add
age_script
folder to your train or val. script and turn onelim_category
option.
Evaluation
- Evaluation is performed automatically at each
print_check
point in training phase.
Demo
- Do to
demo
folder, and then feel free to use. - Real-time demo with pre-trained weights
TODO
- [x] Refactoring
- [ ] Upload pre-trained model weights
- [x] Upload demo files
- [x] Upload train/eval files
Note
- In case of Mlp-Mixer, please refer official repository (link)
Citation
If our work is useful for your work, then please consider citing below bibtex:
@misc{kim2022elim,
author = {Kim, Daeha and Song, Byung Cheol},
title = {Optimal Transport-based Identity Matching for Identity-invariant Facial Expression Recognition},
Year = {2022},
Eprint = {arXiv:2209.12172}
}
Contact
If you have any questions, feel free to contact me at [email protected]
.