Closed wuutiing closed 4 weeks ago
I think I have made it clear in README that the ComfyUI's area cond differs from original omost's impl.
Region condition part converts the JSON condition to ComfyUI's area format. Under the hood, it is calling ConditioningSetMask node to set non-overlap area for each cond. According to https://github.com/lllyasviel/Omost#regional-prompter, original Omost repo is using method 3, while ComfyUI's built-in method is method 2. So expect there to be some difference on results. I will implement ComfyUI version of densediffusion soon.
Thank you a lot for your work implementing Omost's ComfyUI nodes. but i think ConditioningSetMask set a mask for condition, the mask take effect in condition combining stage, not cross-attention stage, which differs with Omost, what do you think about it, looking forward your reply. Thank you much. @huchenlei @lllyasviel
code from https://github.com/comfyanonymous/ComfyUI/blob/b1fd26fe9e55163f780bf9e5f56bf9bf5f035c93/comfy/samplers.py#L220C9-L224C1
and Omost's impl
code from https://github.com/lllyasviel/Omost/blob/731e74922fc6be91171688574d07624f93d3b658/lib_omost/pipeline.py#L165C9-L165C65