Age and Gender Classification Using Convolutional Neural Networks
Published in IEEE Workshop on Analysis and Modeling of Faces and Gestures (AMFG), at the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), Boston, 2015
Recommended citation: 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, 2015.
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.
Downloads
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:
- We now provide a git repository to help reproduce our results.
- Caffe model for age classification and deploy prototext.
- Caffe model for gender classification and deploy prototext.
- The mean image.
- A Gist page for our trained models, now appears in the BVLC/Caffe Model Zoo.
- A 3rd party Tensorflow reimplementation of our age and gender network. This was implemented by a 3rd party, Daniel Pressel
What’s New
21-November-2016:
A 3rd party Tensorflow port of our network by Daniel Pressel is now available on GitHub.30-October-2015:
Git repository added with sample code, meta-data files and instructions.15-July-2015:
Update: To adjust the code snippet to newer versions of Caffe, a small modification of the io.py 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.
Copyright and disclaimer
Copyright 2015, Gil Levi and Tal Hassner