Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.02 KB

File metadata and controls

35 lines (23 loc) · 1.02 KB

attention map visualization

pre-requisite

$ pip install opencv-python
$ pip install matplotlib
$ pip install Pillow
$ pip install numpy

Contents

the attention style in version2 can be changed by "cmap", choose the color map you like here

Result

1. Version1 example

  • original image

  • image with attention (for example we use random attention map here)

2. Version2 example

  • original image

  • image with attention (for example we use random attention map here)