mirror of
https://github.com/deepinsight/insightface.git
synced 2025-12-30 08:02:27 +00:00
Introduction
JMLR is an efficient high accuracy face reconstruction approach which achieved Rank-1st of Perspective Projection Based Monocular 3D Face Reconstruction Challenge of ECCV-2022 WCPA Workshop.
Paper in arXiv.
Method Pipeline
Data preparation
-
Download the dataset from WCPA organiser and put it at somewhere.
-
Create
cache_align/dir and putflip_index.npyfile under it. -
Check
configs/s1.pyand fix the location to yours. -
Use
python rec_builder.pyto generate cached dataset, which will be used in following steps.
Training
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 --nnodes=1 --node_rank=0 --master_addr="127.0.0.1" --master_port=13334 train.py configs/s1.py
Inference Example
python inference_simple.py
Resources
Results