1、问题描述,使用controlnet时报错如下
error running process: G:\0111\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "G:\0111\stable-diffusion-webui\modules\scripts.py", line 418, in process
script.process(p, *script_args)
File "G:\0111\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 998, in process
self.enabled_units = self.get_enabled_units(p)
File "G:\0111\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 957, in get_enabled_units
unit = self.parse_remote_call(p, unit, idx)
File "G:\0111\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 809, in parse_remote_call
unit.enabled = selector(p, "control_net_enabled", unit.enabled, idx, strict=True)
AttributeError: 'list' object has no attribute 'enabled'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。
2、解决方式:关掉一些其他插件
把SD-CN-Animation和segment-anything这两个扩展关了
扩展冲突,暂时不清楚原因,关了就好了