imaginAIry icon indicating copy to clipboard operation
imaginAIry copied to clipboard

Include CrossAttentionControl as an alternative to clipseg

Open NiclasEriksen opened this issue 2 years ago • 2 comments

https://github.com/bloc97/CrossAttentionControl/

By the looks of it, this technique seems more intuitive and easier for beginners to use to get the desired output from SD, compared to mask prompts/images with clipseg. I feel like it could fit in well with this project as the goal of both seem to be ease of use.

Is this something that sounds reasonable, or am I overestimating the usefulness of this technique?

NiclasEriksen avatar Oct 06 '22 21:10 NiclasEriksen

The initial and target images must be generated with the same seed for cross attention control to work.

Apparently only works if you're modifying an image you generated, so it's not as useful as something that works on any image. Still, would be great to poke around in the code and see if it can be adapted.

brycedrennan avatar Oct 06 '22 21:10 brycedrennan

The original paper that repo is based on does indicate there is a way to apply it to normal images. Would be great to find someone who has implemented that part of it. Eventually I may get around to implementing it myself.

brycedrennan avatar Oct 07 '22 00:10 brycedrennan

I haven't seen any implementations of this and I don't think I'll get around to it. Clipseg appears to work well enough for now.

brycedrennan avatar Jan 16 '23 21:01 brycedrennan

its happening

brycedrennan avatar Jan 21 '23 17:01 brycedrennan

This is now released in v8.0.0. check it out!

brycedrennan avatar Jan 22 '23 03:01 brycedrennan