stable-diffusion-webui-colab icon indicating copy to clipboard operation
stable-diffusion-webui-colab copied to clipboard

[Bug]: Failed to import controlnet!

Open camenduru opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

Are you using the latest version of the colab notebook?

  • [X] Yes, i am using the latest version from the repo

Which colab notebook did you use?

all

Which repo branch did the colab you use comes from ?

main (v1.6), v2.0, drive

Which tunnel did you use ?

--googleusercontent, --cloudflared, --localhostrun, --remotemoe, --share (Gradio Tunnel)

What happened?

https://github.com/deforum-art/deforum-for-automatic1111-webui/blob/a29d0dfba278e942a835ec8a154fe5e2d776f24f/scripts/deforum_helpers/deforum_controlnet.py#L23

https://github.com/deforum-art/deforum-for-automatic1111-webui/blob/automatic1111-webui/scripts/deforum_helpers/deforum_controlnet.py

Console logs

Failed to import controlnet! The exact error is [Errno 2] No such file or directory: '/content/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/models'. Deforum support for ControlNet will not be activated

camenduru avatar Feb 26 '23 11:02 camenduru

!mkdir /content/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/models after cloning the extension works for me if i remember.

etherealxx avatar Feb 26 '23 11:02 etherealxx

the same bug,is it ok? how to slove?

pythonxmu avatar Mar 26 '23 09:03 pythonxmu