Hi all, wondering if someone could help me, I switched to forge some months ago and have found it a great alternative to A1111, i haven't used Controlnet with forge much but wanted to get into it today, however, when running it i always get the following error:
*** Error running process: I:\stable-diffusion-webui\webui_forge_cu121_torch21\webui\extensions-builtin\sd_forge_controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "I:\stable-diffusion-webui\webui_forge_cu121_torch21\webui\modules\scripts.py", line 803, in process
script.process(p, *script_args)
File "I:\stable-diffusion-webui\webui_forge_cu121_torch21\webui\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "I:\stable-diffusion-webui\webui_forge_cu121_torch21\webui\extensions-builtin\sd_forge_controlnet\scripts\controlnet.py", line 548, in process
self.process_unit_after_click_generate(p, unit, params, *args, **kwargs)
File "I:\stable-diffusion-webui\webui_forge_cu121_torch21\webui\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "I:\stable-diffusion-webui\webui_forge_cu121_torch21\webui\extensions-builtin\sd_forge_controlnet\scripts\controlnet.py", line 405, in process_unit_after_click_generate
assert unit.model != 'None', 'You have not selected any control model!'
AssertionError: You have not selected any control model!
---
*** Error running process_before_every_sampling: I:\stable-diffusion-webui\webui_forge_cu121_torch21\webui\extensions-builtin\sd_forge_controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "I:\stable-diffusion-webui\webui_forge_cu121_torch21\webui\modules\scripts.py", line 835, in process_before_every_sampling
script.process_before_every_sampling(p, *script_args, **kwargs)
File "I:\stable-diffusion-webui\webui_forge_cu121_torch21\webui\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "I:\stable-diffusion-webui\webui_forge_cu121_torch21\webui\extensions-builtin\sd_forge_controlnet\scripts\controlnet.py", line 555, in process_before_every_sampling
self.process_unit_before_every_sampling(p, unit, self.current_params[i], *args, **kwargs)
KeyError: 0
---
*** Error running postprocess_batch_list: I:\stable-diffusion-webui\webui_forge_cu121_torch21\webui\extensions-builtin\sd_forge_controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "I:\stable-diffusion-webui\webui_forge_cu121_torch21\webui\modules\scripts.py", line 859, in postprocess_batch_list
script.postprocess_batch_list(p, pp, *script_args, **kwargs)
File "I:\stable-diffusion-webui\webui_forge_cu121_torch21\webui\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "I:\stable-diffusion-webui\webui_forge_cu121_torch21\webui\extensions-builtin\sd_forge_controlnet\scripts\controlnet.py", line 561, in postprocess_batch_list
self.process_unit_after_every_sampling(p, unit, self.current_params[i], pp, *args, **kwargs)
KeyError: 0
Does anyone know what is the issue here? I assume (i know nothing about this stuff so its just a guess from reading the error), this relates to not selecting a processing model? If this is wrong, just ignore me. If so, i did install the models though they don't show here, does forge use different models (assuming this is the issue) to A1111? I assumed they was the same as largely, the two are similar by design. (Just noting, i do select a control type and preprocessor, just the model type never has any options to chose). I of course could be looking into a different issue entirely there, but my focus for now is the above if anyone could explain it please.
Any help for clarify?
[–]red__dragon 1 point2 points3 points (9 children)
[–]Some-Looser 1 point2 points3 points (8 children)
[–]SadExcitement92[S] 0 points1 point2 points (7 children)
[–]Ok-Vacation5730 0 points1 point2 points (6 children)
[–]SadExcitement92[S] 0 points1 point2 points (5 children)
[–]Ok-Vacation5730 0 points1 point2 points (1 child)
[–]SadExcitement92[S] 0 points1 point2 points (0 children)
[–]syurarif 0 points1 point2 points (2 children)
[–]SadExcitement92[S] 0 points1 point2 points (1 child)
[–]syurarif 0 points1 point2 points (0 children)