TADPM:Automatic Tooth Arrangement with Joint Features of Point and Mesh Representations via Diffusion Probabilistic Models
This is the PyTorch implementation of our TADPM.
To install python requirements:
pip install -r requirements.txtTo install chamfer distance:
cd chamfer_dist
python setup.py installTo install manifold, please refer to https://github.com/ZhaoHengJiang/MeshReconstruction/tree/main/Manifold
- To get single tooth mesh files:
bash scripts/get_mesh.sh- To get pointcloud files:
bash scripts/get_pointcloud.sh- To get remesh files:
bash scripts/remesh.sh- To pretrain MeshMAE:
bash scripts/pretrain.shYou can also refer to https://github.com/liang3588/MeshMAE
- To train the TADPM model:
bash scripts/train.shWhen training TADPM, you should set the path to pretrained MeshMAE model checkpoint.
- To visualize TADPM's results, run:
bash scripts/get_result.sh