GFPGAN
GFPGAN copied to clipboard
problem about face_ratio
Hi, Thanks for your attention to this question.
Why multiply by face_ratio in this place in gfpgan_model.py?

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: