-
Notifications
You must be signed in to change notification settings - Fork 1.3k
ControlNet Doesn't Seem To Work. #3008
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Google Colab [Pro] From last night (about 10 hours ago) I also can't get stable to load Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): Process ends. Thanks in advance Ben |
Currently trying to generate images with ControlNet Openpose on, and getting this error.
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/gradio/routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gradio/blocks.py", line 1433, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gradio/blocks.py", line 1243, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/utils.py", line 145, in svg_preprocess
return preprocess(inputs)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gradio/components/image.py", line 274, in preprocess
im = processing_utils.decode_base64_to_image(x)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gradio/processing_utils.py", line 59, in decode_base64_to_image
img = Image.open(BytesIO(base64.b64decode(image_encoded)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/PIL/Image.py", line 3532, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7d742061fa60>
2025-03-02 06:12:05,867 - ControlNet - INFO - unit_separate = False, style_align = False
2025-03-02 06:12:05,868 - ControlNet - INFO - Loading model from cache: thibaud_xl_openpose_256lora [14288071]
2025-03-02 06:12:05,903 - ControlNet - INFO - Using preprocessor: none
2025-03-02 06:12:05,903 - ControlNet - INFO - preprocessor resolution = 512
2025-03-02 06:12:05,991 - ControlNet - INFO - ControlNet Hooked - Time = 0.13239145278930664
43% 13/30 [00:41<00:53, 3.16s/it]
Can anyone tell me how to fix this please?
The text was updated successfully, but these errors were encountered: