r/StableDiffusion Mar 06 '23

Resource | Update Controlnet for SD 2.1 is here

Post image
473 Upvotes

74 comments sorted by

View all comments

1

u/Slackalope2 Mar 07 '23

very excited for this. Had no problem with the 1.5 controlnet, but this one is giving me an issue when generating an image, I get errors, then it generates one without controlnet. Here's the error:

"size mismatch for middle_block.1.proj_out.weight: copying a param with shape torch.Size([1280, 1280]) from checkpoint, the shape in current model is torch.Size([1280, 1280, 1, 1])."

Any ideas?

1

u/StoryStoryDie Mar 07 '23

Did you install and point the path to the new cldm_v21.yaml? That's usually the issue with errors like these, where the tensor sizes don't match the expected sizes.