lllyasviel / ControlNet-v1-1-nightly

Nightly release of ControlNet 1.1
4.47k stars 364 forks source link

Disabling Unit-0 while enabling Unit-1 throws an error and disables ControlNet completly #101

Open Nrgte opened 11 months ago

Nrgte commented 11 months ago

Using ControlNet v1.1.233

So I disabled Unit-0 to just work with Unit-1 and it threw this error and had no impact on the final image:

File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 422, in run_predict output = await app.get_blocks().process_api( File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1321, in process_api inputs = self.preprocess_data(fn_index, inputs, state) File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1171, in preprocess_data processed_input.append(block.preprocess(inputs[i])) File "F:\Projects\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 141, in svg_preprocess return preprocess(inputs) File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 1842, in preprocess mask_im = processing_utils.decode_base64_to_image(mask) File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\processing_utils.py", line 51, in decode_base64_to_image image_encoded = extract_base64_data(encoding) File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\processing_utils.py", line 42, in extract_base64_data return x.rsplit(",", 1)[-1] AttributeError: 'NoneType' object has no attribute 'rsplit' Traceback (most recent call last): File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 422, in run_predict output = await app.get_blocks().process_api( File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1321, in process_api inputs = self.preprocess_data(fn_index, inputs, state) File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1171, in preprocess_data processed_input.append(block.preprocess(inputs[i])) File "F:\Projects\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 141, in svg_preprocess return preprocess(inputs) File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 1842, in preprocess mask_im = processing_utils.decode_base64_to_image(mask) File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\processing_utils.py", line 51, in decode_base64_to_image image_encoded = extract_base64_data(encoding) File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\processing_utils.py", line 42, in extract_base64_data return x.rsplit(",", 1)[-1] AttributeError: 'NoneType' object has no attribute 'rsplit'

Thanks!