SHI-Labs / Cross-Scale-Non-Local-Attention

PyTorch code for our paper "Image Super-Resolution with Cross-Scale Non-Local Attention and Exhaustive Self-Exemplars Mining" (CVPR2020).
399 stars 46 forks source link

Attention Map #26

Closed codyshen0000 closed 3 years ago

codyshen0000 commented 3 years ago

Hi ! Could you please share with me how to visualize the attention feature map? Thanks!

HarukiYqM commented 3 years ago

Hi, you can take this code from CCNet as reference: https://github.com/speedinghzl/CCNet/issues/3

nanmehta commented 3 years ago

could anyone please help me. that whether I have to write this code in the training code or te inference code