Code Monkey home page Code Monkey logo

srn's Introduction

Selective Refinement Network for High Performance Face Detection

By Cheng Chi and Shifeng Zhang

Introduction

This paper is accepted by AAAI 2019.

SRN is a real-time face detector, which performs superiorly on various scales of faces with a single deep neural network, especially for small faces.

For more details, please refer to our paper.

Contents

  1. Requirements
  2. Preparation
  3. Evaluation

Requirements

  • Torch == 0.3.1
  • Torchvision == 0.2.1
  • Python == 3.6
  • CUDA CuDNN
  • Numpy
  • OpenCV

Preparation

  1. Clone the github repository. We will call the directory $SRN_ROOT
git clone https://github.com/ChiCheng123/SRN
cd $SRN_ROOT
  1. Compile extensions.
cd srn/extensions
bash build_ext.sh
  1. Download our trained model from GoogleDrive or BaiduYun with extraction code 6fba, and put it into the folder $SRN_ROOT/model.

  2. Download WIDER FACE dataset, and link the image path with the project.

ln -sf $WIDER_FACE/images $SRN_ROOT/data/images

Evaluation

Evaluate our model on WIDER FACE. We also integrate the eval tool of WIDER FACE. You can evaluate our model and get the final result with only one shell script.

cd $SRN_ROOT/tools
sh val.sh

If the max memory capacity of your GPU is 11G (1080TI) or 12G (TITANXP), please set the max_size in val.sh to 1400. You will get the result: Easy: 96.5, Medium: 95.2, Hard: 89.6.

If the max memory capacity of your GPU is 24G or larger, please set the max_size in val.sh to 2100. You will get the result: Easy: 96.5, Medium: 95.3, Hard: 90.2.

To Do List

  • Release the FP16 models to test images with size 2100*2100 on common GPUs
  • Release the models with several backbones, i.e., ResNet-101, ResNet-152 and ResNet-18.
  • Release the training codes

Citation

If you find SRN useful in your research, please consider citing:

@article{chi2018selective,
  title={Selective refinement network for high performance face detection},
  author={Chi, Cheng and Zhang, Shifeng and Xing, Junliang and Lei, Zhen and Li, Stan Z and Zou, Xudong},
  journal={arXiv preprint arXiv:1809.02693},
  year={2018}
}

srn's People

Contributors

chicheng123 avatar sfzhang15 avatar

Watchers

 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.