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

about generate_indices in code #11

Open
Gideon1998 opened this issue Oct 12, 2021 · 1 comment
Open

about generate_indices in code #11

Gideon1998 opened this issue Oct 12, 2021 · 1 comment

Comments

@Gideon1998
Copy link

Hi, I'm interested in this work. But I don’t know what is the use of generate_indices for spa_mask.

@LongguangWang
Copy link
Member

Hi @Gideon1998, generate_indices() aims to produce the coordinates of "important" pixels marked by the spatial mask. With these coordinates, we can perform sparse convolution to compute the output at only these sparse locations.

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