Age and Gender Classification using Convolutional Neural Networks

Gil Levi

Tal Hassner

The Open University of Israel

Adience examples
Figure 1. Faces from the Adience benchmark for age and gender classification. These images represent some of the challenges of age and gender estimation from real-world, unconstrained images. Most notably, extreme blur (low-resolution), occlusions, out-of-plane pose variations, expressions and more..
Abstract: Automatic age and gender classification has become relevant to an increasing amount of applications, particularly since the rise of social platforms and social media. Nevertheless, performance of existing methods on real-world images is still significantly lacking, especially when compared to the tremendous leaps in performance recently reported for the related task of face recognition. In this paper we show that by learning representations through the use of deep-convolutional neural networks (CNN), a significant increase in performance can be obtained on these tasks. To this end, we propose a simple convolutional net architecture that can be used even when the amount of learning data is limited. We evaluate our method on the recent Adience benchmark for age and gender estimation and show it to dramatically outperform current state-of-the-art methods..

Reference: Gil Levi and Tal Hassner, Age and Gender Classification using Convolutional Neural Networks, IEEE Workshop on Analysis and Modeling of Faces and Gestures (AMFG), at the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), Boston, June 2015

Click here for the PDF
Click here for the BibTex


We provide the convolutional neural network models for age and gender classification used in the paper. If you find our code useful, please add suitable reference to our paper in your work. Downloads include:

What's new
Nov. 21st, 2016:
A 3rd party Tensorflow port of our network by Daniel Pressel is now available on GitHub.

Oct. 30th, 2015:
Git repository added with sample code, meta-data files and instructions.

July 15th, 2015:
Update: To adjust the code snippet to newer versions of Caffe, a small modification of the file is required. A modified version is available here. This update comes in response to issues reported by several people and covered also in the answer to the following Stack Overflow question.

May 5, 2015:
A few minor adjustments were made to the Caffe models in order to better support the new Caffe version. The previous version is still available from

Copyright 2015, Gil Levi and Tal Hassner

The SOFTWARE provided in this page is provided "as is", without any guarantee made as to its suitability or fitness for any particular use. It may contain bugs, so use of this tool is at your own risk. We take no responsibility for any damage of any sort that may unintentionally be caused through its use.

Last update 21st of Nov., 2016