Controlnet with a conditioning strength mask #9786
jschoormans
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
Inspired by https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet, I wanted to add a mask to Controlnets in Diffusers. I could not find it implemented yet. Please do tell me if this was already possible in Diffusers!
The approach is simply weighting the controlnet control image with a predefined mask, for instance in this case where I want to preserve the structure of a room with controlnet depth - but no furniture.
The implementation is simply done in Step 5. Controlnet_blocks in controlnet.py
Beta Was this translation helpful? Give feedback.
All reactions