All Projects → iMoonLab → Meshnet

iMoonLab / Meshnet

Licence: mit
MeshNet: Mesh Neural Network for 3D Shape Representation (AAAI 2019)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Meshnet

Wireguard Private Networking
Build your own multi server private network using wireguard and ansible
Stars: ✭ 124 (-39.22%)
Mutual labels:  mesh
Matgeom
Matlab geometry toolbox for 2D/3D geometric computing
Stars: ✭ 168 (-17.65%)
Mutual labels:  mesh
Fold
FOLD file format for origami models, crease patterns, etc.
Stars: ✭ 181 (-11.27%)
Mutual labels:  mesh
Django Netjsongraph
Network Topology Visualizer & Network Topology Collector
Stars: ✭ 131 (-35.78%)
Mutual labels:  mesh
Hole fixer
Demo implementation of smoothly filling holes in 3D meshes using surface fairing
Stars: ✭ 165 (-19.12%)
Mutual labels:  mesh
Creature ue4
Unreal Engine 4 Runtimes for Creature, the 2D Skeletal + Mesh Animation Tool
Stars: ✭ 174 (-14.71%)
Mutual labels:  mesh
Openmvs
open Multi-View Stereo reconstruction library
Stars: ✭ 1,842 (+802.94%)
Mutual labels:  mesh
Dicomtomesh
A command line tool to transform a DICOM volume into a 3d surface mesh (obj, stl or ply). Several mesh processing routines can be enabled, such as mesh reduction, smoothing or cleaning. Works on Linux, OSX and Windows.
Stars: ✭ 191 (-6.37%)
Mutual labels:  mesh
Fusion360image2surface
Image2Surface Script for Autodesk Fusion 360
Stars: ✭ 166 (-18.63%)
Mutual labels:  mesh
Inlets Pro
Secure TCP and HTTP tunnels that work anywhere
Stars: ✭ 179 (-12.25%)
Mutual labels:  mesh
Building Blocks
A voxel library for real-time applications.
Stars: ✭ 140 (-31.37%)
Mutual labels:  mesh
Gltfforue4
Import glTF 2.0 in Unreal Engine
Stars: ✭ 145 (-28.92%)
Mutual labels:  mesh
Mmg
open source software for bidimensional and tridimensional remeshing
Stars: ✭ 174 (-14.71%)
Mutual labels:  mesh
Ipadlidarscanexport
Export an OBJ file of ARKit 3.5 iPad Pro LIDAR scans
Stars: ✭ 129 (-36.76%)
Mutual labels:  mesh
Deform
A fully-featured deformer system for Unity.
Stars: ✭ 2,421 (+1086.76%)
Mutual labels:  mesh
Clusterduck Protocol
Firmware for an ad-hoc mesh network of Internet-of-Things devices based on LoRa (Long Range radio) that can be deployed quickly and cheaply.
Stars: ✭ 122 (-40.2%)
Mutual labels:  mesh
Medium
Independent telecommunication environment
Stars: ✭ 171 (-16.18%)
Mutual labels:  mesh
Simple Vpn
A simple VPN allowing mesh-like communication between nodes, over websockets
Stars: ✭ 201 (-1.47%)
Mutual labels:  mesh
Pixel2meshplusplus
Pixel2Mesh++: Multi-View 3D Mesh Generation via Deformation. In ICCV2019.
Stars: ✭ 188 (-7.84%)
Mutual labels:  mesh
Meshlab
The open source mesh processing system
Stars: ✭ 2,619 (+1183.82%)
Mutual labels:  mesh

MeshNet: Mesh Neural Network for 3D Shape Representation

Created by Yutong Feng, Yifan Feng, Haoxuan You, Xibin Zhao, Yue Gao from Tsinghua University.

pipeline

Introduction

This work will appear in AAAI 2019. We proposed a novel framework (MeshNet) for 3D shape representation, which could learn on mesh data directly and achieve satisfying performance compared with traditional methods based on mesh and representative methods based on other types of data. You can also check out paper for a deeper introduction.

Mesh is an important and powerful type of data for 3D shapes. Due to the complexity and irregularity of mesh data, there is little effort on using mesh data for 3D shape representation in recent years. We propose a mesh neural network, named MeshNet, to learn 3D shape representation directly from mesh data. Face-unit and feature splitting are introduced to solve the complexity and irregularity problem. We have applied MeshNet in the applications of 3D shape classification and retrieval. Experimental results and comparisons with the state-of-the-art methods demonstrate that MeshNet can achieve satisfying 3D shape classification and retrieval performance, which indicates the effectiveness of the proposed method on 3D shape representation.

In this repository, we release the code and data for train a Mesh Neural Network for classification and retrieval tasks on ModelNet40 dataset.

Citation

if you find our work useful in your research, please consider citing:

@article{feng2018meshnet,
  title={MeshNet: Mesh Neural Network for 3D Shape Representation},
  author={Feng, Yutong and Feng, Yifan and You, Haoxuan and Zhao, Xibin and Gao, Yue},
  journal={AAAI 2019},
  year={2018}
}

Installation

Install PyTorch 0.4.0. You also need to install yaml. The code has been tested with Python 3.6, PyTorch 0.4.0 and CUDA 9.0 on Ubuntu 16.04.

Usage

Data Preparation

Firstly, you should download the reorganized ModelNet40 dataset. Then, configure the "data_root" in config/train_config.yaml and config/test_config.yaml with your path to the downloaded dataset:

# config/train_config.yaml and config/test_config.yaml
dataset:
  data_root: [your_path_to_dataset]

For each data file XXX.off in ModelNet, we reorganize it to the format required by MeshNet and store it into XXX.npz. The reorganized file includes two parts of data:

  • The "face" part contains the center position, vertices' positions and normal vector of each face.
  • The "neighbor_index" part contains the indices of neighbors of each face.

If you wish to create and use your own dataset, simplify your models and organize the .off files similar to the ModelNet dataset. Then use the code in data/preprocess.py to transform them into the required .npz format. Notice that the parameter max_faces in config files should be maximum number of faces among all of your simplified mesh models.

Train Model

To train and evaluate MeshNet for classification and retrieval:

python train.py

You can modify the configuration in the config/train_config.yaml for your own training, including the CUDA devices to use, the flag of data augmentation and the hyper-parameters of MeshNet.

Test Model

The pretrained MeshNet model weights are stored in pretrained model. You can download it and configure the "load_model" in config/test_config.yaml with your path to the weight file.

# config/test_config.yaml
load_model: [your_path_to_weight_file]

To evaluate the model for classification and retrieval:

python test.py

Licence

Our code is released under MIT License (see LICENSE file for details).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].