Giter VIP home page Giter VIP logo

mad-thanos / face-alignment-training Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 1adrianb/face-alignment-training

0.0 1.0 0.0 15 KB

Training code for the networks described in "How far are we from solving the 2D & 3D Face Alignment problem? (and a dataset of 230,000 3D facial landmarks)" paper.

Home Page: https://www.adrianbulat.com/face-alignment

License: Other

Lua 100.00%

face-alignment-training's Introduction

How far are we from solving the 2D & 3D Face Alignment problem? (and a dataset of 230,000 3D facial landmarks)

This is the training code for 2D-FAN and 3D-FAN decribed in "How far are we from solving the 2D & 3D Face Alignment problem? (and a dataset of 230,000 3D facial landmarks)" paper. Please visit our webpage or read bellow for instructions on how to run the code.

Pretrained models are available on our page.

Demo code: https://www.github.com/1adrianb/2D-and-3D-face-alignment

Note: If you are interested in a binarized version, capable of running on devices with limited resources please also check https://github.com/1adrianb/binary-face-alignment for a demo.

Requirments

  • Install the latest Torch7 version (for Windows, please follow the instructions available here)

Packages

Setup

  1. Clone the github repository and install all the dependencies mentiones above.
git  clone https://github.com/1adrianb/face-alignment-training
cd face-alignment-training
  1. Download the 300W-LP dataset from the authors webpage. In order to train on your own data the dataloader.lua file needs to be adapted.

  2. Download the 300W-LP annotations converted to t7 format from here, extract it and move the landmarks folder to the root of the 300W-LP dataset.

Usage

In order to run the demo please download the required models available bellow and the associated data.

th main.lua -data path_to_300W_LP_dataset

In order to see all the available options please run:

th main.lua --help

Citation

@inproceedings{bulat2017far,
  title={How far are we from solving the 2D \& 3D Face Alignment problem? (and a dataset of 230,000 3D facial landmarks)},
  author={Bulat, Adrian and Tzimiropoulos, Georgios},
  booktitle={International Conference on Computer Vision},
  year={2017}
}

Acknowledgements

This pipeline is build around the ImageNet training code avaialable at https://github.com/facebook/fb.resnet.torch and HourGlass(HG) code available at https://github.com/anewell/pose-hg-train

face-alignment-training's People

Contributors

1adrianb 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.