Coder Social home page Coder Social logo

tf_face_toolbox's Introduction

TF_Face_MultiGPU

Requirement

TensorFlow r1.8 or above.

NCCL2 or above

Features

  1. Basic train & feature extracting pipeline for deep face recognition.
  2. Stable and efficient Multi-GPU training support.
  3. TensorFlow Dataset API support for efficient I/O from Caffe style lists.
  4. Random mirror/rotation/brightness/contrast/hue(RGB only)/saturation(RGB only) data augmentation.
  5. Network support: ResNeXt, MobileNet, ShuffleNet, SENet, SphereFaceNet, LightCNN(coming soon).
  6. Loss support: center loss, triplet loss, A-softmax loss*, Coco Loss(coming soon).
  7. Automatic GPU selection. (utils/gpu_select.py)

Results on mainstream face recognition benchmarks are coming soon.

* As far as we know, our code is the first A-softmax loss implementation in TensorFlow. @shangwenxiang claims to reproduce the LFW accuracy 99.4% on SphereFaceNet-20 with our implementation. It exceed the results for original implementation.

Usage

For training:

python train.py --num_gpus=4 \
--model_name='Your model name.' \
--net_name='Your net name' \
--data_list_path='Your caffe-style list path.' \
--batch_size=512 \
...
...

For feature extraction:

python evaluate.py \
--model_name='Your model name. \
--net_name='Your net name' \
--fea_name='Your feature name' \
--data_list_path='Your caffe-style list path.' \
--batch_size=200 \
...
...

Reference

Comming soon...

tf_face_toolbox's People

Contributors

medivhna avatar

Watchers

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