Closed MakingMadness closed 1 year ago
I also have this on Windows 10 x64, with both Vlad's Automatic and Automatic1111 WebUI versions, except I can run ControlNet modules in Deforum all I wish, but once I have, I cannot get even one module to work in txt2img or img2img tabs, without restarting.
Here's a traceback:
Error running process: G:\Code\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "G:\Code\stable-diffusion-webui\modules\scripts.py", line 418, in process
script.process(p, *script_args)
File "G:\Code\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 643, in process
self.enabled_units = Script.get_enabled_units(p)
File "G:\Code\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 526, in get_enabled_units
unit = Script.parse_remote_call(p, unit, idx)
File "G:\Code\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 374, in parse_remote_call
unit.enabled = selector(p, "control_net_enabled", unit.enabled, idx, strict=True)
AttributeError: 'bool' object has no attribute 'enabled'
100%|██████████████████████████████████████████| 20/20 [00:03<00:00, 5.80it/s]
The image is still created, just without ControlNet.
Auto1111 Info: Version: [v1.2.1] Commit: 89f9faa63388756314e8a1d96cf86bf5e0663045) Python: 3.10.9 Torch: 2.0.0+cu118 Xformers: 0.0.17 gradio: 3.32.0 checkpoint:661697d235e1930b02edf5abf7d1f19aef7251613e24ca768e0b7c4a36475f94
Hardware Info: DirectX version: 12.0 GPU processor: NVIDIA GeForce RTX 3080 Driver version: 535.98 Driver Type: DCH Direct3D feature level: 12_1 Video BIOS version: 94.02.42.80.31 Part Number: G132 0030
-V
With the latest versions of everything this no longer happens.
Have you read the latest version of the FAQ?
Is there an existing issue for this?
Are you using the latest version of the Deforum extension?
What happened?
After the first gen using Deforum & ControlNet, any further attempts to use ControlNet in either Deforum or txt2img won't work. I'm using a fresh install of a1111 with only fresh installs of cnet and deforum extensions, no other extensions. Using ControlNet outside of Deforum works fine.
My full list of extensions:
I don't have any weird settings because everything is default, this is a fresh install.
Steps to reproduce the problem
AttributeError: 'bool' object has no attribute 'enabled'
in the console, and cnet won't work.What should have happened/how would you fix it?
Cnet should continue to work.
Torch version
torch: 2.0.1+cu118
On which platform are you launching the webui with the extension?
Local PC setup (Linux)
Deforum settings
Defaults from a clean install.
Webui core settings
Defaults from a clean install.
Console logs
Additional information
Ubuntu 22.04.2 LTS Python: 3.10.6 Nvidia Driver Version: 530.41.03 CUDA Version: 12.1