Files
insightface/alignment/synthetics
2021-11-25 14:55:46 +08:00
..
2021-11-25 14:42:43 +08:00
2021-11-25 14:42:43 +08:00
2021-11-25 14:55:46 +08:00
2021-11-25 14:42:43 +08:00
2021-11-25 14:42:43 +08:00

Introduction

We provide training and testing tools on synthetics data.

Dataset

Training dataset

Download Face Synthetics dataset from https://github.com/microsoft/FaceSynthetics and put it somewhere.


Then use tools/prepare_synthetics.py for training data preparation.

Testing dataset

300-W

Train and Test

Prerequisites

  • pytorch_lightning
  • timm
  • albumentations

Training

python -u trainer_synthetics.py

which uses resnet50d as backbone by default, please check the code for detail.

Testing

Please check test_synthetics.py for detail.

Result Visualization(3D 68 Keypoints)