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 - quangvnai/me_recognition: CapsuleNet for Micro-expression Recognition (IEEE FG 2019)

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
capsule
capsule
 
 
datasets
datasets
 
 
outputs
outputs
 
 
trained
trained
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
get_result_log.py
get_result_log.py
 
 
result_log.csv
result_log.csv
 
 
result_log_reproduced.csv
result_log_reproduced.csv
 
 
smic_processing.py
smic_processing.py
 
 
train_me_loso.py
train_me_loso.py
 
 
train_me_loso_baseline.py
train_me_loso_baseline.py
 
 

Repository files navigation

CapsuleNet for Micro-expression Recognition

Description

This is the source code for the paper CapsuleNet for Micro-expression Recognition joining the second Facial Micro-Expression Grand Challenge for Micro-expression Recognition Task. If you find this code useful, please kindly cite the our paper as follows:

# Bibtex
@INPROCEEDINGS{Quang2019Capsulenet,
  author={N. V. {Quang} and J. {Chun} and T. {Tokuyama}},
  booktitle={2019 14th IEEE International Conference on Automatic Face   Gesture Recognition (FG 2019)}, 
  title={CapsuleNet for Micro-Expression Recognition}, 
  year={2019},
  volume={},
  number={},
  pages={1-7},}




# Plain text
N. V. Quang, J. Chun and T. Tokuyama, "CapsuleNet for Micro-Expression Recognition," 2019 14th IEEE International Conference on Automatic Face & Gesture Recognition (FG 2019), Lille, France, 2019, pp. 1-7, doi: 10.1109/FG.2019.8756544.

The log file result

result_log.csv.

# the reproduced log file result
> `result_log_reproduced.csv`.

Some missing and invalid clips

There are 7 clip files which are missing or invalid.

  • The below clips don't exist in the downloaded datasets
smic/HS_long/SMIC_HS_E/s03/s3_ne_03 not exists
smic/HS_long/SMIC_HS_E/s03/s3_ne_20 not exists
smic/HS_long/SMIC_HS_E/s04/s4_ne_05 not exists
smic/HS_long/SMIC_HS_E/s04/s4_ne_06 not exists
smic/HS_long/SMIC_HS_E/s09/s9_sur_02 not exists
  • The invalid clips in which the apex frames are out of onset-offset duration
samm/28/028_4_1
samm/32/032_3_1

Requirements

  • Python 3
  • PyTorch
  • TorchVision
  • TQDM

Usage

Run the following script to reproduce the result in the log file.

python train_me_loso.py
python get_result_log.py

Project Structure

  • smic_processing.py: Preprocess the SMIC dataset: detect the apex frames.
  • train_me_loso.py: Perform LOSO cross-validation on our proposed model.
  • train_me_loso_baseline.py: Perform LOSO cross-validation on baseline models (ResNet18, VGG11).
  • get_result_log.py: Write the result log file from the pickle file.
  • capsule: The package for building CapsuleNet and Loss.

About

CapsuleNet for Micro-expression Recognition (IEEE FG 2019)

Topics

capsulecapsule-networkcapsulenetcasme2fg2019micro-expression-recognitionsammsmic

Resources

Readme
Activity

Stars

131 stars

Watchers

2 watching

Forks

28 forks
Report repository

Releases

Packages

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.