Age, Gender and Race Face Classification
Create folder 'data' and put dataset age_gender_race.csv inside. Dataset can be downloaded here.
Create folder 'models' and put sklearn pretrained models inside. Download them here
Create folder 'training' and put tensorflow pretrained models inside. Download here.
The notebooks can be previewed directly on GitHub without installing any additional software.
- Recommend python version:
3.6+
- Full list of dependencies can be found at
requirements.txt
- Create virtual environment and install dependencies with the following command:
virtualenv --python=/usr/bin/python3.8 venv
source venv/bin/activate
pip install -r requirements.txt
- Or install using pipenv. Inside the directory, run:
pipenv install
Make sure jupyter is using venv python interpreter.
jupyter lab