The utk dataset can be obtained from the website https://susanqq.github.io/UTKFace/ and test1.py can be used for converting it into a .mat file
the model is contained in my_model.py
train.py contains the preprocessing code and training
finally predict.py is used to predict the age, sex and race for the images.