Nodes Browser
ComfyDeploy: How ComfyUI_VisualAttentionMap works in ComfyUI?
What is ComfyUI_VisualAttentionMap?
NODES:HF ModelLoader, Show Images, Text2Image Inference, Decode Latent, Show CrossAttn Map, Show SelfAttn Map
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI_VisualAttentionMap
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI nodes to use VisualAttentionMap
https://github.com/google/prompt-to-prompt
Install
-
推荐使用管理器 ComfyUI Manager 安装(On the Way)
-
手动安装:
cd custom_nodes
git clone https://github.com/leeguandong/ComfyUI_VisualAttentionMap.git
- 重启 ComfyUI
Use
- 节点:
- HF ModelLoader: 加载hf格式的模型权重
- Text2Image Inference: 推理,并保存了attention map
- Decode Latent: VAE解码
- Show Images: 展示attention map
- Show CrossAttn Map: 把cross attention map取出来
- Show SelfAttn Map: 把self attention map取出来