Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLND

Contrastive Learning Distillation of Non-target categories for Facial Expression Recognition

Overall_framework

This is a PyTorch implementation of the paper "Contrastive Learning Distillation of Non-target Categories for Facial Expression Recognition." The overall framework is shown in the Figure above.

Before running this repository, you should store the dataset in the folder "data" according to the specified format.

  • Stage-I: joint training using contrastive learning and supervised learning

    python cldn_stage_i.py --data <your data folder name>

  • Stage-II: Self-distillation with Non-target categories KL-Divergence loss

    python cldn_stage_ii.py --teacher_ckpt <your checkpoints path> --data <you data folder name>

About

PyTorch implementation for CLDN

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages