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 solve CUDA out of memory #1

Open
zlynpu opened this issue Apr 14, 2024 · 2 comments
Open

How to solve CUDA out of memory #1

zlynpu opened this issue Apr 14, 2024 · 2 comments

Comments

@zlynpu
Copy link

zlynpu commented Apr 14, 2024

Hello, after seeing your article, I would like to ask you how to solve the problem of CUDA out of memory of Geotransformer on the scan2cad data set. I use NVIDIA 3090 and use voxel sampling(voxel size=2.5cm) to sample the scene points to within 30,000, but this problem still occurs. If possible, can you give me your code for reference?

@zhiyuanYU134
Copy link
Owner

zhiyuanYU134 commented Apr 15, 2024

Hello, after seeing your article, I would like to ask you how to solve the problem of CUDA out of memory of Geotransformer on the scan2cad data set. I use NVIDIA 3090 and use voxel sampling(voxel size=2.5cm) to sample the scene points to within 30,000, but this problem still occurs. If possible, can you give me your code for reference?

Due to the excessive number of superpoints, Geotransformer cannot be trained or tested on the Scan2cad dataset. Therefore, we adopted some methods to approximate the performance of Geotransformer. We limit the number of superpoints that interact with the anchor superpoint. This number will be set as large as possible to approximate the performance of Geotransformer. You may have to implement this code yourself.
Another possible way is to downsample again based on the original superpoint. The features of these sparser superpoints are obtained by aggregating the original superpoints. After these sparse superpoints learn geometric embeddings, interpolation is used to calculate the features of the original superpoints.

@zlynpu
Copy link
Author

zlynpu commented Apr 15, 2024

Thank you very much for your answer! I have another question about the Negative Log-likelihood Loss in the article. How do you solve the correspondences based on the transformation matrices of different instances? Because from my understanding, there is only one cad model but it corresponds to multiple instances in the scene.

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