This repository is the official PyTorch implementation of our paper, Laplacian2Mesh: Laplacian-Based Mesh Understanding.
- python 3.7
- CUDA 11.3
- Pytorch 1.10.0
To install other python requirements:
pip install -r requirements.txt
clone this repo:
git clone https://github.com/QiujieDong/Laplacian2Mesh.git
cd Laplacian2Mesh
This repo provides training scripts for classification and segmentation on the following datasets:
- SHREC-11
- manifold40
- humanbody
- coseg_aliens
- coseg_chairs
- coseg_vases
To download the preprocessed data, run
sh ./scripts/<DATASET_NAME>/get_data.sh
The
coseg_aliens
,coseg_chairs
, andcoseg_vases
are downloaded via the script ofcoseg_aliens
. This repo uses the originalManifold40
dataset without re-meshing via the Loop Subdivision.
To get the input features by preprocessing:
sh ./scripts/<DATASET_NAME>/prepaer_data.sh
The operation of preprocessing is one-time.
To train the model on the provided dataset(s) in this paper, run this command:
sh ./scripts/<DATASET_NAME>/train.sh
The training process is time-consuming, you can refer to DiffusionNet to optimize the code to speed up the training.
To evaluate the model on a dataset, run:
sh ./scripts/<DATASET_NAME>/test.sh
After testing the segmentation network, there will be colored shapes in the visualization_result
directory.
If you find our work useful for your research, please consider citing the following papers :)
@ARTICLE{Dong2023Laplacian2Mesh,
author={Dong, Qiujie and Wang, Zixiong and Li, Manyi and Gao, Junjie and Chen, Shuangmin and Shu, Zhenyu and Xin, Shiqing and Tu, Changhe and Wang, Wenping},
title={Laplacian2Mesh: Laplacian-Based Mesh Understanding},
journal={IEEE Transactions on Visualization and Computer Graphics},
year={2024},
volume={30},
number={7},
pages={4349-4361},
doi={10.1109/TVCG.2023.3259044}
}