- Code for affectnet-yolo-format dataset downloading in colab or working with it directly in kaggle
- PyTorch model creation, training, validation and testing
- Export ONNX model from the pytorch model
- onnex model validation and testing
- The main.py file has the FastAPi script for the local deployment
- make sure to update the images folder and the model paths in the file
- Install FactAPi: pip install fastapi uvicorn
- run: uvicorn main:app --reload
https://www.kaggle.com/datasets/fatihkgg/affectnet-yolo-format
PyTorch models: https://drive.google.com/drive/folders/12-tpSJAc-tq1bDYKwN5tfhYQOdIUVzuX?usp=drive_link
ONNX models: https://drive.google.com/drive/folders/128PDDXSYdEv0ytusLmlcfwD60Hi02Je-?usp=drive_link
The "Facial Expression Detection AI Model" file provides a comparison of different models.