Skip to content

Promisery/DERFormer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DERFormer: Driver Emotion Recognition Transformer via Dual Feature Enhancement for Driver Monitoring System

This repository is the official implementation of the paper DERFormer: Driver Emotion Recognition Transformer via Dual Feature Enhancement for Driver Monitoring System.

Prepare

Download pretrained weights (ir101.pt, pe.pt and vit.pt) from https://huggingface.co/TTJiang/DERFormer and place them into ./pretrained_weights

Run

python preprocess.py --cache-root Path/to/Cached/Data --mli-der-root Path/to/MLI-DER/Dataset --kmu-fed-root Path/to/KMU-FED/Dataset

python train.py --cache-root Path/to/Cached/Data/MLI-DER

python train.py --cache-root Path/to/Cached/Data/KMU-FED

License

MIT

About

DERFormer: Driver Emotion Recognition Transformer via Dual Feature Enhancement for Driver Monitoring System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages