GithubHelp home page GithubHelp logo

face_recognition's Introduction

Face Recognition based on DeepID

Implementation of DeepID based on the paper "Sun Y, Wang X, Tang X. Deep learning face representation from predicting 10,000 classes[C]//Computer Vision and Pattern Recognition (CVPR), 2014 IEEE Conference on. IEEE, 2014: 1891-1898."

Dataset preparation

LFW - refer to sklearn.dataset

Facescrub - http://vintage.winklerbros.net/facescrub.html

Cropped only faces, separate them into train, val, and test set with ratio of 0.7, 0.1, 0.2 respectively

Current state

Only done face identification, working on face verification

Training

Initially learning rate of 0.01 using exponential decay on 100000 steps/0.9 decay rate

Monitor the training graph, if it stays at a loss/accuracy for a long time, initialise learning rate with 0.005 or lower (my guess on it, i think it is because it reaches a local minimum gradient, couldn't go deeper)

Reminder

  1. Small dataset will be easily overfit as there is nothing much to "learn" from the dataset

  2. Due to Internet speed and storage problem, I choose a smaller than CASIA dataset (stated in the paper), but bigger than LFW which is facescrub

  3. My code is in continue training state, if you want a new training, comment the "load" code

Performance

Training on LFW - maximum of 80% accuracy (only 68 classes, I choose minimum of 10 faces)

Training on Facescrub - still training, but reached 75% accuracy by the time I commit (530 classes)

Contact

Email: [email protected]

Reference

[1]. https://github.com/RiweiChen/DeepFace

[2]. https://github.com/stdcoutzyx/DeepID_FaceClassify

[3]. Sun Y, Wang X, Tang X. Deep learning face representation from predicting 10,000 classes[C]//Computer Vision and Pattern Recognition (CVPR), 2014 IEEE Conference on. IEEE, 2014: 1891-1898.

face_recognition's People

Contributors

kamwoh 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.