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

How to viz the learned sparse regional attention? #19

Closed
maudzung opened this issue Mar 15, 2022 · 2 comments
Closed

How to viz the learned sparse regional attention? #19

maudzung opened this issue Mar 15, 2022 · 2 comments

Comments

@maudzung
Copy link

Dear authors,

Thanks for your interesting paper.
Can you please share with us the source code that uses for the visualization of the learned sparse regional attention? I'd like to reproduce Fig. 5 in your paper.
Thank you so much!

@Abyssaledge
Copy link
Collaborator

Thanks for using SST.
I'm sorry that we can not provide you with our visualization code right now because the viz code is quite dirty and incompatible with the current codebase.
Basically, we first save the attention weights of the last block and some related position information (e.g., voxel coordinates, window ID). Then we randomly pick queries in foreground objects and paint the point cloud with the corresponding attention weights in Open3D.

@maudzung
Copy link
Author

Thank you so much! 👍

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

2 participants