You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to img2img with API.
When I generate with webui, there is no error at all, but with api, Assertion Error appear.
Stable Diffusion generates picture anyway, but it's so different with pics generated with webui.
here is error message
*** Error running process: F:\stablediff_webui\sd.webui\webui\extensions\sd-webui-controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "F:\stablediff_webui\sd.webui\webui\modules\scripts.py", line 619, in process
script.process(p, *script_args)
File "F:\stablediff_webui\sd.webui\webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1053, in process
self.controlnet_hack(p)
File "F:\stablediff_webui\sd.webui\webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1042, in controlnet_hack
self.controlnet_main_entry(p)
File "F:\stablediff_webui\sd.webui\webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 766, in controlnet_main_entry
input_image, image_from_a1111 = Script.choose_input_image(p, unit, idx)
File "F:\stablediff_webui\sd.webui\webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 653, in choose_input_image
input_image = HWC3(np.asarray(input_image))
File "F:\stablediff_webui\sd.webui\webui\extensions\sd-webui-controlnet\annotator\util.py", line 6, in HWC3
assert x.dtype == np.uint8
AssertionError
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to img2img with API.
When I generate with webui, there is no error at all, but with api, Assertion Error appear.
Stable Diffusion generates picture anyway, but it's so different with pics generated with webui.
here is error message
Beta Was this translation helpful? Give feedback.
All reactions