Error completing request / Error when generating an image with ConrolNet activated. #1883
Unanswered
JosephEdelstein
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
2023-08-06 16:52:02,564 - ControlNet - INFO - Loading model: control_v11p_sd15_canny [d14c016b]
| 20/20 [02:07<00:00, 2.53s/it]
2023-08-06 16:52:02,980 - ControlNet - INFO - Loaded state_dict from [D:\Stable Diffusion\stable-diffusion-webui\models\ControlNet\control_v11p_sd15_canny.pth]
2023-08-06 16:52:02,981 - ControlNet - INFO - Loading config: D:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\models\control_v11p_sd15_canny.yaml
2023-08-06 16:52:05,479 - ControlNet - INFO - ControlNet model control_v11p_sd15_canny [d14c016b] loaded.
2023-08-06 16:52:05,522 - ControlNet - INFO - Loading preprocessor: canny
2023-08-06 16:52:05,522 - ControlNet - INFO - preprocessor resolution = 512
*** Error completing request
*** Arguments: ('task(ra4b3d3787t2f58)', 'Pirate hat\n\n', '\n', [], 20, 0, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 0, '', '', [], <gradio.routes.Request object at 0x00000283B051E110>, 0, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x00000283B051EDA0>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x00000284A73FB130>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x00000284A73FA6B0>, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0, None, None, False, None, None, False, None, None, False, 50) {}
Traceback (most recent call last):
File "D:\Stable Diffusion\stable-diffusion-webui\modules\call_queue.py", line 58, in f
res = list(func(*args, **kwargs))
File "D:\Stable Diffusion\stable-diffusion-webui\modules\call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "D:\Stable Diffusion\stable-diffusion-webui\modules\txt2img.py", line 62, in txt2img
processed = processing.process_images(p)
File "D:\Stable Diffusion\stable-diffusion-webui\modules\processing.py", line 677, in process_images
res = process_images_inner(p)
File "D:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\batch_hijack.py", line 42, in processing_process_images_hijack
return getattr(processing, '__controlnet_original_process_images_inner')(p, *args, **kwargs)
File "D:\Stable Diffusion\stable-diffusion-webui\modules\processing.py", line 794, in process_images_inner
samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)
File "D:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\hook.py", line 346, in process_sample
mark_prompt_context(kwargs.get('conditioning', []), positive=True)
File "D:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\hook.py", line 41, in mark_prompt_context
x.batch = mark_prompt_context(x.batch, positive)
File "D:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\hook.py", line 38, in mark_prompt_context
x[i] = mark_prompt_context(x[i], positive)
File "D:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\hook.py", line 38, in mark_prompt_context
x[i] = mark_prompt_context(x[i], positive)
File "D:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\hook.py", line 44, in mark_prompt_context
x.schedules = mark_prompt_context(x.schedules, positive)
File "D:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\hook.py", line 38, in mark_prompt_context
x[i] = mark_prompt_context(x[i], positive)
File "D:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\hook.py", line 48, in mark_prompt_context
if prompt_context_is_marked(cond):
File "D:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\hook.py", line 29, in prompt_context_is_marked
t = x[..., 0, :]
TypeError: unhashable type: 'slice'
Beta Was this translation helpful? Give feedback.
All reactions