justchenhao / STANet

official implementation of the spatial-temporal attention neural network (STANet) for remote sensing image change detection
BSD 2-Clause "Simplified" License
405 stars 110 forks source link

Issue on visualizing the attention module #66

Open shgrace233 opened 3 years ago

shgrace233 commented 3 years ago

Hi, I implemented the Visualization of the attention module part in the paper by using a row of energy matrix in your codes and the given pre-trained model pam, the result seem not well, especially the pixels belonging to building are less attentive to all the pixels and least attentive to pixels belonging to building. Maybe It‘s because I used the wrong part of the attention module for implementation. Therefore, Would you mind to tell which part of the attention module is used to implement the visualization of the attention module in your paper? Many thanks.