- Clone Repository
git clone https://github.com/MaryamBoneh/DeepLearning-Course.git
- CD Estimating_Age_Pytorch
- pip install requirements.txt
Run train.py for start training. you should select your device(cpu is default).
like following command:
python train.py --device cuda
python test.py --device cuda --dataset dataset/test
Give the input photo with the --input argument.
python inference.py --device cuda --weight age-estimating-torch.pth --input test_images/image1.png
You can download utkface-new dataset from here.