Skip to main content

Collection of my python functions for training pytorch models to classify emotion, age, race, gender

Project description


DEmoClassi stands for Demographic (age, gender, race) and Emotions (happy, sad, angry, ...) Classification.

This repository is an attempt to tackle the task of predicting the facial expression, age gender and race prediction from facial images.

As I was planning to train the models on Google Colab platform, I decided to gather all my utility functions/classes in a package I named democlassi which is pip installable via pip install --upgrade democlassi.

The Training is done using Pytorch and pytorch-ignite and more information about the data used, the training process and live prediction using pretrained models and opencv can be found on this page.

Some sample predictions :

png png png png png

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for democlassi, version 0.5.1
Filename, size File type Python version Upload date Hashes
Filename, size democlassi-0.5.1-py3-none-any.whl (10.1 MB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page