Git Product home page Git Product logo

caffe-moon's Introduction

caffe-moon: Face attributes predict with Mixed Objective Optimization

Introduction

This repo provide a solution for face attributes prediction, I design a tiny neural network with Mixed Objective Optimizition, And trained on celebA face database with mis-aligned face. I get 89+% accuracy, better than paper's result. The trained model is only 4+M size.

network structure

This network structure is inspired by yolo-tiny image

Usage

Train

The script for prepare the sample will update after I clean up my code.
1, Put this repo in "caffe-root/examples/"
2, Modify the path in "solver" , "train_val.prototxt" and "train.sh"
3, cd "caffe-root/"
4, sh ./examples/caffe-moon/train.sh"

Test

I provide some simple python code for test. You should install ipython befor run "test_moon_euclidean.ipynb"

Coming soon...

1, finetuning with 5 attributes
2, face landmark with face attributes
3, ...

Reference

1, MOON: A Mixed Objective Optimization Network for the Recognition of Facial Attributes

caffe-moon's People

Contributors

camel007 avatar

Watchers

Inaki Navarro 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.