mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2025-05-16 23:30:13 -07:00
update facelib; use seg to paste back
This commit is contained in:
parent
bc3f0c4d91
commit
c7ccc098a7
@ -79,6 +79,7 @@ class GFPGANer():
|
|||||||
crop_ratio=(1, 1),
|
crop_ratio=(1, 1),
|
||||||
det_model='retinaface_resnet50',
|
det_model='retinaface_resnet50',
|
||||||
save_ext='png',
|
save_ext='png',
|
||||||
|
use_parse=True,
|
||||||
device=self.device)
|
device=self.device)
|
||||||
|
|
||||||
if model_path.startswith('https://'):
|
if model_path.startswith('https://'):
|
||||||
|
@ -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
|
numpy<1.21 # numba requires numpy<1.21,>=1.17
|
||||||
opencv-python
|
opencv-python
|
||||||
torchvision
|
|
||||||
scipy
|
|
||||||
tqdm
|
|
||||||
basicsr>=1.3.4.0
|
|
||||||
facexlib>=0.2.0.3
|
|
||||||
lmdb
|
|
||||||
pyyaml
|
pyyaml
|
||||||
|
scipy
|
||||||
tb-nightly
|
tb-nightly
|
||||||
|
torch>=1.7
|
||||||
|
torchvision
|
||||||
|
tqdm
|
||||||
yapf
|
yapf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user