| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
MotivNet is a model built on Meta-Sapiens and ML-Decoder for the FER task on AffectNet. See Paper
We provide code to run inference on the model and code to train the model on your own data with custom specifications.
For inference, the output labels are shown below
0: Neutral, 1: Happiness, 2: Sadness, 3: Surprise, 4: Fear, 5: Disgust, 6: Anger.
Getting started is very simple.
First, create a new virtual environment with and run pip install -r requirements.txt
Then, download the MotivNet checkpoint from OneDrive. https://buckeyemailosu-my.sharepoint.com/:u:/g/personal/medicharla_2_buckeyemail_osu_edu/EfnsSxS42JNDipAEU45o-bUBsGfXviOOgaWka5LBLBkvBA?e=1SF6v8
Place this checkpoint in the /checkpoints/ folder to start finetuning or running inference on the model (defined in model.py)
To run predictions on a set of images, put all of the images in one folder and use the inference.py file to run your predictions
To train MotivNet for your own custom use case, you need 4 values to pass into the train.py file
| Back | FazBrowse Home | New Git URL |