Skip to content

ControlNet support #125

Open
Open

Description

@R4rum

The ControlNet extension improves the control over the composition by a lot. I would imagine it being a worthwhile addition.

Additional context
Currently the extension even throws errors when working in Krita:

Error running process: stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py
Traceback (most recent call last):
  File "stable-diffusion-webui/modules/scripts.py", line 386, in process
    script.process(p, *script_args)
  File "stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 390, in process
    enabled, module, model, weight, image, scribble_mode, \
ValueError: not enough values to unpack (expected 13, got 0)

Activity

  1. Lute-4 commented on Feb 18, 2023

    @Lute-4

    It would be very useful! :)

    Here is the link to the webui extension:
    https://github.com/Mikubill/sd-webui-controlnet

  2. Lute-4 commented on Feb 19, 2023

    @Lute-4

    Maybe useful, "added an API layer":
    Mikubill/sd-webui-controlnet#194

  3. ethanfel commented on Feb 22, 2023

    @ethanfel

    The ControlNet extension improves the control over the composition by a lot. I would imagine it being a worthwhile addition.

    Additional context Currently the extension even throws errors when working in Krita:

    Error running process: stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py
    Traceback (most recent call last):
      File "stable-diffusion-webui/modules/scripts.py", line 386, in process
        script.process(p, *script_args)
      File "stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 390, in process
        enabled, module, model, weight, image, scribble_mode, \
    ValueError: not enough values to unpack (expected 13, got 0)
    

    This is more an issue of controlnet than the plugin, seems the controlnet is interfering even when disabled.

    Regarding it's support, yeah it would be amazing. I'm back to 2 A111 because of it. I've bind every folder with models so it's just the setting and the extensions, it's not a big deal. Controlnet is the best improvement since local fine tuning.

  4. Interpause commented on Mar 5, 2023

    @Interpause
    Owner

    Seems complex enough that I can't just guess what is going wrong, I may take a look at it if I have time.

  5. Lute-4 commented on Mar 5, 2023

    @Lute-4

    This excellent free and open source photoshop plugin just had a new update with controlnet, maybe the code of this plugin can help the one here for krita :
    https://www.reddit.com/r/StableDiffusion/comments/11iuqhv/major_update_automatic1111_photoshop_stable/
    https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin
    AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin#124

  6. Interpause commented on Mar 25, 2023

    @Interpause
    Owner

    I see, maybe I will look at it when my internship is over.

  7. JasonS09 commented on Mar 30, 2023

    @JasonS09

    I'm currently working on a personal ControlNet implementation on my end. I'll inform how things turn out.

  8. Sugarun commented on Mar 30, 2023

    @Sugarun

    i tried to implement controlnet to auto-sd and use it in krita but apparently i'm too stupid for that. if you could describe how you did it i would be eternally grateful.

  9. JasonS09 commented on Mar 30, 2023

    @JasonS09

    i tried to implement controlnet to auto-sd and use it in krita but apparently i'm too stupid for that. if you could describe how you did it i would be eternally grateful.

    I haven't done it yet, I'm still working on the UI but I've got some approaches in mind. If it turns great then I'll share it.

  10. dmarx commented on May 2, 2023

    @dmarx

    the deforum plugin has good controlnet support plus a lot of other features (especially powerful for image-to-image animation). if getting controlnet support added is going to require onboarding another plugin, might get more bang for your buck integrating deforum. no idea if there's a difference in LOE between adding support for just controlnet vs. deforum. maybe if we reach out to the gradio team, they could come up with some more generic support between gradio applications and krita?

  11. Interpause commented on May 14, 2023

    @Interpause
    Owner

    the gradio team would probably not do that...

  12. linked a pull request that will close this issueControlNet implementation suggestion #139on May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions