lllyasviel / lllyasviel/ControlNet

Getting this error after updating to latest version through SD webui extension interface.

Open
#208 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
34.1k
Forks
3k
PR merge metrics
No merged PRs in 30d

Description

Loading preprocessor: canny
Error running process: G:\ai\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "G:\ai\stable-diffusion-webui\modules\scripts.py", line 386, in process
script.process(p, *script_args)
File "G:\ai\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 691, in process
forward_param = ControlParams(model_net, control, guess_mode, weight, False, guidance_start, guidance_end, None, isinstance(model_net, PlugableAdapter))
TypeError: ControlParams.__init__() takes 9 positional arguments but 10 were given

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at scripts/controlnet.py line 691 and inspect the ControlParams definition to compare its accepted arguments with the call shown in the traceback. Check the surrounding processing path and modules/scripts.py line 386, then reproduce the canny preprocessor failure; done means the extension processes canny without the ControlParams argument-count error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.