lllyasviel / lllyasviel/ControlNet
controlnet not loading in UI
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.1k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Description
have done everything including the URL https://github.com/Mikubill/sd-webui-controlnet, everything is there in my SD including showing up in my settings, but no dropdown in txt2img or img2img, any ideas ???.....
Error loading script: controlnet.py
Traceback (most recent call last):
File "C:\ai\stable-diffusion-webui\modules\scripts.py", line 164, in load_scripts
module = script_loading.load_module(scriptfile.path)
File "C:\ai\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
exec(compiled, module.__dict__)
File "C:\ai\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 764, in
script_callbacks.on_after_component(img2img_tab_tracker.on_after_component_callback)
AttributeError: module 'modules.script_callbacks' has no attribute 'on_after_component'
Error loading script: xyz_grid_support.py
Traceback (most recent call last):
File "C:\ai\stable-diffusion-webui\modules\scripts.py", line 164, in load_scripts
module = script_loading.load_module(scriptfile.path)
File "C:\ai\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
exec(compiled, module.__dict__)
File "C:\ai\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\xyz_grid_support.py", line 2, in
from scripts import controlnet
File "C:\ai\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 764, in
script_callbacks.on_after_component(img2img_tab_tracker.on_after_component_callback)
AttributeError: module 'modules.script_callbacks' has no attribute 'on_after_component'
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 with the traceback locations in extensions/sd-webui-controlnet/scripts/controlnet.py and xyz_grid_support.py, then inspect the referenced modules.script_callbacks API in the Stable Diffusion WebUI code. Reproduce the extension-loading errors and verify the fix by confirming that ControlNet loads without errors and the dropdown appears in txt2img and img2img.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100