Giter Site home page Giter Site logo

xindongzhang / deep-alignment-network-a-convolutional-neural-network-for-robust-face-alignment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zjjmaimai/deep-alignment-network-a-convolutional-neural-network-for-robust-face-alignment

0.0 2.0 0.0 103 KB

This is a Tensorflow implementations of paper "Deep Alignment Network: A convolutional neural network for robust face alignment".

Home Page: https://github.com/zjjMaiMai/Deep-Alignment-Network-A-convolutional-neural-network-for-robust-face-alignment

Python 100.00%

deep-alignment-network-a-convolutional-neural-network-for-robust-face-alignment's Introduction

Deep Alignment Network: A convolutional neural network for robust face alignment

This is a Tensorflow implementations of paper "Deep Alignment Network: A convolutional neural network for robust face alignment". You can see Original implementation here.


System

  • No Windows !

Getting started

  • Tensorflow 1.7.0
  • OpenCV 3.1.0 or newer

Train Model

  • Download Datasets.
  • Put images & pts in SAME folder.
  • Write mirror file. There is a 68 landmark mirror file. download
  • Preprocess.
python preprocessing.py --input_dir=... --output_dir=... --istrain=True --repeat=10 --img_size=112 --mirror_file=./Mirror68.txt
  • Train model.
python DAN_V2.py -ds 1 --data_dir=preprocess_output_dir --data_dir_test=...orNone -nlm 68 -te=15 -epe=1 -mode train
python DAN_V2.py -ds 2 --data_dir=preprocess_output_dir --data_dir_test=...orNone -nlm 68 -te=45 -epe=1 -mode train

Eval Acc

  • Download Datasets for test.
  • Put images & pts in SAME folder.
  • Preprocess.
python preprocessing.py --input_dir=... --output_dir=... --istrain=False --img_size=112
  • Eval model Acc.
python DAN_V2.py -ds 2 --data_dir=preprocess_output_dir -nlm 68 -mode eval

Results on 300W

  • Speed : 4ms per Image on GTX 1080 Ti
  • Err : 1.34 % on 300W common subset(bounding box diagonal normalization).

Pre-trained Model

TODO:You can download pre-trained model here. This model trained on 300W dataset.

deep-alignment-network-a-convolutional-neural-network-for-robust-face-alignment's People

Contributors

zjjmaimai avatar

Watchers

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