GithubHelp home page GithubHelp logo

wanghui-andy / ssr-net_megaage-asian Goto Github PK

View Code? Open in Web Editor NEW

This project forked from b02901145/ssr-net_megaage-asian

0.0 0.0 0.0 8.25 MB

[IJCAI18] SSR-Net: A Compact Soft Stagewise Regression Network for Age Estimation

Python 99.32% Shell 0.68%

ssr-net_megaage-asian's Introduction

SSR-Net_megaage-asian

[IJCAI18] SSR-Net: A Compact Soft Stagewise Regression Network for Age Estimation

Last update: 2018/08/06 (Adding MegaAge-Asian dataset.)

Paper

PDF

https://github.com/shamangary/SSR-Net/blob/master/ijcai18_ssrnet_pdfa_2b.pdf

Authors

Tsun-Yi Yang, Yi-Husan Huang, Yen-Yu Lin, Pi-Cheng Hsiu, and Yung-Yu Chuang

Abstract

This paper presents a novel CNN model called Soft Stagewise Regression Network (SSR-Net) for age estimation from a single image with a compact model size. Inspired by DEX, we address age estimation by performing multi-class classification and then turning classification results into regression by calculating the expected values. SSR-Net takes a coarse-to-fine strategy and performs multi-class classification with multiple stages. Each stage is only responsible for refining the decision of the previous stage. Thus, each stage performs a task with few classes and requires few neurons, greatly reducing the model size. For addressing the quantization issue introduced by grouping ages into classes, SSR-Net assigns a dynamic range to each age class by allowing it to be shifted and scaled according to the input face image. Both the multi-stage strategy and the dynamic range are incorporated into the formulation of soft stagewise regression. A novel network architecture is proposed for carrying out soft stagewise regression. The resultant SSR-Net model is very compact and takes only 0.32 MB. Despite of its compact size, SSR-Net’s performance approaches those of the state-of-the-art methods whose model sizes are more than 1500x larger.

Platform

  • Keras
  • Tensorflow
  • GTX-1080Ti and GTX-1080
  • Ubuntu

Codes

This repository is for MegaAge-Asian datasets. There are three different section of this project.

  • Data pre-processing
  • Training
  • Testing

We will go through the details in the following sections.

Data pre-processing

python TYY_Megaage_asian_create_db.py

Training

  • For SSR-Net
bash run_ssrnet_megaage.sh
  • For MobileNet
bash run_megaage_MobileNet.sh
  • For DenseNet
bash run_megaage_DenseNet.sh

Testing

Create predicted results and calculate CA (cumulative accuracy)

  • For SSR-Net, MobileNet and DenseNet
bash run_CA.sh

ssr-net_megaage-asian's People

Contributors

b02901145 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.