lllyasviel / lllyasviel/ControlNet
Getting this error after updating to latest version through SD webui extension interface.
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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