Giter Club home page Giter Club logo

tf_face's Introduction

tf_face:   tensoflow codes for face recognition

Dependencies

  • tensorflow 1.1

Core codes

file description execution scripts
train_model.py CNN training using whole dataset run_train.sh
train_model_subset.py CNN training using a randomly sampled dataset run_train_subset.sh
train_fusion.py training with multi-patch fusion run_train_fusion.sh
test_ensemble.py testing with model ensembling run_lfwTest.sh



Helper codes

file usage execution scripts
save_weights.py saving trainable parameters as .npy file run_saveWeights.sh
train_utils.py helper code for training --
test_utils.py helper code for evaluation --
test_lfw.py helper code for lfw test with pretrained model run_lfwTest.sh
extract_feature.py helper code for feature extraction given a image path list run_extract.sh



Why hyper-parameters tunning is important?

figure1



Some observations of hyper-parameters tunning

1. Learning rate -- dropping lr too quickly may cause early stopping

figure2

2. Optimizer -- RMSProp vs. Adam

figure3

3. Dropout -- increase dropout may improve generalization.

figure4

4. Regularity -- center loss boosts performance

figure5

5. Dataset -- trained with whole dataset vs. trained with randomly sampled subset

(Maybe modifying randomly sampled method to boostrapping can bring some benefit)

figure6



Properly tunned model can push the performance to the limit

figure7

tf_face's People

Contributors

zhijianchan avatar

Watchers

James Cloos 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.