ComfyUI node for Semantic-aware Guidance based on the a/paper 'Rethinking the Spatial Inconsistency in Classifier-Free Diffusion Guidance'
ComfyUI node for Semantic-aware Guidance based on the paper "Rethinking the Spatial Inconsistency in Classifier-Free Diffusion Guidance"
Paper | Code | sd-webui-incantations <sup>(SD-WebUI extension)</sup>
Dynamically rescale CFG guidance per semantic region to a uniform level to improve image / text alignment.
Other details:
sampler_cfg_function
(there can only be one node active using this, so it may conflict with other nodes using the same thing)You can either:
In a termnial, run: git clone https://github.com/shiimizu/ComfyUI-semantic-aware-guidance.git
into your ComfyUI/custom_nodes/
folder.
Install it via ComfyUI Manager (search for custom node named "s-cfg").