Facial expression recognition based on Resnet18 and convolutional Autoencoder. A real time facial expression detector based on YOLOv5.
- Python 3.x
- Pytorch
- Linux
- A CPU or a GPU with CUDA
- Train FER model:
cd ./FER/; python train.py
orbash train.sh
- Predict FER model:
python predict.py
orbash predict.sh
- Test the detector :
cd ..; python detect.py
orbash detect.sh
./FER/
-> Train and evaluate FER models../models_fer/resnet_autoencoder.py
-> The architecture of our model../detect.py
-> The FER detector../video/
-> Put video here which you want to test.
https://github.com/WuJie1010/Facial-Expression-Recognition.Pytorch