jchibane / ndf

Neural Unsigned Distance Fields (NDF) - Codebase
194 stars 26 forks source link

The variable 'boundary_samples_npz' misses the key 'df'. #2

Closed zhaofang0627 closed 3 years ago

zhaofang0627 commented 3 years ago

Hi Julian,

I am trying to train NDF on other datasets. To generate data for training, I use data processing scripts provided in if-net. However, it seems that the key 'df' in the variable 'boundary_samples_npz' is not computed by if-net.

https://github.com/jchibane/ndf/blob/10e8aca482eb8de930c0217969c1db724efb5b2a/models/data/voxelized_data_shapenet.py#L67

Could you provide the code of training data generation for NDF? Thanks a lot!

jchibane commented 3 years ago

Hi @zhaofang0627 ,

yes, preprocessing scripts will follow soon. IF-Net scripts can not directly be applied, your finding is correct: IF-Net works on occupancy ground truth whereas NDF trains on unsigned distance field samples.

Best, Julian