Code Monkey home page Code Monkey logo

caffe_s3fd's Introduction

S3FD: Single Shot Scale-invariant Face Detector

Build Status License

Contents

  1. Installation
  2. Preparation
  3. Train
  4. Eval
  5. Reference

Installation

  1. Get the code. We will call the directory that you cloned Caffe into $CAFFE_ROOT
# 1. realize scale-compensation anchor matching strategy
# 2. realize random cropping square patches from original image 
git clone [email protected]:lippman1125/caffe_s3fd.git
cd caffe
git checkout ssd

Preparation

  1. Download fully convolutional reduced (atrous) VGGNet.
    By default, we assume the model is stored in $CAFFE_ROOT/examples/s3fd/

2. Create the LMDB file.
```Shell
cd $CAFFE_ROOT
# Create the trainval.txt, test.txt, and test_name_size.txt in data/FACE/
./data/FACE/create_list.sh
# You can modify the parameters in create_data.sh if needed.
# It will create lmdb files for trainval and test with encoded original image:
#   - $HOME/data/faces_database/FACE/lmdb/FACE_trainval_lmdb
#   - $HOME/data/faces_database/FACE/lmdb/FACE_test_lmdb
# and make soft links at examples/VOC0712/
./data/FACE/create_data.sh

Train

  1. Train your model .
./build/tools/caffe train --solver examples/s3fd/solver.prototxt  --gpu 1 --weights examples/s3fd/VGG_ILSVRC_16_layers_fc_reduced.caffemodel

Eval

  1. ROC of FDDB compared with official, as follow:
    data

  2. ROC of FDDB compared with SSH/MTCNN, as follow:
    data

  3. examples
    data
    data

Reference

  1. https://github.com/sfzhang15/SFD

caffe_s3fd's People

Contributors

shelhamer avatar jeffdonahue avatar yangqing avatar longjon avatar weiliu89 avatar sguada avatar kloudkl avatar sergeyk avatar ronghanghu avatar qipeng avatar lukeyeager avatar rbgirshick avatar flx42 avatar philkr avatar dgolden1 avatar eelstork avatar mavenlin avatar jamt9000 avatar cypof avatar tnarihi avatar yosinski avatar erictzeng avatar mohomran avatar jyegerlehner avatar mtamburrano avatar netheril96 avatar ducha-aiki avatar blgene avatar ste-m5s avatar timmeinhardt avatar

Stargazers

Andraw avatar  avatar Zheng Li avatar NarcissusInMirror avatar  avatar liuhelong avatar zhuyipin avatar yilisha_andrea avatar  avatar  avatar  avatar  avatar Xiaoteng Zhang avatar  avatar  avatar JimmyLauren avatar  avatar Zhang Wang avatar  avatar  avatar  avatar  avatar liyou avatar  avatar Irving avatar Hanchao Leng avatar liquid avatar zhang weidong avatar Yi Lu avatar Alexander avatar  avatar  avatar

Watchers

James Cloos avatar liyou avatar

caffe_s3fd's Issues

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.