Giter VIP home page Giter VIP logo

dsfd-vgg16-efficientnet's Introduction

##Update

  • Adopt new layers of EfficientNet-B1 to extract feature maps. The accuracy of small face detection increses obviously.
  • Add report and slides

DSFD: Dual Shot Face Detector

A PyTorch Implementation of Dual Shot Face Detector

Description

We use basenet VGG16, EfficientNet-B0 and EfficientNet-B1 to train DSFD, the model can be downloaded in DSFD with VGG.

The AP using VGG16 in AFW,PASCAL,FDDB as following:

AFW PASCAL FDDB
99.89 99.11 98.3

The performance on small face detection using EfficientNet-B0 and EfficientNet-B1 is not good enough, we are still working on it.

Requirement

  • pytorch 0.3
  • opencv
  • numpy
  • easydict

Prepare data

  1. download WIDER face dataset
  2. modify data/config.py
  3. python prepare_wider_data.py

Train

python train.py --batch_size 4 
		--model vgg\efficient_b0\efficient_b1 
		--lr 5e-4

Evalution

According to yourself dataset path,modify data/config.py

  1. Evaluate on AFW.
python tools/afw_test.py
  1. Evaluate on FDDB
python tools/fddb_test.py
  1. Evaluate on PASCAL face
python tools/pascal_test.py
  1. test on WIDER FACE
python tools/wider_test.py

Demo

you can test yourself image

python demo.py

Result

VGG16

demo demo

EfficientNet-B0

demo demo

EfficientNet-B1

demo demo

About:

This page (code, report and presentation) is the group C submission for Final project for CS256: Selected Topic in Artificial Intelligence, Section 2. Leb by Instructor: Mashhour Solh, Ph.D. The group members are:. "Jianwei Li, Peilu Liu, Ruchira Gothankar, Akash Budholia, Akshar Panchal".

The code maybe used for educational and commercial use under no warranties. For questions on this project and code please reach out to: "[email protected]"

Credits:

This project was conducted with free credits provided by AWS educate team.

References

dsfd-vgg16-efficientnet's People

Contributors

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