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

using the controlnet pipeline without a controlnet selected throws an error #449

Closed
ssube opened this issue Dec 26, 2023 · 0 comments
Closed
Labels
scope/gui status/fixed issues that have been fixed and released type/bug broken features
Milestone

Comments

@ssube
Copy link
Owner

ssube commented Dec 26, 2023

If you don't have any controlnets downloaded or don't have one selected in the web UI for some other reason, the menu will be empty and send an empty parameter to the server. When used with the controlnet pipeline, that throws an error:

TypeError: OnnxStableDiffusionControlNetPipeline.init() missing 1 required positional argument: 'feature_extractor'

There are two parts to this:

  • if the controlnet pipeline has been selected, make sure a controlnet has also been selected (in the web UI, preferably)
  • change the default pipeline for the img2img tab to be img2img
@ssube ssube added status/planned issues that have been planned but not started type/bug broken features scope/gui labels Dec 26, 2023
@ssube ssube added this to the v0.12 milestone Dec 26, 2023
@ssube ssube added status/fixed issues that have been fixed and released and removed status/planned issues that have been planned but not started labels Dec 31, 2023
@ssube ssube closed this as completed Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope/gui status/fixed issues that have been fixed and released type/bug broken features
Projects
None yet
Development

No branches or pull requests

1 participant