Skip to content

Pretrained models for example meshes.

Choose a tag to compare

@schardong schardong released this 05 Sep 10:31
· 68 commits to master since this release

Uploading pretrained models for Armadillo, Bunny, Buddha, Dragon, and Lucy.
To reconstruct the meshes, use the tools/reconstruct.py script. An example command line would be (from the root directory of the repository):

python tools/reconstruct.py results/armadillo_biased_curvature_sdf/models/model_best.pth armadillo.ply --w0 60

The params.json files in each experiment folder contain the parameters used when training the models, including the w0, which must be passed correctly to the tools/reconstruct.py script. The w0 values used were 60 for all models except the Dragon, which has w0 = 30.

If you download the original meshes from here (as per our README) and extract them under data, you may also run the tools/estimate_mesh_curvatures.py script. This script accepts the original mesh and a trained model as input, and will save a PLY with the curvatures calculated using the implicit models. The resulting models will be saved under results/${MESH_TYPE}, where MESH_TYPE $\in$ ["armadillo", "bunny", "buddha", "dragon", "lucy"]. This script is more of a demonstration, so is less parameterized compared to tools/reconstruct.py. To run it, simply run the following command in the terminal:

python tools/estimate_mesh_curvatures.py

To visualize the curvatures, open MeshLab and select the Quality Mapper option in the toolbar. We used the Red-White-Blue Scale option in the Preset Ramps, and manually adjusted the Equalizer to fit the curvature histograms, as shown below (note that we used the Armadillo as an example here):

Quality mapper for Armadillo curvatures