JDAI-CV / image-captioning

Implementation of 'X-Linear Attention Networks for Image Captioning' [CVPR 2020]
268 stars 52 forks source link

How to generate the visualization of attended image regions along the caption generation processes. #26

Closed Archer-Fang closed 2 years ago

Archer-Fang commented 2 years ago

I have a question for how to generate the visualization of attended image regions along the caption generation processes. Would you mind releasing some codes?

cdqncn commented 2 years ago

no way

Baixiaobai201619707 commented 2 years ago

I have a question for how to generate the visualization of attended image regions along the caption generation processes. Would you mind releasing some codes? 请问您知道怎么做了吗,可以告知一下吗? 谢谢!

YehLi commented 2 years ago

You can save the attention score into a txt file and then use the link (https://github.com/peteanderson80/Up-Down-Captioner/blob/master/scripts/demo.ipynb) to generate the visualization