deforum-art / sd-webui-deforum

Deforum extension for AUTOMATIC1111's Stable Diffusion webui
https://deforum.github.io
Other
2.66k stars 388 forks source link

[Bug]: Using ControlNet in Deforum breaks ControlNet until restart #785

Closed MakingMadness closed 1 year ago

MakingMadness commented 1 year ago

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

  1. Install a1111, install deforum, install cnet.
  2. Put models in the cnet and sd folders.
  3. Use cnet in txt2img to verify that it works.
  4. Enable either canny or openpose cnet in deforum and specify a video.
  5. Leave all other settings as default and hit generate.
  6. Go to txt2img and try to gen with cnet again.
  7. Receive error 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

Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: ################################################################
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: Install script for stable-diffusion + Web UI
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: Tested on Debian 11 (Bullseye)
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: ################################################################
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: ################################################################
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: Running on zzz user
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: ################################################################
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: ################################################################
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: Repo already cloned, using it as install directory
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: ################################################################
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: ################################################################
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: Create and activate python venv
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: ################################################################
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: ################################################################
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: Launching launch.py...
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: ################################################################
Jun 11 18:05:52 zzz start-stable-diffusion-server[488521]: Using TCMalloc: libtcmalloc.so.4
Jun 11 18:05:59 zzz start-stable-diffusion-server[488521]: Python 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]
Jun 11 18:05:59 zzz start-stable-diffusion-server[488521]: Version: v1.3.2
Jun 11 18:05:59 zzz start-stable-diffusion-server[488521]: Commit hash: baf6946e06249c5af9851c60171692c44ef633e0
Jun 11 18:05:59 zzz start-stable-diffusion-server[488521]: Installing requirements
Jun 11 18:05:59 zzz start-stable-diffusion-server[488521]: Launching Web UI with arguments: --listen --opt-sdp-attention
Jun 11 18:05:59 zzz start-stable-diffusion-server[488521]: No module 'xformers'. Proceeding without it.
Jun 11 18:05:59 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:05:59,552 - ControlNet - INFO - ControlNet v1.1.224
Jun 11 18:05:59 zzz start-stable-diffusion-server[488521]: ControlNet preprocessor location: /home/zzz/ai/software/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
Jun 11 18:05:59 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:05:59,619 - ControlNet - INFO - ControlNet v1.1.224
Jun 11 18:06:00 zzz start-stable-diffusion-server[488521]: Loading weights [c6ca87a2ae] from /home/zzz/ai/software/stable-diffusion-webui/models/Stable-diffusion/furryrock_v10x0.731+deliberate_v2x0.269.safetensors
Jun 11 18:06:00 zzz start-stable-diffusion-server[488521]: *Deforum ControlNet support: enabled*
Jun 11 18:06:13 zzz start-stable-diffusion-server[488521]: Running on local URL:  http://0.0.0.0:7860
Jun 11 18:06:13 zzz start-stable-diffusion-server[488521]: To create a public link, set `share=True` in `launch()`.
Jun 11 18:06:13 zzz start-stable-diffusion-server[488521]: Startup time: 3.8s (import torch: 0.8s, import gradio: 0.8s, import ldm: 0.3s, other imports: 0.4s, list SD models: 0.2s, load scripts: 0.6s, create ui: 0.4s, gradio launch: 0.1s).
Jun 11 18:06:13 zzz start-stable-diffusion-server[488521]: Creating model from config: /home/zzz/ai/software/stable-diffusion-webui/configs/v1-inference.yaml
Jun 11 18:06:13 zzz start-stable-diffusion-server[488521]: LatentDiffusion: Running in eps-prediction mode
Jun 11 18:06:13 zzz start-stable-diffusion-server[488521]: DiffusionWrapper has 859.52 M params.
Jun 11 18:06:13 zzz start-stable-diffusion-server[488521]: Applying optimization: sdp... done.
Jun 11 18:06:13 zzz start-stable-diffusion-server[488521]: Textual inversion embeddings loaded(51): 512-alyson-hannigan, 512-autumn-style, 512-autumn-style-neg, 512-bad-prompt, 512-bad-prompt-v2, 512-blindfold, 512-castles, 512-castles-neg, 512-emma-stone, 512-enid-sinclair, 512-fairy-tale-painting-style, 512-ghostly, 512-goblin-girl, 512-hades-style, 512-hamunaptra-style, 512-hrgiger-drmacabre, 512-midjourney-style, 512-moebius-style, 512-my-hero-academia-style, 512-psycho, 512-psycho-neg, 512-red-dungeon, 512-renaissance-style, 512-robo-face, 512-toga-himiko, 512-victorian, 512-victorian-neg, 512-wednesday, 512-winter-style, 512-winter-style-neg, AloePhotoReal, bad-hands-5, bad-image-v2-39000, bad_quality, corneo_runny_makeup, emma-myers-short-2200, manic grin, negative_hand-neg, ozzy-3, ozzy-3-2550, ozzy-the-dog, ozzy-the-dog-2, ozzy-the-dog-2-750, ozzy-the-dog-3, ozzy-the-dog-500, Style-TronLegacy-12v-v2, test, TogaHimiko, vile_prompt3, zolaba, zolaba-8v
Jun 11 18:06:13 zzz start-stable-diffusion-server[488521]: Textual inversion embeddings skipped(43): 768-action-helper, 768-tungsten-portrait, dgtlv2, ozzy-the-dog-illum2, kc8-v4-5000, knollingcase-3500, hellscape768, 768-hyper-smoke, 768-painted-landscape, nrealfixer, 768-heart-art, kc32-v4-5000, ozzy-the-dog-illum, VikingPunk-63, 768-alien-anatomy, Verdict Rubicon, 768-cinema-helper, FloralMarble, 768-painted-abstract, 768-fragments, tf86movie-550, kc16-v4-5000, nartfixer, 768-car-helper, 768-lax-paint, 768-this-honor, ChemPunk-96, Apoc768, nfixer, CutAway-500, HyperFluid-300, 768-cyber-journey, 768-lysergian-dreams, Kipaki-150, glitch, 768-dave-space, 768-cockpit, 768-anthro, 768-horror-by-dave, 768-joe87-vibe, 768-photo-helper, 768-parchart, 768-oil-painting
Jun 11 18:06:13 zzz start-stable-diffusion-server[488521]: Model loaded in 3.6s (load weights from disk: 0.6s, create model: 0.3s, apply weights to model: 0.5s, apply half(): 1.4s, move model to device: 0.3s, load textual inversion embeddings: 0.3s).
Jun 11 18:06:14 zzz start-stable-diffusion-server[488521]: [39B blob data]
Jun 11 18:06:14 zzz start-stable-diffusion-server[488521]: [107B blob data]
Jun 11 18:06:14 zzz start-stable-diffusion-server[488521]: [176B blob data]
Jun 11 18:06:14 zzz start-stable-diffusion-server[488521]: [132B blob data]
Jun 11 18:06:14 zzz start-stable-diffusion-server[488521]: [141B blob data]
Jun 11 18:06:14 zzz start-stable-diffusion-server[488521]: [215B blob data]
Jun 11 18:06:14 zzz start-stable-diffusion-server[488521]: [155B blob data]
Jun 11 18:06:19 zzz start-stable-diffusion-server[488521]: [171B blob data]
Jun 11 18:06:19 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:06:19,935 - ControlNet - INFO - Loading model: control_v11p_sd15_canny [d14c016b]
Jun 11 18:06:20 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:06:20,144 - ControlNet - INFO - Loaded state_dict from [/home/zzz/ai/software/stable-diffusion-webui/models/ControlNet/control_v11p_sd15_canny.pth]
Jun 11 18:06:20 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:06:20,144 - ControlNet - INFO - Loading config: /home/zzz/ai/software/stable-diffusion-webui/models/ControlNet/control_v11p_sd15_canny.yaml
Jun 11 18:06:22 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:06:22,245 - ControlNet - INFO - ControlNet model control_v11p_sd15_canny [d14c016b] loaded.
Jun 11 18:06:22 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:06:22,246 - ControlNet - INFO - Loading preprocessor: canny
Jun 11 18:06:22 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:06:22,246 - ControlNet - INFO - preprocessor resolution = 512
Jun 11 18:06:22 zzz start-stable-diffusion-server[488521]: [39B blob data]
Jun 11 18:06:22 zzz start-stable-diffusion-server[488521]: [107B blob data]
Jun 11 18:06:22 zzz start-stable-diffusion-server[488521]: [121B blob data]
Jun 11 18:06:23 zzz start-stable-diffusion-server[488521]: [180B blob data]
Jun 11 18:06:23 zzz start-stable-diffusion-server[488521]: [134B blob data]
Jun 11 18:06:23 zzz start-stable-diffusion-server[488521]: [139B blob data]
Jun 11 18:06:23 zzz start-stable-diffusion-server[488521]: [143B blob data]
Jun 11 18:06:23 zzz start-stable-diffusion-server[488521]: [147B blob data]
Jun 11 18:06:23 zzz start-stable-diffusion-server[488521]: [151B blob data]
Jun 11 18:06:23 zzz start-stable-diffusion-server[488521]: [223B blob data]
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: [171B blob data]
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: Deforum extension for auto1111 webui, v2.4b
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: Git commit: b58056f9
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: Unpacking ControlNet 1 base video
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: Exporting Video Frames to /home/zzz/ai/software/stable-diffusion-webui/outputs/img2img-images/Deforum_20230611180702/controlnet_1_inputframes...
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: Trying to extract frames from video with input FPS of 30.182926829268293. Please wait patiently.
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: Extracted 164 frames from video in 0.20 seconds!
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: Loading 120 input frames from /home/zzz/ai/software/stable-diffusion-webui/outputs/img2img-images/Deforum_20230611180702/controlnet_1_inputframes and saving video frames to /home/zzz/ai/software/stable-diffusion-webui/outputs/img2img-images/Deforum_20230611180702
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: ControlNet 1 base video unpacked!
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: Saving animation frames to:
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: /home/zzz/ai/software/stable-diffusion-webui/outputs/img2img-images/Deforum_20230611180702
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: Animation frame: 0/120
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: Seed: 864639118
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: Prompt: tiny cute bunny, vibrant diffraction, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: Neg Prompt: nsfw, nude
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: Not using an init image (doing pure txt2img)
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: ╭─────┬───┬───────┬─────┬──────┬────┬────╮
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: │Steps│CFG│Denoise│Angle│ Zoom │Tr X│Tr Y│
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: ├─────┼───┼───────┼─────┼──────┼────┼────┤
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: │ 25  │7.0│   0   │  0  │1.0025│ 0  │ 0  │
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: ╰─────┴───┴───────┴─────┴──────┴────┴────╯
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: Reading ControlNet 1 base frame #0 at /home/zzz/ai/software/stable-diffusion-webui/outputs/img2img-images/Deforum_20230611180702/controlnet_1_inputframes/000000000.jpg
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:02,715 - ControlNet - INFO - Loading model from cache: control_v11p_sd15_canny [d14c016b]
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:02,715 - ControlNet - INFO - Loading preprocessor: canny
Jun 11 18:07:02 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:02,715 - ControlNet - INFO - preprocessor resolution = 512
Jun 11 18:07:03 zzz start-stable-diffusion-server[488521]: [39B blob data]
Jun 11 18:07:03 zzz start-stable-diffusion-server[488521]: [110B blob data]
Jun 11 18:07:03 zzz start-stable-diffusion-server[488521]: [120B blob data]
Jun 11 18:07:03 zzz start-stable-diffusion-server[488521]: [177B blob data]
Jun 11 18:07:03 zzz start-stable-diffusion-server[488521]: [127B blob data]
Jun 11 18:07:03 zzz start-stable-diffusion-server[488521]: [130B blob data]
Jun 11 18:07:03 zzz start-stable-diffusion-server[488521]: [132B blob data]
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: [134B blob data]
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: [136B blob data]
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: [136B blob data]
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: [138B blob data]
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: [208B blob data]
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: Animation frame: 2/120
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: Creating in-between cadence frame: 0; tween:0.50;
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: Creating in-between cadence frame: 1; tween:1.00;
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: Seed: 864639119
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: Prompt: tiny cute bunny, vibrant diffraction, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: Neg Prompt: nsfw, nude
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: ╭─────┬───┬───────┬─────┬─────┬────┬────╮
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: │Steps│CFG│Denoise│Angle│Zoom │Tr X│Tr Y│
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: ├─────┼───┼───────┼─────┼─────┼────┼────┤
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: │ 25  │7.0│ 0.35  │  0  │1.003│ 0  │ 0  │
Jun 11 18:07:04 zzz start-stable-diffusion-server[488521]: ╰─────┴───┴───────┴─────┴─────┴────┴────╯
Jun 11 18:07:05 zzz start-stable-diffusion-server[488521]: Reading ControlNet 1 base frame #2 at /home/zzz/ai/software/stable-diffusion-webui/outputs/img2img-images/Deforum_20230611180702/controlnet_1_inputframes/000000002.jpg
Jun 11 18:07:05 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:05,009 - ControlNet - INFO - Loading model: control_v11p_sd15_canny [d14c016b]
Jun 11 18:07:05 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:05,195 - ControlNet - INFO - Loaded state_dict from [/home/zzz/ai/software/stable-diffusion-webui/models/ControlNet/control_v11p_sd15_canny.pth]
Jun 11 18:07:05 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:05,196 - ControlNet - INFO - Loading config: /home/zzz/ai/software/stable-diffusion-webui/models/ControlNet/control_v11p_sd15_canny.yaml
Jun 11 18:07:07 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:07,049 - ControlNet - INFO - ControlNet model control_v11p_sd15_canny [d14c016b] loaded.
Jun 11 18:07:07 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:07,050 - ControlNet - INFO - Loading preprocessor: canny
Jun 11 18:07:07 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:07,050 - ControlNet - INFO - preprocessor resolution = 512
Jun 11 18:07:07 zzz start-stable-diffusion-server[488521]: [38B blob data]
Jun 11 18:07:07 zzz start-stable-diffusion-server[488521]: [124B blob data]
Jun 11 18:07:07 zzz start-stable-diffusion-server[488521]: [128B blob data]
Jun 11 18:07:07 zzz start-stable-diffusion-server[488521]: [132B blob data]
Jun 11 18:07:07 zzz start-stable-diffusion-server[488521]: [136B blob data]
Jun 11 18:07:07 zzz start-stable-diffusion-server[488521]: [138B blob data]
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: Animation frame: 4/120
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: Creating in-between cadence frame: 2; tween:0.50;
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: Creating in-between cadence frame: 3; tween:1.00;
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: Seed: 864639120
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: Prompt: tiny cute bunny, vibrant diffraction, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: Neg Prompt: nsfw, nude
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: ╭─────┬───┬───────┬─────┬──────┬────┬────╮
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: │Steps│CFG│Denoise│Angle│ Zoom │Tr X│Tr Y│
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: ├─────┼───┼───────┼─────┼──────┼────┼────┤
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: │ 25  │7.0│ 0.35  │  0  │1.0035│ 0  │ 0  │
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: ╰─────┴───┴───────┴─────┴──────┴────┴────╯
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: Reading ControlNet 1 base frame #4 at /home/zzz/ai/software/stable-diffusion-webui/outputs/img2img-images/Deforum_20230611180702/controlnet_1_inputframes/000000004.jpg
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:08,210 - ControlNet - INFO - Loading model from cache: control_v11p_sd15_canny [d14c016b]
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:08,211 - ControlNet - INFO - Loading preprocessor: canny
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:08,211 - ControlNet - INFO - preprocessor resolution = 512
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: [38B blob data]
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: [124B blob data]
Jun 11 18:07:08 zzz start-stable-diffusion-server[488521]: [128B blob data]
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: [132B blob data]
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: [202B blob data]
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: Animation frame: 6/120
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: Creating in-between cadence frame: 4; tween:0.50;
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: Creating in-between cadence frame: 5; tween:1.00;
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: Seed: 864639121
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: Prompt: tiny cute bunny, vibrant diffraction, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: Neg Prompt: nsfw, nude
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: ╭─────┬───┬───────┬─────┬──────┬────┬────╮
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: │Steps│CFG│Denoise│Angle│ Zoom │Tr X│Tr Y│
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: ├─────┼───┼───────┼─────┼──────┼────┼────┤
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: │ 25  │7.0│ 0.35  │  0  │1.0039│ 0  │ 0  │
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: ╰─────┴───┴───────┴─────┴──────┴────┴────╯
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: Reading ControlNet 1 base frame #6 at /home/zzz/ai/software/stable-diffusion-webui/outputs/img2img-images/Deforum_20230611180702/controlnet_1_inputframes/000000006.jpg
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:09,338 - ControlNet - INFO - Loading model from cache: control_v11p_sd15_canny [d14c016b]
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:09,338 - ControlNet - INFO - Loading preprocessor: canny
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:09,338 - ControlNet - INFO - preprocessor resolution = 512
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: [38B blob data]
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: [124B blob data]
Jun 11 18:07:09 zzz start-stable-diffusion-server[488521]: [128B blob data]
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: [132B blob data]
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: [247B blob data]
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: [138B blob data]
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:10,228 - httpx - INFO - HTTP Request: POST http://localhost:7860/reset "HTTP/1.1 200 OK"
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: Animation frame: 8/120
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: Creating in-between cadence frame: 6; tween:0.50;
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: Creating in-between cadence frame: 7; tween:1.00;
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: Seed: 864639122
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: Prompt: tiny cute bunny, vibrant diffraction, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: Neg Prompt: nsfw, nude
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: [69B blob data]
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: Got a request to stitch frames to video using FFmpeg.
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: Frames:
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: /home/zzz/ai/software/stable-diffusion-webui/outputs/img2img-images/Deforum_20230611180702/20230611180702_%09d.png
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: To Video:
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: /home/zzz/ai/software/stable-diffusion-webui/outputs/img2img-images/Deforum_20230611180702/20230611180702.mp4
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: [62B blob data]
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: [38B blob data]
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:10,796 - httpx - INFO - HTTP Request: POST http://localhost:7860/api/predict "HTTP/1.1 200 OK"
Jun 11 18:07:10 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:10,799 - httpx - INFO - HTTP Request: POST http://localhost:7860/reset "HTTP/1.1 200 OK"
Jun 11 18:07:16 zzz start-stable-diffusion-server[488521]: Error running process: /home/zzz/ai/software/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py
Jun 11 18:07:16 zzz start-stable-diffusion-server[488521]: Traceback (most recent call last):
Jun 11 18:07:16 zzz start-stable-diffusion-server[488521]:   File "/home/zzz/ai/software/stable-diffusion-webui/modules/scripts.py", line 451, in process
Jun 11 18:07:16 zzz start-stable-diffusion-server[488521]:     script.process(p, *script_args)
Jun 11 18:07:16 zzz start-stable-diffusion-server[488521]:   File "/home/zzz/ai/software/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 653, in process
Jun 11 18:07:16 zzz start-stable-diffusion-server[488521]:     self.enabled_units = Script.get_enabled_units(p)
Jun 11 18:07:16 zzz start-stable-diffusion-server[488521]:   File "/home/zzz/ai/software/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 534, in get_enabled_units
Jun 11 18:07:16 zzz start-stable-diffusion-server[488521]:     unit = Script.parse_remote_call(p, unit, idx)
Jun 11 18:07:16 zzz start-stable-diffusion-server[488521]:   File "/home/zzz/ai/software/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 382, in parse_remote_call
Jun 11 18:07:16 zzz start-stable-diffusion-server[488521]:     unit.enabled = selector(p, "control_net_enabled", unit.enabled, idx, strict=True)
Jun 11 18:07:16 zzz start-stable-diffusion-server[488521]: AttributeError: 'bool' object has no attribute 'enabled'
Jun 11 18:07:16 zzz start-stable-diffusion-server[488521]: [39B blob data]
Jun 11 18:07:17 zzz start-stable-diffusion-server[488521]: [109B blob data]
Jun 11 18:07:17 zzz start-stable-diffusion-server[488521]: [123B blob data]
Jun 11 18:07:17 zzz start-stable-diffusion-server[488521]: [131B blob data]
Jun 11 18:07:17 zzz start-stable-diffusion-server[488521]: [203B blob data]
Jun 11 18:07:17 zzz start-stable-diffusion-server[488521]: [149B blob data]
Jun 11 18:07:17 zzz start-stable-diffusion-server[488521]: [155B blob data]
Jun 11 18:07:17 zzz start-stable-diffusion-server[488521]: [282B blob data]
Jun 11 18:07:17 zzz start-stable-diffusion-server[488521]: 2023-06-11 18:07:17,724 - httpx - INFO - HTTP Request: POST http://localhost:7860/reset "HTTP/1.1 200 OK"

Additional information

Ubuntu 22.04.2 LTS Python: 3.10.6 Nvidia Driver Version: 530.41.03 CUDA Version: 12.1

Vendaciousness commented 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

MakingMadness commented 1 year ago

With the latest versions of everything this no longer happens.