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

Add option to ignore ControlNet input mask in non-inpaint modes #1914

Merged
merged 1 commit into from
Aug 13, 2023

Conversation

huchenlei
Copy link
Collaborator

Closes #1651.

This PR makes the have_mask check less strict, as sometimes gradio will give masks with some 1s in it as reported by the users.
This PR also offers an option for users to ignore ControlNet input mask in non-inpaint modes, as the input mask is generally not very useful in other control types.

@huchenlei huchenlei merged commit c542a8f into Mikubill:main Aug 13, 2023
1 check passed
tiangles pushed a commit to diffus-me/sd-webui-controlnet that referenced this pull request Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Never uses preprocessors
1 participant