mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-07-09 02:06:30 +00:00
What upscaler is used in huggingface demo site apart from gfpgan 1.4? #506
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@CoderXiaopang commented on GitHub (Oct 23, 2024):
I encountered the same problem
@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
@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