r/StableDiffusion Sep 11 '22

A better (?) way of doing img2img by finding the noise which reconstructs the original image Img2Img

Post image
894 Upvotes

View all comments

57

u/sassydodo Sep 11 '22

You should summon hlky and automatic in this thread or either do pull request on this into their webUIs repos - that would be much better from user experience side

I think I've seen some work in either hlky or auto's repo that mentioned cross attention control

45

u/MarvelsMidnightMoms Sep 11 '22

Automatic1111 has been so on the ball with updates to his fork these past 2 weeks+. Just today he added "Interrogate" in his img2img tab, which is img2prompt.

Yesterday, or the day before, he added prompt "presets" to save time on retyping your most commonly used terms.

Hlky's activity has died down quite a bit which is a bit unfortunate. His was the first webui fork that I tried.

26

u/Itsalwayssummerbitch Sep 11 '22

Hlky's is essentially going through a whole remake in streamlit UI, it should be much better than before and be easier to add things to it in the future, but it's going to take a week or two to get it out of dev stage.

The gradio version is only getting bigfixes btw, no new features as far as I'm aware.

Either way feel free to add it in the discussion section of the repo 😅

9

u/hsoj95 Sep 11 '22

^ This!

We are still looking for features to add, and I'm gonna send a link to this to the discord for Hlky's fork.

2

u/ImeniSottoITreni Sep 12 '22

Automatic1111 has been so on the ball with updates to his fork these past 2 weeks+. Just today he added "Interrogate" in his img2img tab, which is img2prompt.

Can you please give me some more info and compare about hlky and automatic?
I tought they were 2 dead repos. I mean, they put out their thing: hlky with webui and AUTOMATIC1111 with the outpainting stuff and that was it.

I pushed so far to make a pull request to neonsecret repo to add webui and he accepted to merge hlky webui, which is basically a fork that allows you to make high res images with low vram

But I'm loosing a bit of grip on all the news. Can you please tell me what we have now? and what are the news for hlky and others?

2

u/matahitam Sep 12 '22

You might want to use the dev branch for bleeding edge in hlky (re base to sd-webui) . There's also a discord, link is in readme if I'm not mistaken.

2

u/matahitam Sep 12 '22

Adding discord link here for reference. https://discord.gg/frwNB7XV

1

u/ImeniSottoITreni Sep 12 '22

Thanks I will!

6

u/sassydodo Sep 11 '22

yeah, I'd go with auto's version, but hlky has got all the fancy upscalers like GoBIG and also it doesn't crash as much as auto's. Tho Im still on auto's friday version, so it might have been fixed already.

5

u/halr9000 Sep 11 '22

Hlky is switching to atreamlit but seems features are still going into both branches. GoBig is sweet! I think auto added similar called sd-upscale but I haven't tried it yet.

11

u/AUTOMATIC1111 Sep 12 '22

I added sd upscale and afterwards hlky specifically copied my code of sd upscale code and added it as gobig

2

u/th3Raziel Sep 12 '22

I just want to say HLKY himself didn't do it, I did, I saw your implementation and used it (and txt2imghd) as the base for GoBig in the hlky fork, I'm not sure why is this so forbidden as large parts of the hlky fork is already copied code from your repo so I didn't even think twice about utilizing it.

I also added LDSR to the hlky fork which I modified from the original repo and created the image lab tab etc.

To be clear, I'd rather add stuff to your repo but I approached you on the SD discord and you said you'll likely not merge PRs that aren't made by you and that originally hlky PR'd a feature to your repo which you rejected which in turn prompted him to make his own fork.

It's too bad there's all this useless drama around the different UIs, it just creates a lot of confusion.

5

u/AUTOMATIC1111 Sep 12 '22

If I'm remembering correctly, I said that I won't accept big reworks unless we decide on them beforehand. I'm accepting a fair amount of code from different people.

The 'feature' I rejected was a change that would save all pictures in jpeg format for everyone.

1

u/StickiStickman Sep 12 '22

But why change the name then? Huh.

2

u/th3Raziel Sep 12 '22

I changed the name to GoBig as it's the original name for this approach.

2

u/AUTOMATIC1111 Sep 12 '22

To make it less obvious to user that he copied it.

1

u/halr9000 Sep 12 '22

Well, if true that's not cool. Should be relatively easy to prove by looking at commits. But the UIs are definitely diverging, so there's original work being done to some extent. Sorry if there's some bad behavior going on though.

3

u/Itsalwayssummerbitch Sep 12 '22

It's funny you mention the commits, they DO seem to tell a different story. The funniest of which is that the code Automatic111 used for the sdupscale was originally called "text2imagehd", and a port of someone else's work, which was called GoBig :)

https://github.com/jquesnelle/txt2imghd The link was literally in the Auto's code's comments.

Seriously though, ffs, this is open source, can we not just be decent humans and work together? I don't get all this drama, it's not Middle school 🙃

5

u/AUTOMATIC1111 Sep 12 '22

i credit the person who made txt2imghd both in comments and in the main readme in credits section for the idea.

I also did not take a single line of his code.

The decision to not work with me was on hlky, he was the one who forked my repo.

You're free to link the different story in commits because I do not see it.

→ More replies

1

u/StretchElectrical288 Oct 10 '22

any way to support your work?

1

u/TiagoTiagoT Sep 11 '22

Are the two projects different enough they can't be merged?

15

u/jansteffen Sep 11 '22

The hlky one actually started as a fork of the automatic1111 UI, but that was basically on day 1 of SD release and they've both changed a ton since then, with major reworks and refactors, sometimes even implementing the same functionality in different ways. I don't think merging them would be possible at this point, it'd be a lot easier to just cherry pick features that one has that the other one doesn't and weave that code into the existing code base.

1

u/ts4m8r Sep 12 '22

How do you install new versions of webui if you already have an old one installed?

3

u/sassydodo Sep 12 '22

I mean "installed" is just put in a folder with moldels placed in, everything else is in virtual environment. You can just download new version, or use git - in this case you just git clone once, and use git pull every time you think there's a worthy update

1

u/matahitam Sep 12 '22

Often it's as simple as performing git pull. Let me know in sd-webui discord if you need more details. https://discord.gg/frwNB7XV

2

u/manueslapera Sep 13 '22

that's a shame, Id rather manage a python environment (hlky ui) than having to install .net just to use automatic's

4

u/Dogmaster Sep 11 '22

And he still hasnt fixed the masking bug causing deepfrying, the commit is waiting :(