Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

In this paper, we propose an architecture of Convolutional Neural Network (CNN) which can jointly learn representations for three tasks: smile detection, gender and age classification.

NotificationsYou must be signed in to change notification settings

buiquangmanhhp1999/Age-Gender-Smile-Multitask-Learning

Repository files navigation


In this paper, I propose an architecture of Convolutional Neural Network (CNN) which can jointly learn representations for three tasks: smile detection, gender and age classification.

My model is based on the BKNet architecture. The method used hard parameter sharing, which to reduce the overfit of training separate task.The proposed network takes input from multiple data sources, data were flow through CNN Shared Block which learns joint representations forall tasks from all the sources of data. After the shared block, we separate network into three difference tasks. Each branch then learnstask-specific features and has its own loss calculation method.

Quick start

python demo.py -i image_path      # estimate imagepython demo.py -v video_path      # estimate videopython demo.py                    # video stream

Dependencies

  • python 3.7+
  • tensorflow
  • numpy
  • opencv3.x
  • MTCNN for face detection

Datasets

Firstly, I prepare the training data by merge three datasets. I try to keep the number of training data for each task equally to help have the same impact of each dataset on the model

Trainning

Runtrainning.ipynb. Change your datasets folder links, training parameters inconfig.py.

Evaluation

Runtesting.ipynb to see result on the test datasets

Result

BranchTrainTest
AGE66.06%61.36%
GENDER97.01%93.58%
SMILE99.53%92.80%

Another version

I also build age-gender-estimation based on efficientnets. If you want, please seeage-gender-estimation

Reference

About

In this paper, we propose an architecture of Convolutional Neural Network (CNN) which can jointly learn representations for three tasks: smile detection, gender and age classification.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp