• Stars
    star
    113
  • Rank 308,304 (Top 7 %)
  • Language
    Python
  • Created almost 4 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Jittor Library for Point Cloud Processing

计图点云库

已经实现的模型

Model Classification Segmentation
PointNet
PointNet ++
PointCNN
DGCNN
PointConv
KPConv

使用方法

安装依赖

sudo apt install python3.7-dev libomp-dev
sudo python3.7 -m pip install git+https://github.com/Jittor/jittor.git
python3.7 -m pip install sklearn lmdb msgpack_numpy

安装点云库

git clone https://github.com/Jittor/PointCloudLib.git # 将库下载的本地
# 您需要将 ModelNet40 和 ShapeNet 数据集下载到 data_util/data/ 里面
ModelNet40 数据集链接 : https://shapenet.cs.stanford.edu/media/modelnet40_normal_resampled.zip 
ShapeNet 数据集链接 : https://shapenet.cs.stanford.edu/media/shapenet_part_seg_hdf5_data.zip 

sh run_cls.sh # 点云分类的训练和测试(以PointNet为例) 
sh run_seg.sh # 点云分割的训练和测试(以PointNet为例)

# 对于kpconv,需要额外执行脚本再开始训练
cd cpp_wrappers
bash compile_wrappers.sh
cd ..
python train_cls.py --model kpconv # kpconv训练
python train_cls.py --model kpconv --eval # 修改train_cls.py中的chkp_path指定模型进行测试

所依赖的库

Python 3.7
Jittor 
Numpy
sklearn
lmdb
msgpack_numpy
...

实验结果

分类训练效果测试

Model Input overall accuracy
PointNet 1024 xyz 87.2
PointNet ++ 4096 xyz + normal 92.3
PointCNN 1024 xyz 92.6
DGCNN 1024 xyz 92.9
PointConv 1024 xyz + normal 92.4
KPConv xyz + neighbors + pools + lengths + features 92.5

分类训练时间测试

Model Speed up ratio (Compare with Pytorch)
PointNet 1.22
PointNet ++ 2.72
PointCNN 2.41
DGCNN 1.22
PointConv
KPConv

分割训练效果测试

Model Input pIoU
PointNet 2048 xyz + cls label 83.5
PointNet ++ 2048 xyz + cls label + normal 85.0
PointCNN 2048 xyz + normal 86.0
DGCNN 2048 xyz + cls label 85.1
PointConv 2048 xyz 85.4

分割训练时间测试

Model Speed up ratio (Compare with Pytorch)
PointNet 1.06
PointNet ++ 1.85
PointCNN None (No pytorch implementation)
DGCNN 1.05
PointConv None (No pytorch implementation)

目录结构

.
├── data_utils                   # 数据相关工具
│   ├── data                     # 数据存放路径
│   ├── modelnet40_loader.py
│   └── shapenet_loader.py
├── misc
│   ├── layers.py
│   ├── ops.py
│   ├── pointconv_utils.py
│   └── utils.py
├── networks
│   ├── cls
│   │   ├── dgcnn.py
│   │   ├── pointcnn.py
│   │   ├── pointconv.py
│   │   ├── pointnet2.py
│   │   └── pointnet.py
│   └── seg
│       ├── dgcnn_partseg.py
│       ├── pointcnn_partseg.py
│       ├── pointconv_partseg.py
│       ├── pointnet2_partseg.py
│       └── pointnet_partseg.py

├── README.md
├── run_cls.sh
├── run_partseg.sh
├── train_cls.py
└── train_partseg.py

非常欢迎您使用计图的点云库进行相关的研究,如在使用中有问题,欢迎提交 issues。

Reference code :

https://github.com/AnTao97/dgcnn.pytorch

More Repositories

1

jittor

Jittor is a high-performance deep learning framework based on JIT compiling and meta-operators.
Python
3,050
star
2

JittorLLMs

计图大模型推理库,具有高性能、配置要求低、中文支持好、可移植等特点
Python
2,340
star
3

JNeRF

JNeRF is a NeRF benchmark based on Jittor. JNeRF re-implemented instant-ngp and achieved same performance with original paper.
C++
631
star
4

jrender

Jrender is an efficient differentiable rendering library implemented in jittor.
Python
314
star
5

JSeg

JSeg is a Semantic segmentation toolbox based on MMSegmentation and Jittor
Python
185
star
6

JDet

JDet is an object detection benchmark based on Jittor. Mainly focus on aerial image object detection (oriented object detection).
Python
185
star
7

JGAN

JGAN model zoo supports 27 kinds of mainstream GAN models with high speed for jittor.
Python
171
star
8

segmentation-jittor

jittor segmentation lib
Python
61
star
9

LearnJittorBasicIn60Min

计图零基础快速入门教程(60分钟)
Jupyter Notebook
28
star
10

OCR-Baseline

Python
20
star
11

PFSegNets-Jittor

Python
18
star
12

JSparse

JSparse is a high-performance auto-differentiation library for sparse voxels computation and point cloud processing based on TorchSparse and Jittor.
Python
17
star
13

unsup3d-jittor

Jittor Implementation for the pepar Unsupervised Learning of Probably Symmetric Deformable 3D Objects from Images in the Wild (CVPR 2020 oral).
Python
17
star
14

lsgan-jittor

Python
16
star
15

ssd-jittor

Jittor object detection ssd(Single Shot MultiBox Detector) implemention.
Python
14
star
16

TrafficSignDetection

Python
13
star
17

cutt

CUDA Tensor Transpose (cuTT) library
C++
9
star
18

InstanceSegmentation-jittor

9
star
19

TsinghuaDogBaseline

ResNet-50 for TsinghuaDog classification
Python
9
star
20

deeplab-jittor

Python
9
star
21

shapenet-reconstruction-jittor

Python
6
star
22

mnistclassification-jittor

Python
4
star