Skip to content

Commit

Permalink
update facelib; use seg to paste back
Browse files Browse the repository at this point in the history
  • Loading branch information
xinntao committed Jun 7, 2022
1 parent bc3f0c4 commit c7ccc09
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions gfpgan/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def __init__(self, model_path, upscale=2, arch='clean', channel_multiplier=2, bg
crop_ratio=(1, 1),
det_model='retinaface_resnet50',
save_ext='png',
use_parse=True,
device=self.device)

if model_path.startswith('https://'):
Expand Down
14 changes: 7 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
torch>=1.7
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
facexlib>=0.2.3
lmdb
numpy<1.21 # numba requires numpy<1.21,>=1.17
opencv-python
pyyaml
scipy
tb-nightly
torch>=1.7
torchvision
tqdm
yapf

6 comments on commit c7ccc09

@broskisart
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hassanmalik007
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1669112119707

@sohelho
Copy link

@sohelho sohelho commented on c7ccc09 Jun 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uploading 1685685675260.jpg…

@horseji
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not working please fix it

@9492310485
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uploading out (1).jpg…

@Absiddiqueba
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uploading okkk.jpg…

Please sign in to comment.