解决SDXL ControlNet Size异常问题
SDXL的ControlNet出现Size异常的解决
异常描述
平台 | Linux |
---|---|
前端 | WebUI version:f0.0.17v1.8.0rc-1.7.0 |
模型 | dreamshaperXL_turbo |
对于ControlNet的Canny、Blur、IP-Adaptor等模式下,出图均出现异常,异常如下
RuntimeError: Sizes of tensors must match except in dimension 2. Expected size 704 but got size 736 for tensor number 1 in the list.
Sizes of tensors must match except in dimension 2. Expected size 704 but got size 736 for tensor number 1 in the list.2.
解决方案
注意Width和Height,取32的整数倍即可
32的整数倍:
32 64 96 128 160 192 224 256 288 320 352 384 416 448 480 512 544 576 608 640 672 704 736 768 800 832 864 896 928
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果