r/StableDiffusion Sep 11 '22

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

Post image
886 Upvotes

View all comments

2

u/PTKen Sep 11 '22

Looks like a fantastic tool! I wish I could try it. I still can't run this locally. Is anyone interested in putting this into a Colab Notebook?

7

u/ExponentialCookie Sep 11 '22

It's just been implemented in AUTOMATIC1111's webui. Link here, instructions at this anchor.

3

u/PTKen Sep 11 '22

Thanks for the link, but please correct me if I'm wrong. This is a web UI but you still need to have it installed locally. I cannot install it locally, so I am running it in Colab Notebooks for now.

3

u/cpc2 Sep 12 '22

Colab notebooks are local installs, just in a remote machine that you access through colab. https://colab.research.google.com/drive/1Iy-xW9t1-OQWhb0hNxueGij8phCyluOh this is the colab linked in automatic1111's github.

2

u/ExponentialCookie Sep 11 '22

Sorry for misunderstanding. That is correct, but if you can get it to work in a colab notebook if you're willing to set it up.

2

u/PTKen Sep 11 '22

No problem I appreciate the reply.

Well, it's a bit beyond me to figure out now to set up a Colab Notebook right now. That's why I was asking if anyone else was up to the task! :)

1

u/MysteryInc152 Sep 12 '22 edited Sep 12 '22

Hey !

So it's actually pretty easy to set up a collab notebook. Way easier than installing it locally.

A colab is basically text and media + code. Once you realize that, it all comes together. To run a snippet of code, you simply press the play button next to it.

Basically because it's text + code, colab notebooks are made to be ordered.

The only input coming from you is pressing the play button in the correct order. And remember the order has already been laid out for you. So Essentially, press the first one, scroll a bit, press the second one etc.

This site walks you through it

https://gigazine.net/gsc_news/en/20220907-automatic1111-stable-diffusion-webui#2

Honestly the only aspect that doesn't go like that is setting up a hugging face account but the site walks you through that as well. And it's something you only do once