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 implement attention mechanism using sparse modules? #219

Open
Shaoyi0520 opened this issue Jan 26, 2022 · 2 comments
Open

How to implement attention mechanism using sparse modules? #219

Shaoyi0520 opened this issue Jan 26, 2022 · 2 comments

Comments

@Shaoyi0520
Copy link

Hello, I am working on a 2-dimensional UNet for sparse image denoising and I would like to integrate the attention mechanism (below) into the UNet network. But I did not succeed, if possible, I would like you to give me some examples of attention for sparse modules, thank you very much!
Snipaste_2022-01-25_16-17-29
Snipaste_2022-01-26_16-43-44

@bobonpu1
Copy link

能加个微信吗?

@btgraham
Copy link
Contributor

https://github.com/PointsCoder/VOTR implements sparse attention; maybe that can be useful.
But what is the sparse 2D input? And does the sparsity pattern change with denoising?

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

3 participants