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
-
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