Looking forward to unmasked conditioning
https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/3669
This is going to be one of the biggest game-changers AUTO111 has ever implemented, in my opinion. Derived from the Runway ML masked approach for inpainting, it preserves the composition while allowing you to change the content, so you don't have to check every quadrant of the image at every generation.
If it works well enough, it could also enable photoreal, temporally-convincing animation (rather than the trippy stuff of Deforum).
About this post
- Posted
- Archived
- Score
- 27 · 97% up
- Kind
- Text
- ID
- yes978
18 comments
I copied the code to my own Automatic1111 and I can't figure out how to replicate the results presented on Github for this. [Correction: see edit below.]
I found an image of the Mona Lisa, resized it to 512px x 768px, put it into img2img, and set the settings as stated on Github:
A painting of a woman by Claude MonetSteps: 100, Sampler: DPM2 Karras, CFG scale: 7, Denoising strength: 0.8
Over in the settings tab I adjusted the new slider labled "Blend betweeen an unmasked and masked conditioning imge for inpainting models." (sic). The range is between 0 and 1.
I tried renders at 0, 0.5, and 1. I saw nothing like what was presented on the Github page. All I got were nice Monet-esque paintings of random women. As always, I could have done something wrong.
EDIT: I discovered that I each time I changed the setting I had to restart Automatic1111. This got better results. But they weren't as perfect as the examples given at Github. But, again, I have to admit that I may have missed something.
EDIT #2: I was using the v1-5-pruned.ckpt with poor results. u\Striking-Long-2960 pointed out that one should use sd-v1-5-inpainting.ckpt with this. It made a huge difference. Thanks!
Once installed, it works better with sd-v1-5-inpainting.ckpt (in fact I think it only works with that ckpt)
I think that is what you are missing.
You shouldn't need to restart automatic.
_That_ did the trick. I had been using v1-5-pruned.ckpt because I thought that was the working default at the moment. Thanks!
I think it is going to be a great addition to automatic, and is going to make Img2img attractive to everybody.
If this works like I hope it can work, it might be fantastic!
Iit works, I mean, it has its limitations but it's much better for certaint tasks that what we have now. And it gives more relaiable results, not like with the old method in which we are always subordinated to the seed, and success or failure depends on a random number.
Will this help with converting a photograph into a specified artistic style without changing the composition?
Some examples with pictures that you can find as new in this subreddit
https://imgur.com/a/HF84JP8
https://imgur.com/mhvWoVE
So I'm in the next level, creating derivative art from AI art pictures XD
It is interesting also, because there aren't masks involved in the process.
Should do, yes.
Does anyone have any recommendations for optimizing this? I've been playing with it for a while using different settings, and while it maintains composition almost miraculously, I'm finding that the inpainting model doesn't do the greatest job with the styles I'm prompting, and that everything seems to merge toward a specific high-contrast kind posterized/outlined look pretty quickly. Wondering if there's a combination anybody's come across yet that really nails both sides?
I'd also be interested to hear experiences - this has got very little sub publicity respective to its power, and I'm not sure it will really impact until someone posts some practical examples.
Is that the last of the Brunnen-G??
This is has been added to the master now if anyone has been waiting for it.
I just updated, but I can't see where to implement it.
There’s a slider in the settings page, search for “mask”.
Really looking forward to trying this too! I love doing loopback photo to (style) transformations, but I'm never 100% satisfied with how they turn out. Looks like this might make all the difference.