SD版本1.6
大模型是XL
使用controlNet时以下报错
报错:RuntimeError: mat1 and mat2 shapes cannot be multiplied (154x2048 and 768x320)
解决办法:大模型是XL的话,网站下载ControlNet的XL版本,是SD1.5的话就默认的可以
https://huggingface.co/lllyasviel/sd_control_collection/tree/main
文章讨论了在使用HuggingFace的ControlNet时遇到的RuntimeError,指出当使用大模型XL时需下载XL版本,SD版本1.6可能与默认版本不兼容,提供了解决方案。
SD版本1.6
大模型是XL
使用controlNet时以下报错
报错:RuntimeError: mat1 and mat2 shapes cannot be multiplied (154x2048 and 768x320)
解决办法:大模型是XL的话,网站下载ControlNet的XL版本,是SD1.5的话就默认的可以
https://huggingface.co/lllyasviel/sd_control_collection/tree/main
6214

被折叠的 条评论
为什么被折叠?