Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.26 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.26 KB

Face-Classification

Age, Gender and Race Face Classification

Download dataset

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.

Set up project

Online:

The notebooks can be previewed directly on GitHub without installing any additional software.

Locally:

  • Recommend python version: 3.6+
  • Full list of dependencies can be found at requirements.txt

Install dependencies

  • 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

Start Jupyter Notebook:

Make sure jupyter is using venv python interpreter.

jupyter lab