Git Product home page Git Product logo

diffusers_ipadapter's People

Contributors

cubiq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

diffusers_ipadapter's Issues

Diffusers with Multiple IPadapters?

Hi and thank you for your amazing job.
I'm aware that with comfyui, it's possible to use multiple IPAdapter instances. However, I'm looking for insights on how to achieve this with diffusers and StableDiffusionPipelines.

  1. Can I use two IPAdapter instances within a single StableDiffusionPipelines pipeline in the diffusers library?
  2. If possible, how can I achieve this?
    thank you

Integrating with `sd-webui-controlnet` A1111 extension to allow for multiple images per IP Adapter module

I came across this video: https://www.youtube.com/watch?v=HtmIC6fqsMQ and this one: https://www.youtube.com/watch?v=7m9ZZFU3HWo and the results look great. IIUC, they're using multiple images with a single IP Adapter instance. So I went hunting for how to do this with A1111, but it looks like the most popular extension ( https://github.com/Mikubill/sd-webui-controlnet ) doesn't currently allow for multiple images.

I came across your comment here and am wondering if there's some way to integrate this with that A1111 extension?

I've not looked "under the hood" on IP adapter, this repo, or the controlnet extension, so I'm sorry if I've got some misunderstandings here! I'm very much toward the "end user" end of the spectrum.

Diffusers implementation for the attention mask workflow?

Hey great repo! I came across your comfyui workflow using attention mask (or multiple masks for different regions). Wondering if this would be implemented for diffusers as well? If not, would you mind providing some hints on how I can connect attention masks to ip adapters? Thanks!

Attention masking for diffuser version

Hello, I'm super glad you implmented ip-adapter for diffuser. However, i'm missing the Attention masking. Is there any way to add this to the diffuser version?

KeyError: 'image_proj' with SDXL models

Hi which IP Adapter models are we supposed to use for SDXL with this ?

I've tried all three SDXL models at
https://huggingface.co/h94/IP-Adapter/tree/main/sdxl_models
and they've all failed with...

[/content/Diffusers_IPAdapter/ip_adapter/ip_adapter.py](https://cn6dw4sgihk-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231019-090936_RC00_574892596#) in __init__(self, pipe, ipadapter_ckpt_path, image_encoder_path, device, dtype, resample)
     35 
     36         # detect features
---> 37         self.is_plus = "latents" in ipadapter_model["image_proj"]
     38         self.output_cross_attention_dim = ipadapter_model["ip_adapter"]["1.to_k_ip.weight"].shape[1]
     39         self.is_sdxl = self.output_cross_attention_dim == 2048

KeyError: 'image_proj'

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.