age-gender-estimation
age-gender-estimation copied to clipboard
Training with LAP dataset
Hello,
I am trying to train the model using the LAP dataset, but I am not sure how to do it.
I downloaded the training dataset with the images and th CVS file. Can you tell me how to change the code and traing the model with this dataset.
Create the model with age prediction output layer and finetune it.
model1 = WideResNet(img_size, depth=depth, k=k)()
model1.load_weights(weight_file)
model2 = Model(inputs=model1.input, outputs=model1.get_layer(name="pred_age").output)
model2.summary()
# finetune model2 with the LAP dataset
I created the .mat file with the lap dataset y do the training only for age but it is giving me realli bad results even in the training set.
Do you have an idea why is nor working?
Did you use cropped face images for training?