lllyasviel / ControlNet-v1-1-nightly

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

Controlnet not working in 1111 #74

Open atomfurs opened 1 year ago

atomfurs commented 1 year ago

I've tried every reinstall / clean install approach I can with both the WebUI and Controlnet but I cannot get any of the preprocessors to work in my online Colab 1111 sessions and as a result Controlnet does not work.

When I say 'does not work' I mean I get no error messages, and the preprocessors don't display an error message, but simply show a preview as if there was no source image - so for Canny I just get a black image with no canny lines on it for instance.

When I try and use Controlnet with Deforum I get the error 'Neither the base nor the masking frames for ControlNet were found. Using the regular pipeline"

My local set up works great though.

Any ideas as to what the culprit might be? Any help would be very appreciated!

recoilme commented 1 year ago

same issue for me after fresh install

atomfurs commented 1 year ago

did you manage to solve this?

lllyasviel commented 1 year ago

Hello, please try the below steps and see if problems are solved:

  1. update A1111 and CN to latest version. Make sure to restart terminal after update.
  2. disable all other A1111 extensions.
  3. disable all browser extensions or change another browser.
  4. remove all cmd flags in A1111.
  5. delete "config.json" and "ui-config.json". (dangerous, remember to backup files)
  6. make sure that you have followed the official instruction to download ControlNet models, and make sure that each model is about 1.4 GB large.
  7. uninstall ControlNet by removing the controlnet folder and try to install again.
  8. make sure to not quit your webui when ControlNet is downloading preprocessor in the background terminal.
  9. try to add “--no-gradio-queue” to your a1111 cmd flags.

The above steps can solve most problems. After your problem is solved, you can begin to enable other extensions one-by-one or add A1111 cmd flags one-by-one to find out what is causing problems and let us know.

You may also try to use "git checkout" to find out if previous versions of CN works for you, and if that is the case, please let us know your last working version so that we can debug the problem.

If you still cannot solve the problem, please give as detailed as possible info about your environment.

atomfurs commented 1 year ago

ok for my colab sessions using Chrome instead of Brave or Safari fixed the issue - version: [v1.3.2] - python: 3.10.12  •  torch: 2.0.1+cu118  •  xformers: N/A  •  gradio: 3.29.0  

recoilme commented 1 year ago

for me, reason was in brave adguard, i just disable it