Gender Prediction VGG-16
Trained on
IMDB-WIKI Data
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.
Number of layers: 40 |
Parameter count: 134,268,738 |
Trained size: 538 MB |
Examples
Resource retrieval
Get the pre-trained net:
Basic usage
Guess the gender of a person from a photograph:
Obtain the probabilities:
This net was designed to work with cropped images of faces. If the photograph is not a cropped image of a face, the results may be unexpected:
Crop the photograph:
Guess the gender 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