Coder Social home page Coder Social logo

Comments (7)

raldnor avatar raldnor commented on April 28, 2024 2

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

from stable-diffusion-webui.

AUTOMATIC1111 avatar AUTOMATIC1111 commented on April 28, 2024 2

raldnor: rejoice, for your prayers has been answered

from stable-diffusion-webui.

1blackbar avatar 1blackbar commented on April 28, 2024 1

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.

AUTOMATIC1111 avatar AUTOMATIC1111 commented on April 28, 2024

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

from stable-diffusion-webui.

raldnor avatar raldnor commented on April 28, 2024

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.

AUTOMATIC1111 avatar AUTOMATIC1111 commented on April 28, 2024

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

from stable-diffusion-webui.

raldnor avatar raldnor commented on April 28, 2024

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

from stable-diffusion-webui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.