mcmonkeyprojects / SwarmUI

SwarmUI (formerly StableSwarmUI), A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and extensibility.
MIT License
990 stars 78 forks source link

Mask Shrink Grow + ControlNet #213

Open F85x opened 3 weeks ago

F85x commented 3 weeks ago

Expected Behavior

When selecting Mask Shrink Grow while editing an image with a mask, it is expected that ControlNet can be applied to the cropped image.

Actual Behavior

It seems that the preprocessor uses the full image instead of the one cropped by the mask. This makes it impossible to efficiently apply ControlNet.

Steps to Reproduce

Edit an image, apply a mask, and select Mask Shrink Grow. Enable the ControlNet option and use any available model. image

Debug Logs

None

Other

No response

limonadinis commented 2 weeks ago

+1! This behaviour is bugging me since the day i started using Swarm. The same issue with controlnet being applied incorrectly happens when you enable tiling in refiner/upscaler.