Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem on the visualization #7

Closed
linzhlalala opened this issue Apr 9, 2021 · 5 comments
Closed

Problem on the visualization #7

linzhlalala opened this issue Apr 9, 2021 · 5 comments

Comments

@linzhlalala
Copy link

Hi Zhihong,
Thank you for sharing your code.
I am interested in the Visualizations of image-text attention mapping part in the paper.
Can you share which approaches you are using for this? (Other repository or code)
I am trying to do this but didn't find a solution for the Transformer-based models.

@zhjohnchan
Copy link
Contributor

Dear @linzhlalala,

Thanks for your attention to our paper!

In our experiment, we visualize the attention weights of the first cross attention layer.

To deal with the multiple heads, we select the attention weights from the head which has the largest differences in the attention values.

The visualization code will be cleaned and updated here in the future.

Best,
Zhihong

@linzhlalala
Copy link
Author

Thanks for sharing.

@wangqingbin
Copy link

Dear @linzhlalala,

Thanks for your attention to our paper!

In our experiment, we visualize the attention weights of the first cross attention layer.

To deal with the multiple heads, we select the attention weights from the head which has the largest differences in the attention values.

The visualization code will be cleaned and updated here in the future.

Best,
Zhihong

Hi Zhihong,
Thank you for sharing your code. I am also interested in the Visualizations of image-text attention mapping part in the paper.
Have you cleaned the visualization code? I don't find a good way to visualize the transformer-based model.

@Markin-Wang
Copy link

Hi, any progress?

@linzhlalala
Copy link
Author

I don't need the code. The idea is helpful enough. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants