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

What is the correct way to install ControlNet for A1111 using Stability Matrix #493

Closed
p-veloso opened this issue Mar 3, 2024 · 4 comments
Labels
stale Stale issue or inactive for long period of time

Comments

@p-veloso
Copy link

p-veloso commented Mar 3, 2024

I have just started exploring Stability Matrix as a way for my students to quickly install Automatic1111, ComfyUI, etc. So far, the experience has been fantastic.

However, there are some small details that do not seem to be working. For example, I am able to install the ControlNets models from Hugging Face using the tab model browser and I can load them in ComfyUI with the nodes However, the ControlNet A1111 extension/menu is not available. Therefore, I decided to install it by loading A1111 and using its own extension tab and the url https://github.com/Mikubill/sd-webui-controlnet. After that, the ControlNet menu is available when I load A1111 but it is not able to work properly. Is this the right way of proceeding?

@p-veloso
Copy link
Author

p-veloso commented Mar 3, 2024

I assume the answer is the same as in #494 - i.e., using the extensions installer in the menu packages.

@p-veloso
Copy link
Author

p-veloso commented Mar 3, 2024

However, in this case it does not work as it triggers a RuntimeError...

2024-03-03 14:41:02,000 - ControlNet - INFO - unit_separate = False, style_align = False
*** Error running process: C:\Users\pedro\OneDrive\BK documents\StabilityMatrix\Data\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\scripts\controlnet.py
    Traceback (most recent call last):
      File "C:\Users\pedro\OneDrive\BK documents\StabilityMatrix\Data\Packages\Stable Diffusion WebUI\modules\scripts.py", line 784, in process
        script.process(p, *script_args)
      File "C:\Users\pedro\OneDrive\BK documents\StabilityMatrix\Data\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1275, in process
        self.controlnet_hack(p)
      File "C:\Users\pedro\OneDrive\BK documents\StabilityMatrix\Data\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1260, in controlnet_hack
        self.controlnet_main_entry(p)
      File "C:\Users\pedro\OneDrive\BK documents\StabilityMatrix\Data\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\scripts\controlnet.py", line 936, in controlnet_main_entry
        model_net, control_model_type = Script.load_control_model(p, unet, unit.model)
      File "C:\Users\pedro\OneDrive\BK documents\StabilityMatrix\Data\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\scripts\controlnet.py", line 367, in load_control_model
        control_model = Script.build_control_model(p, unet, model)
      File "C:\Users\pedro\OneDrive\BK documents\StabilityMatrix\Data\Packages\Stable Diffusion WebUI\extensions\sd-webui-controlnet\scripts\controlnet.py", line 377, in build_control_model
        raise RuntimeError("You have not selected any ControlNet Model.")
    RuntimeError: You have not selected any ControlNet Model.

allwavemedia pushed a commit to allwavemedia/StabilityMatrix that referenced this issue Mar 13, 2024
Fix sorting when searching by model ID in CivitAiBrowser
Copy link

github-actions bot commented Jul 8, 2024

This issue is stale because it has been open 30 days with no activity. Remove the stale label or comment, else this will be closed in 5 days.

@github-actions github-actions bot added the stale Stale issue or inactive for long period of time label Jul 8, 2024
Copy link

This issue was closed because it has been stale for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue or inactive for long period of time
Projects
None yet
Development

No branches or pull requests

1 participant