Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Harighs opened this issue Jul 29, 2021 · 2 comments
Closed

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

Harighs opened this issue Jul 29, 2021 · 2 comments

Comments

@Harighs
Copy link

Harighs commented 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

@xinntao
Copy link
Member

xinntao commented 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
Copy link
Member

xinntao commented 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 xinntao closed this as completed Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants