What upscaler is used in huggingface demo site apart from gfpgan 1.4? #506

Open
opened 2026-01-29 21:48:21 +00:00 by claunia · 3 comments
Owner

Originally created by @michidaeron on GitHub (Aug 21, 2024).

Because in other programs I use gfpgan 1.4 with RealERSGAN x2plus or x4 and I don't get the same good results.

Originally created by @michidaeron on GitHub (Aug 21, 2024). Because in other programs I use gfpgan 1.4 with RealERSGAN x2plus or x4 and I don't get the same good results.
Author
Owner

@CoderXiaopang commented on GitHub (Oct 23, 2024):

I encountered the same problem

@CoderXiaopang commented on GitHub (Oct 23, 2024): I encountered the same problem
Author
Owner

@anuj509 commented on GitHub (Dec 31, 2024):

I was facing the same issue today but found solution by updating this settings:
cropped_faces, restored_faces, restored_img = restorer.enhance(
input_img,
has_aligned=False,
only_center_face=False,
paste_back=True,
weight=0.5)

has_aligned to False
and only_center_face to False

image

@anuj509 commented on GitHub (Dec 31, 2024): I was facing the same issue today but found solution by updating this settings: cropped_faces, restored_faces, restored_img = restorer.enhance( input_img, has_aligned=False, only_center_face=False, paste_back=True, weight=0.5) has_aligned to False and only_center_face to False ![image](https://github.com/user-attachments/assets/30c1411a-fa68-4911-8601-35181cc35892)
Author
Owner

@anuj509 commented on GitHub (Dec 31, 2024):

I was facing the same issue today but found solution by updating this settings:
cropped_faces, restored_faces, restored_img = restorer.enhance(
input_img,
has_aligned=False,
only_center_face=True,
paste_back=True,
weight=0.5)

has_aligned to False

image

@anuj509 commented on GitHub (Dec 31, 2024): I was facing the same issue today but found solution by updating this settings: cropped_faces, restored_faces, restored_img = restorer.enhance( input_img, has_aligned=False, only_center_face=True, paste_back=True, weight=0.5) has_aligned to False ![image](https://github.com/user-attachments/assets/30c1411a-fa68-4911-8601-35181cc35892)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TencentARC/GFPGAN#506