Comments (7)
Perhaps this can be incorporated?
https://github.com/jquesnelle/txt2imghd
from stable-diffusion-webui.
raldnor: rejoice, for your prayers has been answered
from stable-diffusion-webui.
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.
from stable-diffusion-webui.
There's already Cupscale, I can't imagine how a tab would be more convenient than that.
from stable-diffusion-webui.
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.
from stable-diffusion-webui.
1blackbar: I have the reddit's script, have not played with it yet, it's a different feature request
from stable-diffusion-webui.
automatic1111: You're the best! Thanks a lot!
from stable-diffusion-webui.
Related Issues (20)
- [Feature Request]: Please add support for the COSXL model by Stability AI HOT 1
- [Bug]: After upgrading to 1.9.0, you can't start it, you will report "Expected String or Bytes-Like Object" HOT 1
- [Bug]: No module named 'pillow_avif' HOT 2
- [Feature Request]: Backwards compatibility for txt2img and img2img API calls in 1.9.x versions
- AttributeError: 'UiControlNetUnit' object has no attribute 'enable'[Bug]: at last version HOT 10
- ERROR Calling AnimateDiff HOT 10
- [Bug]: Can't create venv at the first launch HOT 2
- RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument weight in method wrapper_CUDA___slow_conv2d_forward)[Bug]: HOT 2
- Torch is not able to see GPU HOT 6
- [Bug]: sd-webui-prompt-all-in-one extension is glitching the prompt bar HOT 2
- [Bug]: LORA's with .zip extension do not display in list with other LORA's HOT 1
- [Feature Request]: HOT 5
- [Feature Request]: Image Formats passed to api calls HOT 1
- [Feature Request]: Add GPEN to Face Restoration models HOT 1
- [Bug]: Error
- [Bug]: AttributeError: 'NoneType' object has no attribute 'lowvram' -- Clean install on Mac
- [Bug]: --share not work with paperspace HOT 1
- [Bug]: Error loading specific Upscalers: "RuntimeError: PytorchStreamReader failed locating file constants.pkl: file not found"
- [GET THE OLD SAMPLING METHOD BACK]: HOT 5
- [Bug]: Prompt in textarea cannot be drag and drop since 1.9.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stable-diffusion-webui.