❓ How to overlay the attention map to the original image
I follow your turtorial and successfully get the attention map of the cross-attention. However, I have no idea how to generate the visualization as shown in Fig. 6. Could you provide more details of how to overlay the attention map to the original image as shown in Fig. 6? I have tried this for few days, but all failed. I will appreciate if it is convenient for you to provide the source code. That will be greatly helpful. Thanks a lot.
❓ How to overlay the attention map to the original image
I follow your turtorial and successfully get the attention map of the cross-attention. However, I have no idea how to generate the visualization as shown in Fig. 6. Could you provide more details of how to overlay the attention map to the original image as shown in Fig. 6? I have tried this for few days, but all failed. I will appreciate if it is convenient for you to provide the source code. That will be greatly helpful. Thanks a lot.