zhufengx / SRN_multilabel

144 stars 39 forks source link

visual feature #6

Closed ray0809 closed 6 years ago

ray0809 commented 6 years ago

Hi Feng, Could you please tell me the way to visualize the weighted attention feature map(the same size with original image)?,because the feature map of U is 14*14

zhufengx commented 6 years ago

Hi, @ray0809

We simply resize the attention map to the size of the input image by nearest neighbor interpolation.

ray0809 commented 6 years ago

OK,thanks for your reply

DCNSW commented 6 years ago

The attention map generated in the paper is so beautiful, how can I just generate the attention map with resized feature map, thank you @zhufengx

zhufengx commented 6 years ago

The attention map generated in the paper is so beautiful, how can I just generate the attention map with resized feature map, thank you @zhufengx

Hi, you can visualize the resized attention map with colormap "Jet". If the color is too dark, you can re-scale all the pixel values with a constant.