Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 2.31 KB

README.md

File metadata and controls

20 lines (19 loc) · 2.31 KB

Training and examples

This directory contains mobile application, several auxiliary Python files and the following folders and Jupyter Notebooks:

  • ABAW: training classifier on top of our emotional features for the third and fourth ABAW challenges
  • affectnet: training code ofor emotional features, including
    • train_emotions-pytorch.ipynb: the main file in this repository. It contains the training of our EmotiEffNet models, such as EmotiEffNet-B2 and classification of emotional features for AFEW and VGAF datasets. It is necessary to run preprocessing of the datasets from train_emotions.ipynb, AFEW_train.ipynb and VGAF_train.ipynb
    • train_emotions.ipynb: the training of TensorFlow emotional model such as mobilenet_7
  • AFEW_train.ipynb: initial preprocessing of the AFEW dataset from EngageWild challenge and training a classifier on top of the pre-trained TensorFlow emotional model
  • VGAF_train.ipynb: initial preprocessing of the VGAF dataset from EngageWild challenge and training a classifier on top of the pre-trained TensorFlow emotional model
  • train_faces_torch.ipynb: pre-training of facial recognition models on the VGGFace2 dataset.
  • train_ramas.ipynb: the processing of RAMAS dataset and training code for classifiers on top of our models (both PyTorch and TensorFlow)
  • video_summarizer.ipynb: processing of recording of online conference with facial clustering and creation of gif files with emotions of every face
  • display_emotions.ipynb: examples of usages of our models (both PyTorch and TensorFlow) and visualization of their predictions using GradCam
  • mobile_app: A mobile application which can be used for predicting user emotions. If you want to run our mobile application, please, run the following scripts inside mobile_app folder:
    python to_tflite.py
    python to_pytorchlite.py
    
  • personalized_models: Containis jupyter notebooks for creating personalized engagement detection models.