Giter VIP home page Giter VIP logo

laplacian2mesh's Introduction

Laplacian2Mesh: Laplacian-Based Mesh Understanding

This repository is the official PyTorch implementation of our paper, Laplacian2Mesh: Laplacian-Based Mesh Understanding.

News

  • ๐Ÿ”ฅ This paper was accepted by IEEE TVCG
  • โญ Gave a talk at CVM2023 on Laplacian2Mesh.

Requirements

  • python 3.7
  • CUDA 11.3
  • Pytorch 1.10.0

To install other python requirements:

pip install -r requirements.txt

Installation

clone this repo:

git clone https://github.com/QiujieDong/Laplacian2Mesh.git
cd Laplacian2Mesh

Fetch Data

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, and coseg_vases are downloaded via the script of coseg_aliens. This repo uses the original Manifold40 dataset without re-meshing via the Loop Subdivision.

Preprocessing

To get the input features by preprocessing:

sh ./scripts/<DATASET_NAME>/prepaer_data.sh

The operation of preprocessing is one-time.

Training

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.

Evaluation

To evaluate the model on a dataset, run:

sh ./scripts/<DATASET_NAME>/test.sh

Visualize

After testing the segmentation network, there will be colored shapes in the visualization_result directory.

Cite

If you find our work useful for your research, please consider citing the following papers :)

@article{dong2023laplacian2mesh,
  title={Laplacian2mesh: Laplacian-based mesh understanding},
  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},
  journal={IEEE Transactions on Visualization and Computer Graphics},
  year={2023},
  publisher={IEEE}
}

Acknowledgments

Our code is inspired by MeshCNN and SubdivNet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.