Closed ShylockGao closed 5 months ago
When I examined your edited comment history I saw that you added this line at the last edit:
+pipeline.load_ip_adapter("C:\\Users\\asus-\\IP-Adapter", subfolder="models", weight_name="ip-adapter_sd15_light.bin")
I am mentioning this because when I tried to reproduce the error I removed this line and the same error occurred. But, when I added it the error disappeared. Is there a possibility that you encountered the error when you didn't add that line and ran?
Describe the bug
I want to convert images into Image embeddings. When using StableDiffusionPipeline.prepare_ip_adapter_image_embeds, an error occurs:
AttributeError: 'NoneType' object has no attribute 'image_projection_layers'
Reproduction
Logs
System Info
diffusers
version: 0.27.2Who can help?
@yiyixuxu @DN6 @sayakpaul Look forward to reply