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

too slow to preprocessing the volumetric geodesic distances #27

Closed
countywest opened this issue Nov 17, 2020 · 2 comments
Closed

too slow to preprocessing the volumetric geodesic distances #27

countywest opened this issue Nov 17, 2020 · 2 comments

Comments

@countywest
Copy link

countywest commented Nov 17, 2020

Hello! thanks to sharing your great work.
I want to apply this framework to my dataset, but it is too slow to processing the volumetric geodesic distances.
I used your code(geometric_proc/compute_volumetric_geodesic.py) as it is, and it seems to take 10 minutes ~ 40 minutes per 1 obj.
Also, it requires a lot of RAM memory, over 100GB for 1 obj.
The numbers I wrote above are not averaged values, but it seems too slow to processing data for my dataset.
My dataset includes some complex shapes which have up to 12000 vertices, but most of shapes in the dataset have under 4K vertices similar to your dataset.
Is it normal that processing time? or am I missing something?

@zhan-xu
Copy link
Owner

zhan-xu commented Nov 17, 2020

Hi. The volumetric geodesic calculation is the most time consuming step. I used a cluster of nodes to accelerate. With a single machine, you may consider down-sampling. Take a look at quick_start.py, where I have a down sampling option. You may first consider 1K or even 512 vertices, and then use nearest neighbor to upsample distance map to full resolution.

@countywest
Copy link
Author

Thanks a lot! It seems processing is much boosted with the approximation.

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