czq142857 / IM-NET

The improved code for paper "Learning Implicit Fields for Generative Shape Modeling".
Other
159 stars 22 forks source link

How to train this model on my custom mesh 3D model? #8

Closed nitish11 closed 4 years ago

nitish11 commented 4 years ago

While checking the link for data preparation, https://github.com/czq142857/IM-NET#datasets-and-pre-trained-weights

If I have 3D mesh models, what steps should I follow to convert the dataset to point-value pairs?

czq142857 commented 4 years ago

Please check the data preparation code in the original implementation: https://github.com/czq142857/implicit-decoder/tree/master/point_sampling

The generated data files are compatible for both the old and the latest implementations.

Best, Zhiqin

nitish11 commented 4 years ago

@czq142857 : Thanks for the instructions. I followed the steps and trained my own model. While using the trained model, I am getting all the dimensions of intermediate variables correctly. But, I am getting an error in z2voxel code, after this step, model_float = self.z2voxel(model_z), model_float is coming as all zeros values. What could be the possible error?

Thanks in advance.