mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-04-18 20:00:54 +00:00
problem about face_ratio #107
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 @xuewengeophysics on GitHub (Nov 29, 2021).
Hi, Thanks for your attention to this question.

Why multiply by face_ratio in this place in gfpgan_model.py?
@chiixy commented on GitHub (Apr 12, 2024):
I have the same confusion about this face_ratio, and i think maybe author make a mistake in this place? I remove these face_ratio and multiplies face_ratio at 248, 253 line like below, and check the pipeline when setting input size as 256 is all right:
