Giter Site home page Giter Site logo

mobilefacenet-caffe's Introduction

mobilefacenet-caffe

a caffe implementation of mobilefacenet,with the record of trainnig log

update the deploy.prototxt & training log of Amsoftmax on Webface @ 24/4/2018

update the solver.prototxt & training log of 6W iteration in ./proto_revise/ @ 30/4/2018

update @ 7/5/2018:

since there is a re-implementation of mobilefacenet by insightface: https://github.com/deepinsight/insightface

you can train on public dataset using insightface then transform the mxnet model to caffe model using MxNet2Caffe

pay attention that:

1.there is something to be fixed in insightface/src/symbols/fmobilefacenet.py

you can just download the fmobilefacent.py in this project and replace it in insightface.

then type:

CUDA_VISIBLE_DEVICES='0,1,2,3' python -u train_softmax.py --network y1 --loss-type 4 --margin-m 0.5 --data-dir ../datasets/faces_ms1m_112x112 --prefix ../model-y1 --emb-size = 128

to train the mobilefacenet with insightface.

2.if you are using cudnn,the group convolution with cause a memory error while using Mxnet2Caffe so you have to add engine:CAFFE in each group convolution layer

or you can download the prototxt_basic.py in this project and replace it in MXNet2Caffe

Links:

paper:MobileFaceNets: Efficient CNNs for Accurate Real-time Face Verification on Mobile Devices

amsoftmax:happynear/AMSoftmax

depthwise convolution:yonghenglh6/DepthwiseConvolution

mobilenetv2-caffe:shicai/MobileNet-Caffe

mobilefacenet-caffe's People

Contributors

kaleidozhou avatar kaleidozhouyn avatar

Watchers

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