GFPGAN is a blind face restoration algorithm towards real-world face images.
GFP-GAN: Towards Real-World Blind Face Restoration with Generative Facial Prior Xintao Wang, Yu Li, Honglun Zhang, Ying Shan Applied Research Center (ARC), Tencent PCG
@InProceedings{wang2021gfpgan,
author = {Xintao Wang and Yu Li and Honglun Zhang and Ying Shan},
title = {Towards Real-World Blind Face Restoration with Generative Facial Prior},
booktitle={The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
year = {2021}
}
- Python >= 3.7 (Recommend to use Anaconda or Miniconda)
- PyTorch >= 1.7
- NVIDIA GPU + CUDA
-
Clone repo
git clone https://github.com/xinntao/GFPGAN.git
-
Install dependent packages
cd GFPGAN pip install -r requirements.txt
python inference_gfpgan_full.py --model_path experiments/pretrained_models/GFPGANv1.pth --test_path inputs
TODO
If you have any question, please email [email protected]
or [email protected]
.