Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this compatible with IP- Adapter faceID, can you explain how to use this code with pre trained IP-Adapter FaceID #27

Open
unboxdisease opened this issue Apr 15, 2024 · 5 comments

Comments

@unboxdisease
Copy link

I have a pretrained IP-Adapter that uses adaface embeddings, i am trying to stylize the outputs, i think this method can help, but i dont think it is compatible with faceID is it?

@tanghengjian
Copy link

@haofanwang
Copy link

Our team is working on integrating InstantStyle into native diffusers API (check this PR), once it merged, we will officially support multiple IPA, InstantID+InstantStyle, InstantStyle+IP-Adapter.

@plienhar
Copy link

plienhar commented May 3, 2024

@haofanwang Do you have a code example for InstantID+InstantStyle? Loading of InstantID IP adapter is pretty custom, it is hard to figure out how that interacts with a second adapter loaded separately when you don't know the inner workings of diffusers. Many thanks in advance!

@elismasilva
Copy link

@haofanwang Do you have a code example for InstantID+InstantStyle? Loading of InstantID IP adapter is pretty custom, it is hard to figure out how that interacts with a second adapter loaded separately when you don't know the inner workings of diffusers. Many thanks in advance!

even multiple ipa on diffusers is not working properly, maybe shape problem of models. I am trying do my own pipeline to load instant id and instant style together but i am stucking in image emb problem because instant id use controlidentity with 3d shape tensors, diffusers does 4d tensors, and other problem is attn processors.

@xiankgx
Copy link

xiankgx commented May 13, 2024

Is this an issue related to IP-Adapter vs IP-Adapter Plus?

IP Adapter plus works not with image embeddings, but image "fine-grained features".
For example, IPAdapterXL vs IPAdapterPlusXL image embeddings shape is (1, 1280) vs (1, 257, 1280) respectively. This suggests the Plus SDXL models learned from more fine grained features (features from image patches).

This means embedding arithmetic like "king" - "man" + "woman" as demonstrated with this repo will likely not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants