https://github.com/leeguandong/ComfyUI_FluxAttentionMask
flux和sd3中的t5部分的attention mask,就是利用text侧attention mask,在图像生成时使模型更加关注文本的嵌入,从而增强文本的语义跟随。
https://github.com/leeguandong/ComfyUI_FluxAttentionMask
Last synced: 4 months ago
JSON representation
flux和sd3中的t5部分的attention mask,就是利用text侧attention mask,在图像生成时使模型更加关注文本的嵌入,从而增强文本的语义跟随。
- Host: GitHub
- URL: https://github.com/leeguandong/ComfyUI_FluxAttentionMask
- Owner: leeguandong
- Created: 2025-02-26T09:51:13.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-03-02T07:35:04.000Z (4 months ago)
- Last Synced: 2025-03-02T08:25:03.784Z (4 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-comfyui - **ComfyUI nodes to use AttentionMask** - side attention mask to make the model focus more on text embeddings during image generation, thereby enhancing semantic alignment with the text. (All Workflows Sorted by GitHub Stars)
README
# ComfyUI nodes to use AttentionMask
https://github.com/huggingface/diffusers/pull/10044
![image]()
## Install
- 推荐使用管理器 ComfyUI Manager 安装(On the Way)
- 手动安装:
1. `cd custom_nodes`
2. `git clone https://github.com/leeguandong/ComfyUI_AttentionMask.git`
3. 重启 ComfyUI## Stars
[](https://star-history.com/#leeguandong/ComfyUI_FluxCustomId&Date)