epfml / attention-cnn

Source code for "On the Relationship between Self-Attention and Convolutional Layers"

Home Page:https://arxiv.org/pdf/1911.03584.pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Attention probabilities heatmap

ChuanyangZheng opened this issue · comments

I want to ask how do you plot the Figure 5 in your paper, i.e. heatmap of attention probabilities, also shown in your website. The plotting.py in your code is to plot contour as Figure 4 and no code for Figure 5.
And the issue also do not clarify this.