-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
How can I get correct ip adapter image embeds? I got 4D tensors and I cannnot use it. #7168
Comments
I just noticed that I didn't test the embeds with the PLUS versions, this issue is because the shapes are different for those, in the meantime the embeds will work only with the normal IP Adapter. |
@sayakpaul |
I have a fix for this since I was using them for my post and wanted to try the latest changes, should I create a PR? |
@asomoza |
how can i convert an embed 4d to 3d tensor embed? |
Describe the bug
IP Adapter image embed should be 3D tensors. But I got 4D tensors.
Reproduction
outputs is
3D tensors is preferred, but 4D can be obtained. And I cannot use it.
Logs
ValueError: `ip_adapter_image_embeds` has to be a list of 3D tensors but is 4D
System Info
diffusers
version: 0.27.0.dev0Who can help?
@sayakpaul
@yiyixuxu
The text was updated successfully, but these errors were encountered: