Live data from Hacker News

Try Stable Diffusion's Img2Img Mode

huggingface.co

101–110 of 166 posts

Re: Try Stable Diffusion's Img2Img Mode

#102
post #70

Earlier quoted context omitted.

The skill gap was what made it valuable. There is not that much value in flooding everyone with generated images that have no story, no person behind it, no effort, no reason to exist, out of place. “Art” is as much about the final image as it is about the person who made it, why she made it and how she got there. Also there is pretty dystopian angle because these tools balantly stole all the work of artists by “lear…

You in 1894: Why does no one think about all the horses and stable boys. The value of art is also not in the hours you put into creating it it's about the idea behind it and how it's conveyed. Artists are also always stealing especially concept artists the only thing to say is "photobashing". You talk like someone who has absolutely no idea how the sausage is made.

Yes, yes and invention of camera will kill painters. Sure everybody knows this.

But there is important difference between someone stealing and some algorithm copy replicating anything from the past in instant. One is a remix that brings something new (even if author doesn't want) the other in static its conservation. It will create side effects that will impact our (visual) culture. But who knows what those will be.

Re: Try Stable Diffusion's Img2Img Mode

#103
post #13

If you have a GPU with >4GB of VRAM and you want to run this locally, here's a fork of the Stable Diffusion repo with a convenient web UI: https://github.com/hlky/stable-diffusion It supports both txt2img and img2img. (Not affiliated.) Edit: Incidentally, I tried running it on a CPU. It is possible, but it took 3 minutes instead of 10 seconds to produce an image. It also required me to hack up the script in a really…

What are good and reasonably priced GPUs for this (<$250, possibly less)?

Re: Try Stable Diffusion's Img2Img Mode

#104
post #84

Some amazing examples of what people have done with img2img with Stable Diffusion: https://old.reddit.com/r/StableDiffusion/comments/wy7oa5/img... https://old.reddit.com/r/StableDiffusion/comments/wyq04v/usi... https://old.reddit.com/r/StableDiffusion/comments/wzlmty/its...

old.reddit is truly horrible on mobile. Once you click on an image you can't go back. Off topic, but what is the other alternative UI called that people sometimes use?

I use i.reddit.com on mobile.

Re: Try Stable Diffusion's Img2Img Mode

#105
post #52
post #50

Earlier quoted context omitted.

I'm impressed that running it on CPU only made it ~20x slower. How did you do it?

Nah that's normal. It's why GPUs are the usual thing for AI. Any crap, old, weak gpu with 4gb memory would run circles around a cpu It's often easier to actually get models to run on CPU, due to simpler install configs and more available memory. Just painful to get a result out of it. Which might help keep the install simple, because it's not even worth optimizing

The GP is asking why it's only 20x slower, rather than more slow.

Re: Try Stable Diffusion's Img2Img Mode

#106
post #98

Earlier quoted context omitted.

However, it looks like the model wasn't trained on NSFW keywords anyway, which means it is permanently impaired in that regard.

It was trained on LAION 5b, which is chock-full of NSFW material. Search for yourself: https://rom1504.github.io/clip-retrieval/

They filtered a lot of it out, it is a subset of LAION 5b according to undisclosed parameters: https://stability.ai/blog/stable-diffusion-announcement

Re: Try Stable Diffusion's Img2Img Mode

#107
post #96
post #76

I've been playing with this for a few hours. It's slow going -- you really need a fast GPU with a lot of RAM to make this very usable. I ended up paying the $10 for Google Colab Pro and that's how I've been using this. Maybe I'll figure out how to get this working on my old 1080 TI to see if it's faster. Anyway, for the one that I'm using which has a web UI, you can use this Colab link. It's pretty great! https://col…

With a 3090 it's about 10s to generate a 512x512 image from another, maybe less.

You're probably using the default PLMS sampler with 50 steps. There are better samplers, the best seem to be Euler (more predictable in regards to the number of steps) and Euler ancestral (gives more variation). Both typically need much less steps to converge, speeding up the generation.

Re: Try Stable Diffusion's Img2Img Mode

#108

web demo for stable diffusion (txt2img): https://huggingface.co/spaces/stabilityai/stable-diffusion github with gui: https://github.com/hlky/stable-diffusion dev repo (more features, may have bugs): https://github.com/hlky/stable-diffusion-webui repo with docker: https://github.com/AbdBarho/stable-diffusion-webui-docker colab repo (new): https://github.com/altryne/sd-webui-colab can also run it in colab (includes img…

I'm one of the maintainers (in charge of the UI) for hlky webui repo! And we just updated our own colab, you can find it here : https://github.com/altryne/sd-webui-colab

Huge respect! Your colab file run perfectly, I’m using it for a few hours now, very addictive.

Re: Try Stable Diffusion's Img2Img Mode

#109
post #103
post #13

If you have a GPU with >4GB of VRAM and you want to run this locally, here's a fork of the Stable Diffusion repo with a convenient web UI: https://github.com/hlky/stable-diffusion It supports both txt2img and img2img. (Not affiliated.) Edit: Incidentally, I tried running it on a CPU. It is possible, but it took 3 minutes instead of 10 seconds to produce an image. It also required me to hack up the script in a really…

What are good and reasonably priced GPUs for this (<$250, possibly less)?

Not sure exact pricing but look for a used maxwell (geforce 1000 series) nvidia gpu i'd bet. A quadro m2000 with 4gb of ram was about 100 on ebay a short bit ago

Re: Try Stable Diffusion's Img2Img Mode

#110
post #13

If you have a GPU with >4GB of VRAM and you want to run this locally, here's a fork of the Stable Diffusion repo with a convenient web UI: https://github.com/hlky/stable-diffusion It supports both txt2img and img2img. (Not affiliated.) Edit: Incidentally, I tried running it on a CPU. It is possible, but it took 3 minutes instead of 10 seconds to produce an image. It also required me to hack up the script in a really…

Amazing. Anyone know of a fork where this is hosted on a cloud GPU? Or any existing hosting of this?
Post reply on HN