A Pytorch Neural Network that classifies face images by gender (male, female)
SETUP: At first, I highly recomend using PyCharm.
- Download Python 3.8, open cmd, and type 'pip install poetry'.
- Clone the repository.
- After cloning the repository, create a new project in PyCharm and select the repo folder.
- Click '' and add new interpreter at right down, after that, click add local interpreter.
- Click Poetry envitoment, select your python base interpreter and the poetry (you installed at 1.).
- On PyCharm project cmd, type 'poetry update and run', and all the packages should be installed.
TRAIN: You can create your own dataset and than train the model, or run with the dataset provided. To do so, you just need to enter the scripts folder "gender reco", and run "python train.py epochs_value dir/to/train dir/to/test".
PREDICT: After training the model, you can make some predicts with your own photos, you just need to enter the scripts path, and run "python predict.py dir/to/model image/path"
NOTES: Please, if you notice any problem, just let me know.