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

Request for image enlargement #5

Closed
raldnor opened this issue Aug 24, 2022 · 7 comments
Closed

Request for image enlargement #5

raldnor opened this issue Aug 24, 2022 · 7 comments

Comments

@raldnor
Copy link

raldnor commented Aug 24, 2022

Awesome project, nice and clean! Is it possible to incorporate a tab for ESRGAN for image upscaling?

@AUTOMATIC1111
Copy link
Owner

There's already Cupscale, I can't imagine how a tab would be more convenient than that.

@raldnor
Copy link
Author

raldnor commented Aug 25, 2022

As far as I can tell Cupscale is Windows only, I run SD with the webui in Linux and intend to package it into a docker container. I thought it would be nice to have all functions in one package.

@raldnor
Copy link
Author

raldnor commented Aug 25, 2022

Perhaps this can be incorporated?
https://github.com/jquesnelle/txt2imghd

@1blackbar
Copy link

1blackbar commented Aug 26, 2022

This is quite incredible !!! ID love to be able to upscale like this in GUI, this result is amazing , so it splits the image into parts and upscales every piece then merges,, its pretty smart, i think midjourney has similar stuff with kind of a grain texture to get rid of artificial digital look
https://raw.githubusercontent.com/jquesnelle/txt2imghd/master/gallery/00091ud.png
Its quite different cause its using img2img to upscale further but it splits the image cause jamming full big one into img2img to will wipe ram space immediately.
So first it generates txt2img result , then realsrgan upscales it and then img2img adds details to each part of the 512 chunks of full image... i wonder if you could aadd extra step to upscale face with gfpgan and then run img2img on top of that so its txt2img - realsrgan - gfpgan- img2img .
But maybe gfpgan upscale before img2img would look worse than adding it separately at the end, im not sure.
But i think it would have to be able to be turned off if you dont want it to upscale everything.

Or... maybe trying to lookup his code how hes using img2img to upscale in chunks of 512 images would be better idea ? So there would be separate img2img upscale button ? This way you could add gfpgan sooner or later.More modular.
I think hes upscaling in img2img using the same prompt and seed so it needs to be done right away. unless it would be possible to reacquire prompt and seed from the exported image and upscale would work fine.

@AUTOMATIC1111
Copy link
Owner

1blackbar: I have the reddit's script, have not played with it yet, it's a different feature request

@AUTOMATIC1111
Copy link
Owner

raldnor: rejoice, for your prayers has been answered

@raldnor
Copy link
Author

raldnor commented Aug 26, 2022

automatic1111: You're the best! Thanks a lot!

Craftyawesome pushed a commit to Craftyawesome/stable-diffusion-webui that referenced this issue Aug 26, 2022
lonestriker pushed a commit to lonestriker/stable-diffusion-webui that referenced this issue Oct 19, 2022
Fix install issues, README instructions should work out-of-the-box now
lonestriker pushed a commit to lonestriker/stable-diffusion-webui that referenced this issue Oct 19, 2022
…on-webui/default

🔄 Synced file(s) with hlky/stable-diffusion-webui
oxysoft added a commit to oxysoft/stable-diffusion-webui that referenced this issue Oct 25, 2022
brkirch referenced this issue in brkirch/stable-diffusion-webui Oct 25, 2022
Patch Torch 1.12.1 instead of using nightly Torch build
Klace added a commit to Klace/stable-diffusion-webui-pix2pix that referenced this issue Feb 4, 2023
Jalves95 pushed a commit to Jalves95/stable-diffusion-webui that referenced this issue Apr 27, 2023
nne998 pushed a commit to fjteam/stable-diffusion-webui that referenced this issue Sep 26, 2023
SLAPaper pushed a commit to SLAPaper/stable-diffusion-webui that referenced this issue May 17, 2024
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

3 participants