Standalone Evaluation Pipeline
October 22, 2023 ยท View on GitHub
Now this sub-directory is not fully standalone, which has dependencies under the project root, should clean the dependency there later.
-
Inference trained model to generate objects:
gen_diffusion.ipynb. This notebook assume you have a trained model saved under log dir. After running this notebook, you will see two folders underlog/test/:Gsaved all generated objects.Vizhave some gifs visualization. You should also have to runsave_gt.ipynbto save the ground truth objects for evaluation. -
Sample point clouds from generated object with
sample_pcl.py. Heresample_pcl.shis an example. After running this, you will see sampled point cloud npz files underPCLdir -
Compute the instantiation distance (very slow) based on the saved pcl files with
instantiation_distance.pyand example incompute_id.sh. After several hours GPU computing, you will see the distance matrices saved underID_D_matrix. -
Finally, you can compute the metrics from the saved distance matrices with
compute_metrics.ipynb.