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

Using Minkowski Engine in Diffusion Models #608

Open
xing-yuu opened this issue Oct 24, 2024 · 0 comments
Open

Using Minkowski Engine in Diffusion Models #608

xing-yuu opened this issue Oct 24, 2024 · 0 comments

Comments

@xing-yuu
Copy link

I would like to use sparse matrices in diffusion models.
sp is my Minkowski tensor, and I need to frequently add noise to sp.
For Minkowski Engine, it seems that it does not support direct modification of data features. Therefore, I need to frequently call the constructor function:
sp = ME.SparseTensor(features=sp.F+noise, coordinate_manager=sp.coordinate_manager, coordinate_map_key=sp.coordinate_map_key)
Each call takes a significant amount of time to allocate memory. Are there any good solutions to this issue?

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

1 participant