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 - kdhht2334/ELIM_FER: [NeurIPS 2022] The official repository of Expression Learning with Identity Matching for Facial Expression Recognition

BranchesTags
Open more actions menu

Latest commit

 

History

24 Commits
24 Commits

Folders and files

NameName
Last commit message
Last commit date
age_script
age_script
 
 
archs
archs
 
 
common
common
 
 
demo
demo
 
 
mlpmixer_checkpoint
mlpmixer_checkpoint
 
 
old_version
old_version
 
 
pics
pics
 
 
.DS_Store
.DS_Store
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
main.py
main.py
 
 
preprocessing.py
preprocessing.py
 
 
requirements.txt
requirements.txt
 
 
run.sh
run.sh
 
 
run_mmx.sh
run_mmx.sh
 
 
run_resnet.sh
run_resnet.sh
 
 

Repository files navigation

ELIM_FER

Optimal Transport-based Identity Matching for Identity-invariant Facial Expression Recognition (NeurIPS 2022)

PAPER | DEMO

Ubuntu PyThon PyTorch

Daeha Kim, Byung Cheol Song

CVIP Lab, Inha University

Update

  • 2022.09.20: Initialize this repository.

Requirements

  • Python (>=3.8)
  • PyTorch (>=1.7.1)
  • pretrainedmodels (>=0.7.4)
  • Wandb
  • Fabulous (terminal color toolkit)

To install all dependencies, do this.

pip install -r requirements.txt

Datasets

  1. Download four public benchmarks for training and evaluation (please download after agreement accepted).
  • AffectNet
  • Aff-wild
  • Aff-wild2
  • AFEW-VA

(For more details visit website)

  1. 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 or elim_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 on elim_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

  • Refactoring
  • Upload pre-trained model weights
  • Upload demo files
  • 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].

About

[NeurIPS 2022] The official repository of Expression Learning with Identity Matching for Facial Expression Recognition

Topics

domain-shiftfacial-expression-recognitionfacial-expressionsfeature-normalizationhuman-computer-interactionoptimal-transportout-of-distribution-generalizationpytorchreal-time-demovalence-arousal

Resources

Readme
MIT license
Activity

Stars

45 stars

Watchers

1 watching

Forks

6 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — 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.