This is a PyTorch reimplementation of the paper: Face Alignment in Full Pose Range: A 3D Total Solution.
MS-Celeb-1M dataset for training, 3,804,846 faces over 85,164 identities.
- Python 3.6.8
- PyTorch 1.3.0
- Clone this repo.
- Build cython module:
$ cd utils/cython
$ python3 setup.py build_ext -i
Extract images, scan them, to get bounding boxes and landmarks:
$ python3 extract.py
$ python3 pre_process.py
$ python3 train.py
To visualize the training process:
$ tensorboard --logdir=runs
$ python3 demo.py