Skip to content
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

[Bug]: I am using SD.NEXT, but I cannot use it because of an error. #3067

Open
1 task done
uzuuzu20002000 opened this issue Nov 3, 2024 · 0 comments
Open
1 task done

Comments

@uzuuzu20002000
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits of both this extension and the webui

What happened?

I am using SD.NEXT, but I cannot use it because of an error.

04:25:04-183959 ERROR Running script process:
extensions/sd-webui-controlnet/scripts/controlnet.py:
RuntimeError
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /notebooks/automatic/modules/scripts.py:544 in process │
│ │
│ 543 │ │ │ │ │ args = p.per_script_args.get(script.title(), p.scr │
│ ❱ 544 │ │ │ │ │ script.process(p, *args, **kwargs) │
│ 545 │ │ │ except Exception as e: │
│ │
│ /notebooks/automatic/extensions/sd-webui-controlnet/scripts/controlnet.py:10 │
│ │
│ 1072 │ │ if not Script.process_has_sdxl_refiner(p): │
│ ❱ 1073 │ │ │ self.controlnet_hack(p) │
│ 1074 │ │ return │
│ │
│ /notebooks/automatic/extensions/sd-webui-controlnet/scripts/controlnet.py:10 │
│ │
│ 1057 │ │ │
│ ❱ 1058 │ │ self.controlnet_main_entry(p) │
│ 1059 │ │ if getattr(shared.cmd_opts, 'controlnet_tracemalloc', False): │
│ │
│ /notebooks/automatic/extensions/sd-webui-controlnet/scripts/controlnet.py:76 │
│ │
│ 759 │ │ │ else: │
│ ❱ 760 │ │ │ │ model_net = Script.load_control_model(p, unet, unit.m │
│ 761 │ │ │ │ model_net.reset() │
│ │
│ /notebooks/automatic/extensions/sd-webui-controlnet/scripts/controlnet.py:34 │
│ │
│ 346 │ │ │
│ ❱ 347 │ │ model_net = Script.build_control_model(p, unet, model) │
│ 348 │
│ │
│ /notebooks/automatic/extensions/sd-webui-controlnet/scripts/controlnet.py:36 │
│ │
│ 364 │ │ if model_path is None: │
│ ❱ 365 │ │ │ raise RuntimeError(f"model not found: {model}") │
│ 366 │
╰──────────────────────────────────────────────────────────────────────────────╯
RuntimeError: model not found: None

Steps to reproduce the problem

Occurs when used.

What should have happened?

A few months ago, there was no error.

Commit where the problem happens

controlnet:

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

No

List of enabled extensions

a

Console logs

04:25:04-183959 ERROR    Running script process:                                
                         extensions/sd-webui-controlnet/scripts/controlnet.py:  
                         RuntimeError                                           
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /notebooks/automatic/modules/scripts.py:544 in process                       │
│                                                                              │
│   543 │   │   │   │   │   args = p.per_script_args.get(script.title(), p.scr │
│ ❱ 544 │   │   │   │   │   script.process(p, *args, **kwargs)                 │
│   545 │   │   │   except Exception as e:                                     │
│                                                                              │
│ /notebooks/automatic/extensions/sd-webui-controlnet/scripts/controlnet.py:10 │
│                                                                              │
│   1072 │   │   if not Script.process_has_sdxl_refiner(p):                    │
│ ❱ 1073 │   │   │   self.controlnet_hack(p)                                   │
│   1074 │   │   return                                                        │
│                                                                              │
│ /notebooks/automatic/extensions/sd-webui-controlnet/scripts/controlnet.py:10 │
│                                                                              │
│   1057 │   │                                                                 │
│ ❱ 1058 │   │   self.controlnet_main_entry(p)                                 │
│   1059 │   │   if getattr(shared.cmd_opts, 'controlnet_tracemalloc', False): │
│                                                                              │
│ /notebooks/automatic/extensions/sd-webui-controlnet/scripts/controlnet.py:76 │
│                                                                              │
│    759 │   │   │   else:                                                     │
│ ❱  760 │   │   │   │   model_net = Script.load_control_model(p, unet, unit.m │
│    761 │   │   │   │   model_net.reset()                                     │
│                                                                              │
│ /notebooks/automatic/extensions/sd-webui-controlnet/scripts/controlnet.py:34 │
│                                                                              │
│    346 │   │                                                                 │
│ ❱  347 │   │   model_net = Script.build_control_model(p, unet, model)        │
│    348                                                                       │
│                                                                              │
│ /notebooks/automatic/extensions/sd-webui-controlnet/scripts/controlnet.py:36 │
│                                                                              │
│    364 │   │   if model_path is None:                                        │
│ ❱  365 │   │   │   raise RuntimeError(f"model not found: {model}")           │
│    366                                                                       │
╰──────────────────────────────────────────────────────────────────────────────╯
RuntimeError: model not found: None

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant