All Projects → deepinx → age-gender-estimation

deepinx / age-gender-estimation

Licence: other
A Lightweight and Efficient Method for Face Age and Gender Estimation Implemented in MXNet

Programming Languages

python
139335 projects - #7 most used programming language
Cuda
1817 projects

Projects that are alternatives of or similar to age-gender-estimation

Insightface
State-of-the-art 2D and 3D Face Analysis Project
Stars: ✭ 10,886 (+17745.9%)
Mutual labels:  mxnet, age-estimation
AIML-Human-Attributes-Detection-with-Facial-Feature-Extraction
This is a Human Attributes Detection program with facial features extraction. It detects facial coordinates using FaceNet model and uses MXNet facial attribute extraction model for extracting 40 types of facial attributes. This solution also detects Emotion, Age and Gender along with facial attributes.
Stars: ✭ 48 (-21.31%)
Mutual labels:  mxnet, gender-prediction
Gluon Nlp
NLP made easy
Stars: ✭ 2,344 (+3742.62%)
Mutual labels:  mxnet
kaggle-dstl-satellite-imagery-feature-detection
6th place solution
Stars: ✭ 16 (-73.77%)
Mutual labels:  mxnet
gluon-faster-rcnn
Faster R-CNN implementation with MXNet Gluon API
Stars: ✭ 31 (-49.18%)
Mutual labels:  mxnet
Arcface Multiplex Recognition
适用于复杂场景的人脸识别身份认证系统
Stars: ✭ 200 (+227.87%)
Mutual labels:  mxnet
djl
An Engine-Agnostic Deep Learning Framework in Java
Stars: ✭ 3,080 (+4949.18%)
Mutual labels:  mxnet
Xfer
Transfer Learning library for Deep Neural Networks.
Stars: ✭ 177 (+190.16%)
Mutual labels:  mxnet
CycleGAN-gluon-mxnet
this repo attemps to reproduce Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks(CycleGAN) use gluon reimplementation
Stars: ✭ 31 (-49.18%)
Mutual labels:  mxnet
XKT
Multiple Knowledge Tracing models implemented by mxnet
Stars: ✭ 14 (-77.05%)
Mutual labels:  mxnet
ImageRecognizer-iOS
[this repo is no longer maintained] Neural Network image classifier (inception-bn network architecture), developed via MxNet
Stars: ✭ 51 (-16.39%)
Mutual labels:  mxnet
digital champions deeplearning r mxnet
Showcase for using R + MXNET along with AWS and bitfusion for deep learning.
Stars: ✭ 20 (-67.21%)
Mutual labels:  mxnet
Netron
Visualizer for neural network, deep learning, and machine learning models
Stars: ✭ 17,193 (+28085.25%)
Mutual labels:  mxnet
Densenet
MXNet implementation for DenseNet
Stars: ✭ 28 (-54.1%)
Mutual labels:  mxnet
Bmxnet V2
BMXNet 2: An Open-Source Binary Neural Network Implementation Based on MXNet
Stars: ✭ 199 (+226.23%)
Mutual labels:  mxnet
ResidualAttentionNetwork
A Gluon implement of Residual Attention Network. Best acc on cifar10-97.78%.
Stars: ✭ 104 (+70.49%)
Mutual labels:  mxnet
Thinc
🔮 A refreshing functional take on deep learning, compatible with your favorite libraries
Stars: ✭ 2,422 (+3870.49%)
Mutual labels:  mxnet
Deeplearning Cfn
Distributed Deep Learning on AWS Using CloudFormation (CFN), MXNet and TensorFlow
Stars: ✭ 252 (+313.11%)
Mutual labels:  mxnet
mxnet-retrain
Create mxnet finetuner (retrain) for mac/linux ,no need install docker and supports CPU, GPU(eGpu/cudnn).support the inception,resnet ,squeeznet,mobilenet...
Stars: ✭ 32 (-47.54%)
Mutual labels:  mxnet
FCOS GluonCV
FCOS: Fully Convolutional One-Stage Object Detection.
Stars: ✭ 24 (-60.66%)
Mutual labels:  mxnet

The MXNet Implementation of Face Age and Gender Estimation

This repository contains a lightweight model for face age and gender estimation. The model is very small and efficient about 1MB size, 10ms on single CPU core. Gender accuracy 96% on validation set and 4.1 age MAE.

Two methods (MTCNN and ESSH) are both provided in this repository for face detection and alignment. For easy cases, the results of two methods are almost the same, however, on hard cases the ESSH method has a much better detection results. You can use python test.py --det 0 to choose MTCNN method, or use python test.py --det 1 for ESSH.

Environment

This repository has been tested under the following environment:

  • Python 2.7
  • Ubuntu 18.04
  • Mxnet-cu90 (==1.3.0)

Installation

  1. Prepare the environment.

  2. Clone the repository.

  3. Type make to build necessary cxx libs.

Training

You can download rec format file directly in here: BaiduCloud or GoogleDrive , or package it youself according to the following steps

You can first train on imdb, then fine tune on wiki dataset. Train MobileNet 0.25X on a GPU such as GTX-1080Ti according to the following command

CUDA_VISIBLE_DEVICES='0' python -u train.py --data-dir $DATA_DIR --prefix './models/model' --network m1 --multiplier 0.25 --per-batch-size 128 --lr 0.01 --lr-steps '10000' --ckpt 2

Instead, you can edit train.sh and run sh ./train.sh to train your models.

Testing

  • Download the ESSH model from BaiduCloud or GoogleDrive and place it in ./ssh-model/.

  • You can use python test.py to test the pre-trained models or your own models.

Results

Results of face age and gender estimation (inferenced from model MobileNet 0.25X) are shown below.

License

MIT LICENSE

Acknowledgment

The code is adapted based on an intial fork from the insightface repository.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].