You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error while loading adapter
It seems that i used wrong ckpt, but I've try './IP-Adapter/sdxl_models/ip-adapter_sdxl.bin' './IP-Adapter/sdxl_models/ip-adapter_sdxl.safetensors' './IP-Adapter/sdxl_models/ip-adapter_sdxl_vit-h.bin' './IP-Adapter/sdxl_models/ip-adapter_sdxl_vit-h.safetensors'
And It didn't work
Loading pipeline components...: 100%|██████████| 7/7 [00:00<00:00, 8.14it/s]
Traceback (most recent call last):
File "/mnt/e37aa9fa-bd22-4694-ac4e-d5ecb9d58c1c/brain/SDXL/SDXL_Adapter.py", line 43, in
main()
File "/mnt/e37aa9fa-bd22-4694-ac4e-d5ecb9d58c1c/brain/SDXL/SDXL_Adapter.py", line 29, in main
ip_model = IPAdapterXL(pipe, image_encoder_path, ip_ckpt, 'cuda')
File "/mnt/e37aa9fa-bd22-4694-ac4e-d5ecb9d58c1c/brain/SDXL/Adapter/ip_adapter.py", line 84, in init
self.load_ip_adapter()
File "/mnt/e37aa9fa-bd22-4694-ac4e-d5ecb9d58c1c/brain/SDXL/Adapter/ip_adapter.py", line 137, in load_ip_adapter
ip_layers.load_state_dict(state_dict["Adapter"])
KeyError: 'Adapter'
Error while loading adapter
It seems that i used wrong ckpt, but I've try
'./IP-Adapter/sdxl_models/ip-adapter_sdxl.bin' './IP-Adapter/sdxl_models/ip-adapter_sdxl.safetensors' './IP-Adapter/sdxl_models/ip-adapter_sdxl_vit-h.bin' './IP-Adapter/sdxl_models/ip-adapter_sdxl_vit-h.safetensors'
And It didn't work
Loading pipeline components...: 100%|██████████| 7/7 [00:00<00:00, 8.14it/s]
Traceback (most recent call last):
File "/mnt/e37aa9fa-bd22-4694-ac4e-d5ecb9d58c1c/brain/SDXL/SDXL_Adapter.py", line 43, in
main()
File "/mnt/e37aa9fa-bd22-4694-ac4e-d5ecb9d58c1c/brain/SDXL/SDXL_Adapter.py", line 29, in main
ip_model = IPAdapterXL(pipe, image_encoder_path, ip_ckpt, 'cuda')
File "/mnt/e37aa9fa-bd22-4694-ac4e-d5ecb9d58c1c/brain/SDXL/Adapter/ip_adapter.py", line 84, in init
self.load_ip_adapter()
File "/mnt/e37aa9fa-bd22-4694-ac4e-d5ecb9d58c1c/brain/SDXL/Adapter/ip_adapter.py", line 137, in load_ip_adapter
ip_layers.load_state_dict(state_dict["Adapter"])
KeyError: 'Adapter'
And here is my code
I refer to the demo
And I download the whole files from here
My packages are:
diffusers==0.28.0 torch==2.3.0 tokenizers==0.19.1 transformers==4.41.1
The text was updated successfully, but these errors were encountered: