Reputation: 147
First of all, I'm new to the Deep Learning platform, please correct me if I did any mistake.
I'm trying to implement the age detection by using DEX method. As of now my understand is that, they tried to train a CNN weight model using VGG-16 architechture. I'm using IMDB_WIKI dataset as they suggest in their paper.
I'm using TensorFlow, Keras to train my weight model in Python3 language.
My Steps to train the model(I just starts with the IMDB set):
My experiment start from here :)
Can any one please help me to understand this paper properly, please ?
Thank you.
Upvotes: -2
Views: 257
Reputation: 1665
It is already implemented in deepface package for python
#!pip install deepface
from deepface import DeepFace
obj = DeepFace.analyze("img1.jpg", actions = ["age", "gender"])
print(obj)
The model is trained based on the instructions of DEX paper. It builds a VGG model in the background and loads pre-trained weights. Besides, it runs on TensorFlow framework and Keras APIs.
Upvotes: 0
Reputation: 7148
"Also add a dropout layer on the top of output layer(frankly don't know how it is working)" - That is just plainly wrong. A dropout layer sets multiplies the output with 0, making the activation and the gradient 0. If you use this as your final layer with k percent, then your result will be rubbish in k percent of cases, e.g. dropping your accuracy. Just remove it and it should be better.
Upvotes: 1