Giter Club home page Giter Club logo

3dnn's Introduction

3D Neural Networks

Implementation of PointNet, PointNet++, PointCNN, etc. in PyTorch.

Environment

python 3.8.18
torch 2.1.1+cu121

Training was done on Tesla V100-PCIE-16GB gpu. But code does support CPU training.

Datasets

Download the following datasets and place in data/ directory.

ModelNet40 Normal Resampled

Usage of the dataset can be found at vis_modelnet40_normal_resampled.ipynb

Airplane (2048 Points) Airplane (10000 Points)

The ModelNet40_ply_hdf5_2048 is similar, just in a different format. Usage can be found at vis_modelnet40_data.ipynb.

ShapeNetSubset

Usage of the dataset can be found at vis_shapenetcore_partanno_seg_norm.ipynb

Airplane (1024) Airplane (2466)

TU-Berlin Dataset

Usage of the dataset can be found at vis_tu_berlin.ipynb.

Barn 2D Barn 3D

MNIST Dataset

Usage of the dataset can be found at vis_mnist.ipynb

Cifar10

Training and Testing

ModelNet40 Classification (normal resampled dataset) with PointNet

Train with following command

python train.py --model pointnet_cls --dataset ModelNet40 --batch_size 32 --epoch 100

Example evaluations can be found at eval_pointnet_cls.ipynb

ModelNet10 Classification (normal resampled dataset)

TODO

ModelNet40 Classification with PointCNN

Train with the following command

python train.py --model pointcnn_v1_cls --dataset ModelNet40_hdf5 --batch_size 16 --epoch 100

ShapeNet Part Segmentaion

Train with the following command

Performance

Classification on ModelNet40

Model Total Accuracy Class Accuracy FLOPs Training Time
PointNet 89.94%
PointNet2
PointCNN 76.99%
epochs = 100
batch_size = 32
use_normals = False
use_uniform_sample = False

NOTE: Above PointCN does not yet have data augmentation yet... May explain performance degredation relative to PointNet.

Example Confusion Matrix

PointNet PointCNN

Classification on TU-Berlin

Part Segmentation

Semaantic Segmentation

TODO

  • PointNet (Pytorch without normal)
  • PointNet (Pytorch with normal)
  • PointNet2_SSG (Pytorch without normal)
  • PointNet2_SSG (Pytorch with normal)
  • PointNet2_MSG (Pytorch with normal)
  • Compare training/inference performance with those in the paper.

Resources

Papers 1.

Other Projects 1.

3dnn's People

Contributors

akacoder404 avatar

Stargazers

 avatar

Watchers

 avatar

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.