SkyeSong38 / CSWinTT

Transformer Tracking with Cyclic Shifting Window Attention (CSWinTT)
MIT License
68 stars 6 forks source link

How to plot Fig5 in paper? what toolkit? #2

Closed laisimiao closed 2 years ago

SkyeSong38 commented 2 years ago

I resized the attention score to the same size as the original image, drew it using the python tool matplotlab, then imported the score map and the original image into PPT, set the transparency and overlaid them.

tommycwh commented 1 year ago

May I ask where do you get the attention scores? Do you use the attention scores that are retrieved here? https://github.com/SkyeSong38/CSWinTT/blob/27b78f9b0b1eebecfd5b3d3dbdc591c6562e69d7/lib/models/cswintt/transformer_cs.py#L288