Git Product home page Git Product logo

Comments (5)

huchenlei avatar huchenlei commented on July 29, 2024 2

I can confirm that using attn injection is going to yield worse results. The reason behind is that IPAdapter also injects attn blocks, so there might be conflict on attn weights trying to adapt to 2 tasks at the same time.

from comfyui-layerdiffuse.

huchenlei avatar huchenlei commented on July 29, 2024

Tested that it works for IP-Adapter. Just make sure your input to IPAdapter should ideally have simple background or transparent background so that there are not too much noise information from the background getting captured.

image
ld_ipadapter.json

from comfyui-layerdiffuse.

ynie avatar ynie commented on July 29, 2024

Got it. Thank you!

from comfyui-layerdiffuse.

ynie avatar ynie commented on July 29, 2024

Actually, just to follow your example, has the attention injection ever work for you? If I choose to use attention injection, the rendering seems broken to me, which is very different than the author mentioned here:

https://github.com/layerdiffusion/sd-forge-layerdiffuse
However, in practice, I find the layer_xl_transparent_attn.safetensors will lead to better results. This layer_xl_transparent_conv.safetensors is still included for some special use cases that needs special prompt understanding. Also, this model may introduce a strong style influence to the base model.

from comfyui-layerdiffuse.

ynie avatar ynie commented on July 29, 2024

It does seem like using Conv will impact the rendering quality. I'm wondering if there's any better solution to this.

from comfyui-layerdiffuse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.