use IP-Adapter masking RuntimeError: mat1 and mat2 shapes cannot be multiplied (1028x1664 and 1280x1280) #9623
Unanswered
1272870698
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Hi, your code is not formatted so it's hard to read, but probably your error is because you're not changing the image encoder, if you use the vit-h IPAs you need to use the corresponding image encoder: pipeline.load_ip_adapter(
"h94/IP-Adapter",
subfolder="sdxl_models",
cache_dir=cache_dir,
weight_name=["ip-adapter-plus-face_sdxl_vit-h.safetensors"],
image_encoder_folder="models/image_encoder",
) |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
code is
error is
pelase help me
Beta Was this translation helpful? Give feedback.
All reactions