yifita / idf

implicit displacement field
GNU General Public License v3.0
120 stars 9 forks source link

Question about large memory usage when calculating chamfer distance with KDTree #6

Open dc3505 opened 2 years ago

dc3505 commented 2 years ago

When we try to reproduce the experiment result, it seems we have a peak memory usage when trying to calculate chamfer distance with KDTree. We are using a mesh ~2M with ~50k vertices, but get ~250G memory usage for this and cause a out of memory issue. Is this an expected behavior? WechatIMG454

Thanks again for your help!

Zvyozdo4ka commented 1 year ago

how did you set conda env ? i don't get why the documentation always lacks of correct information, maybe it is deliberately, to make it fail others. Here is original environment.yml: image

I changed it to this:

image

and it is already more 3 hours while: image

when i installed through pip the libraries from environment.yml, i can't run sample:

image