lllyasviel / lllyasviel/ControlNet
Runtime Error: You have not selected any ControlNet model
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.1k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Description
I'm getting the following error after updating to 1.1.166
`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 417, in process
script.process(p, *script_args)
File "G:\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1022, in process
model_net = self.load_control_model(p, unet, unit.model, unit.low_vram)
File "G:\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 685, in load_control_model
model_net = self.build_control_model(p, unet, model, lowvram)
File "G:\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 694, in build_control_model
raise RuntimeError(f"You have not selected any ControlNet Model.")
RuntimeError: You have not selected any ControlNet Model.`
This would normally make sense to me, however I'm trying to use the new "reference_only" preprocessor, which doesn't allow you to choose a CN model.
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 in extensions/sd-webui-controlnet/scripts/controlnet.py, especially process, load_control_model, and build_control_model around the reported lines. Trace how the reference_only preprocessor reaches model loading, then verify that using reference_only without a selected ControlNet model no longer raises the reported RuntimeError.
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
- Mostly clear
- Newbie friendliness
- 42/100