lity20 / DCCDIF

MIT License
54 stars 3 forks source link

How to get gt_mesh? #2

Closed zhangshengjun2019 closed 2 years ago

zhangshengjun2019 commented 2 years ago

Hello. I wonder if the gt_mesh is the orginal file named model_normalized.obj in ShapeNet dataset. However, if I treat these file as gt_mesh, error AttributeError: 'Scene' object has no attribute 'sample' occurs. I replaced gt_mesh = trimesh.load(gt_mesh_path) by gt_mesh = trimesh.load_mesh(gt_mesh_path), but it got wrong evaluation erros.

lity20 commented 2 years ago

The gt_mesh are objects from the ShapeNet dataset after several preprocessing steps. In short, you need to: (a) generate watertight meshes from the original files (we use tools from OccNet.) (b) normalize them into an unit cube.

Hope this is helpful.