Age Estimation VGG-16
Trained on
IMDB-WIKI and Looking at People Data
Originally released in 2015 as a pre-trained model for the launch of the IMDB-WIKI dataset by the Computer Vision Lab at ETH Zurich, this model is based on the VGG-16 architecture and is designed to run on cropped images of faces only. The model was then fine-tuned on the dataset for the 2015 Looking At People Age Estimation Challenge. An ensemble of these models won first place at the challenge.
Number of layers: 40 |
Parameter count: 134,674,341 |
Trained size: 540 MB |
Examples
Resource retrieval
Get the pre-trained net:
Basic usage
Guess the age of a person from a photograph. First, obtain the trained net:
Obtain the probability distribution over all possible ages:
Plot the probability distribution over possible ages:
The recommended estimator of the age is the mean of the probability mass function:
By default, the mode is used as the estimator:
This net is designed to work with cropped images of faces only. If the photograph is not a facial image, the results may be unexpected:
Crop the photograph:
Guess the age of a person from the cropped image:
Net information
Inspect the number of parameters of all arrays in the net:
Obtain the total number of parameters:
Obtain the layer type counts:
Display the summary graphic:
Export to MXNet
Export the net into a format that can be opened in MXNet:
Export also creates a net.params file containing parameters:
Get the size of the parameter file:
The size is similar to the byte count of the resource object:
Represent the MXNet net as a graph:
Requirements
Wolfram Language
11.2
(September 2017)
or above
Resource History
Reference