complete project is available at my google drive link "https://drive.google.com/file/d/1u458X0LO26Q-c7Ya0E6SCSnat0IYC3i7/view?usp=sharing".
the dataset link can be accessed at https://s3.ap-south-1.amazonaws.com/arunponnusamy/datasets/gender_dataset_face.zip.
when starting training, open cmd terminal and go to the directory contianing train.py file and type "python train.py -d (path-to-dataset)" and hit enter.