GFPGAN icon indicating copy to clipboard operation
GFPGAN copied to clipboard

problem about face_ratio

Open xuewengeophysics opened this issue 4 years ago • 1 comments

Hi, Thanks for your attention to this question. Why multiply by face_ratio in this place in gfpgan_model.py? image

xuewengeophysics avatar Nov 29 '21 10:11 xuewengeophysics

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: Screenshot from 2024-04-12 15-02-54

chiixy avatar Apr 12 '24 07:04 chiixy