Home

Awesome

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

Getting started

Train Model

python preprocessing.py --input_dir=... --output_dir=... --istrain=True --repeat=10 --img_size=112 --mirror_file=./Mirror68.txt
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

python preprocessing.py --input_dir=... --output_dir=... --istrain=False --img_size=112
python DAN_V2.py -ds 2 --data_dir=preprocess_output_dir -nlm 68 -mode eval

Results on 300W

Pre-trained Model

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