download raw mesh data from https://drive.google.com/drive/folders/1n2lf4am9k3hy3ci4W20XiMkXwJKwyg8f?usp=sharing.
run prepare_data/mesh2ply.py and prepare_data/ply2patch.py to prepare the training and testing data.
run main.py to training model with different upsample ratios.
First you need to comple the P2F evaluation.
cd evaluation/p2f
cmake .
make
Then run evaluation/cal_p2f.py and evaluation/cal_metric.py to compute the metric(CD, HD, P2F).