AttributeError: 'NoneType' object has no attribute 'shape'

#9
by CLOY01 - opened

New user here. I'm getting this error when I try to run these models. Any idea what I'm doing wrong?

Here's a screenshot.

screenshot1.1.png

looks like you are trying to use a SDXL controlnet model with a sd1.5 checkpoint. it only works if you use SDXL versions for both (or SD1.5 versions for both)

Yeap, that's the error @anilreddyg , thank you.

Hey, I have the same error but my controlnet model and checkpoint are same, can someone help solve this problem?

screencapture-127-0-0-1-7860-2023-12-21-19_52_34.png

@Currnt I'm no expert, but that controlnet model looks wrong 'control_lora_rank128_v11p_sd15_openpose', it says sd15 in the name but control loras were made for SDXL by Stability.ai I think.

can you try using 'control_lora_rank128_v11p_sd15_openpose' instead from lllyasviel/ControlNet-v1-1
direct link to the file: control_lora_rank128_v11p_sd15_openpose

@anilreddyg , I downloaded and changed openpose file as you said and it worked, thanks a lot)

Sign up or log in to comment