1
0
mirror of https://github.com/TencentARC/GFPGAN.git synced 2025-05-16 07:10:24 -07:00

update facelib; use seg to paste back

This commit is contained in:
Xintao 2022-06-07 16:49:26 +08:00
parent bc3f0c4d91
commit c7ccc098a7
2 changed files with 8 additions and 7 deletions

View File

@ -79,6 +79,7 @@ class GFPGANer():
crop_ratio=(1, 1),
det_model='retinaface_resnet50',
save_ext='png',
use_parse=True,
device=self.device)
if model_path.startswith('https://'):

View File

@ -1,12 +1,12 @@
torch>=1.7
basicsr>=1.3.4.0
facexlib>=0.2.3
lmdb
numpy<1.21 # numba requires numpy<1.21,>=1.17
opencv-python
torchvision
scipy
tqdm
basicsr>=1.3.4.0
facexlib>=0.2.0.3
lmdb
pyyaml
scipy
tb-nightly
torch>=1.7
torchvision
tqdm
yapf