mengxue-rs / a-spn

the official implementation of paper Attention-Based Second-Order Pooling Network for Hyperspectral Image Classification (A-SPN).
7 stars 2 forks source link

Questions about spatial attention weights and feature maps. #1

Open Hewq77 opened 3 years ago

Hewq77 commented 3 years ago

Thank you very much for your code sharing. I would like to know how the spatial attention weight and feature map of A-SOP are visualized in your paper. Is it convenient to share the sample code?

mengxue-rs commented 3 years ago

Hi BananaJMI, welcome your attention to our code. These visualization codes would not be published temporarily due to some reasons. If you would love to realize similar results I prefer you to implement a simple version, e.g., the feature map of A-SOP could be easily received by outputting the intermediate results of the trained model, and the spatial attention weight could be received by the division between the original input and the subsequent output.