tencent-ailab / IP-Adapter

The image prompt adapter is designed to enable a pretrained text-to-image diffusion model to generate images with image prompt.
Apache License 2.0
4.53k stars 298 forks source link

Cant get it to work. What am i doing wrong? #234

Closed nivibilla closed 6 months ago

nivibilla commented 6 months ago

Hi,

I try to replicate your code on colab but im unable to get any good results, pls help

v1 https://colab.research.google.com/drive/1NrshXd-cBnrKSg_YHsCk-n1VK_XcGmBV?usp=sharing

v2 https://colab.research.google.com/drive/1XkEULw8s-F1eDfehFZ_HujlcQ-1zEwog?usp=sharing

xiaohu2015 commented 6 months ago

refer to this https://github.com/tencent-ailab/IP-Adapter/issues/189#issuecomment-1867722119

nivibilla commented 6 months ago

Ah I see, it doesn't work with safetensors. I will try with the diffusers format.

nivibilla commented 6 months ago

Yep works with diffusers version. But hopefully it can be fixed to work with single file too