lllyasviel / ControlNet-v1-1-nightly

Nightly release of ControlNet 1.1
4.68k stars 371 forks source link

Upgrade to the latest version, WEBUI load controlnet error #119

Closed ultimatech-cn closed 1 year ago

ultimatech-cn commented 1 year ago

Upgrading by WEBUI automatelly, but load controlnet error as following

Error loading script: global_state.py
Traceback (most recent call last):
  File "D:\stable-diffusion-webui\modules\scripts.py", line 263, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "D:\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "D:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\global_state.py", line 100, in <module>
    "recolor_luminance": recolor_luminance,
NameError: name 'recolor_luminance' is not defined

Warning: ControlNet failed to load SGM - will use LDM instead.
ultimatech-cn commented 1 year ago

the model file has n't downloaded.