GFPGAN icon indicating copy to clipboard operation
GFPGAN copied to clipboard

Higher resolution pretrained model ?

Open Michaelwhite34 opened this issue 3 years ago • 3 comments

512512 is generally enough for video, but portrait needs 10241024 or 2048*2048.

Michaelwhite34 avatar May 13 '22 14:05 Michaelwhite34

Check out the --upscale argument. Default is 2 so your image is initially 256x256. Change that to 4 and output will be 1024x1024. Results are great too. It utilizes RealESRGAN

johnGettings avatar May 18 '22 05:05 johnGettings

Check out the --upscale argument. Default is 2 so your image is initially 256x256. Change that to 4 and output will be 1024x1024. Results are great too. It utilizes RealESRGAN

I am talking about enhanced face resolution, not the enhanced background resolution.

Michaelwhite34 avatar May 18 '22 05:05 Michaelwhite34

Just try --upscale 4. It's what you're looking for. I think they use realESRGAN for the background and something else for the face. I don't remember. It comes out 1024x1024 and it looks good

johnGettings avatar May 18 '22 07:05 johnGettings