랭킹으로 돌아가기

charlesq34/pointnet

Python

PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation

point-cloudclassificationsegmentationneural-networktensorflowgeometry-processing
스타 성장
스타
5.4k
포크
1.5k
주간 성장
이슈
181
2k4k
2017년 2월2020년 3월2023년 5월2026년 7월
아티팩트PyPIpip install pointnet
README

PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation

Created by Charles R. Qi, Hao Su, Kaichun Mo, Leonidas J. Guibas from Stanford University.

prediction example

Introduction

This work is based on our arXiv tech report, which is going to appear in CVPR 2017. We proposed a novel deep net architecture for point clouds (as unordered point sets). You can also check our project webpage for a deeper introduction.

Point cloud is an important type of geometric data structure. Due to its irregular format, most researchers transform such data to regular 3D voxel grids or collections of images. This, however, renders data unnecessarily voluminous and causes issues. In this paper, we design a novel type of neural network that directly consumes point clouds, which well respects the permutation invariance of points in the input. Our network, named PointNet, provides a unified architecture for applications ranging from object classification, part segmentation, to scene semantic parsing. Though simple, PointNet is highly efficient and effective.

In this repository, we release code and data for training a PointNet classification network on point clouds sampled from 3D shapes, as well as for training a part segmentation network on ShapeNet Part dataset.

Citation

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

@article{qi2016pointnet,
  title={PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation},
  author={Qi, Charles R and Su, Hao and Mo, Kaichun and Guibas, Leonidas J},
  journal={arXiv preprint arXiv:1612.00593},
  year={2016}
}

Installation

Install TensorFlow. You may also need to install h5py. The code has been tested with Python 2.7, TensorFlow 1.0.1, CUDA 8.0 and cuDNN 5.1 on Ubuntu 14.04.

If you are using PyTorch, you can find a third-party pytorch implementation here.

To install h5py for Python:

sudo apt-get install libhdf5-dev
sudo pip install h5py

Usage

To train a model to classify point clouds sampled from 3D shapes:

python train.py

Log files and network parameters will be saved to log folder in default. Point clouds of ModelNet40 models in HDF5 files will be automatically downloaded (416MB) to the data folder. Each point cloud contains 2048 points uniformly sampled from a shape surface. Each cloud is zero-mean and normalized into an unit sphere. There are also text files in data/modelnet40_ply_hdf5_2048 specifying the ids of shapes in h5 files.

To see HELP for the training script:

python train.py -h

We can use TensorBoard to view the network architecture and monitor the training progress.

tensorboard --logdir log

After the above training, we can evaluate the model and output some visualizations of the error cases.

python evaluate.py --visu

Point clouds that are wrongly classified will be saved to dump folder in default. We visualize the point cloud by rendering it into three-view images.

If you'd like to prepare your own data, you can refer to some helper functions in utils/data_prep_util.py for saving and loading HDF5 files.

Part Segmentation

To train a model for object part segmentation, firstly download the data:

cd part_seg
sh download_data.sh

The downloading script will download ShapeNetPart dataset (around 1.08GB) and our prepared HDF5 files (around 346MB).

Then you can run train.py and test.py in the part_seg folder for training and testing (computing mIoU for evaluation).

License

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

Selected Projects that Use PointNet

관련 저장소
PointCloudLibrary/pcl

Point Cloud Library (PCL)

C++Otherpclc-plus-plus
pointclouds.org
11.1k4.7k
timzhang642/3D-Machine-Learning

A resource repository for 3D machine learning

3d-reconstructionpapers
10.2k1.8k
google/draco

Draco is a library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.

C++Apache License 2.0point-cloud3d-graphics
google.github.io/draco/
7.4k1.1k
open-mmlab/mmdetection3d

OpenMMLab's next-generation platform for general 3D object detection.

PythonPyPIApache License 2.0pytorch3d-object-detection
mmdetection3d.readthedocs.io/en/latest/
6.5k1.8k
OpenDroneMap/ODM

A command line toolkit to generate maps, point clouds, 3D models and DEMs from drone, balloon or kite images. 📷

PythonPyPIGNU Affero General Public License v3.0point-cloudphotogrammetry
opendronemap.org
6.3k1.3k
CGAL/cgal

The public CGAL repository, see the README below

C++Othercgalc-plus-plus
github.com/CGAL/cgal
6k1.6k
cnr-isti-vclab/meshlab

The open source mesh processing system

C++GNU General Public License v3.03dmesh
meshlab.net
5.8k906
open-mmlab/OpenPCDet

OpenPCDet Toolbox for LiDAR-based 3D Object Detection.

PythonPyPIApache License 2.0point-cloud3d-detection
5.7k1.5k
yanx27/Pointnet_Pointnet2_pytorch

PointNet and PointNet++ implemented by pytorch (pure python) and on ModelNet, ShapeNet and S3DIS.

PythonPyPIMIT Licensepointnetpointnet2
4.9k1k
CloudCompare/CloudCompare

CloudCompare main repository

C++Otherpoint-cloud3d-point-clouds
cloudcompare.org
4.6k1.2k
cdcseacave/openMVS

open Multi-View Stereo reconstruction library

C++GNU Affero General Public License v3.0multi-view-stereo3d-reconstruction
cdcseacave.github.io
4.1k982
WebODM/WebODM

User-friendly, commercial-grade software for processing aerial imagery. ✈️ Download it for free!

PythonPyPIGNU Affero General Public License v3.0dronephotogrammetry
webodm.org/download
4.1k1.2k