want to whole image in the result (without cropping) #38

Closed
opened 2026-01-29 21:38:56 +00:00 by claunia · 2 comments
Owner

Originally created by @Harighs on GitHub (Jul 29, 2021).

Is it possible to have whole images as result?
when inference my images are been cropped in the result folder.
I NEED FULL IMAGE AS RESULT

I used "Load extensions just-in-time(JIT)":
BASICSR_JIT=True python inference_gfpgan_full.py --model_path experiments/pretrained_models/GFPGANv1.pth --test_path inputs/whole_imgs

Originally created by @Harighs on GitHub (Jul 29, 2021). Is it possible to have whole images as result? when inference my images are been cropped in the result folder. I NEED FULL IMAGE AS RESULT I used "Load extensions just-in-time(JIT)": `BASICSR_JIT=True python inference_gfpgan_full.py --model_path experiments/pretrained_models/GFPGANv1.pth --test_path inputs/whole_imgs`
Author
Owner

@xinntao commented on GitHub (Aug 3, 2021):

  1. You can add --paste-back option for obtaining the whole image.
  2. But the current model will also change colors. So putting back will result in inconsistent results. We will release an improved model later~
@xinntao commented on GitHub (Aug 3, 2021): 1. You can add `--paste-back` option for obtaining the whole image. 2. But the current model will also change colors. So putting back will result in inconsistent results. We will release an improved model later~
Author
Owner

@xinntao commented on GitHub (Aug 6, 2021):

I have updated the model, which can generate a reasonable whole image. Colab demo: https://colab.research.google.com/drive/1sVsoBd9AjckIXThgtZhGrHRfFI6UUYOo

@xinntao commented on GitHub (Aug 6, 2021): I have updated the model, which can generate a reasonable whole image. Colab demo: https://colab.research.google.com/drive/1sVsoBd9AjckIXThgtZhGrHRfFI6UUYOo
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TencentARC/GFPGAN#38