GithubHelp home page GithubHelp logo

patchaugment's Introduction

PatchAugment

UPDATE: Pre-trained models of ablation study and DGCNN code will be released SOON...

Classification

This code submission is to reproduce 3D Shape Classification results of PointNet++ with PatchAugment on ModelNet40 dataset.

Download Code and Unzip

unzip PatchAugment.zip cd PatchAugment

Environments

Ubuntu 18.04
Python 3.8.3
Pytorch 1.7.0

Dataset

The train script downloads the ModelNet40 dataset (make sure it is in data folder)
https://shapenet.cs.stanford.edu/media/modelnet40_ply_hdf5_2048.zip

Run

Training
--------
python train_cls.py --model pointnet2_cls_ssg --log_dir log

uncomment layer in the model file for full model training

Testing
-------
python test_cls.py --log_dir logSA

Performance

3D classification accuracy on PointNet++ single SA with our PatchAugment is 93.0%

Reference By

halimacc/pointnet3
fxia22/pointnet.pytorch
charlesq34/PointNet
charlesq34/PointNet++

Note

Note: This code has been heaviy borrowed from https://github.com/yanx27/Pointnet_Pointnet2_pytorch Also, the original code only includes scaling and translation from conventional data augmentation(using the aligned modelnet40 dataset). Hence the reported accuracies are higher. With all DA the accuracy drops(classification without normals on SSG model). However, in our method PatchAugment boosts the overall accuracy using all Data Augmentations at patch level instead of object level. Also, we use unaligned modelnet40 dataset.

To cite our paper please use below bibtex.

  @inproceedings{sheshappanavar2021patchaugment,
    title={PatchAugment: Local Neighborhood Augmentation in Point Cloud Classification},
    author={Sheshappanavar, Shivanand Venkanna and Singh, Vinit Veerendraveer and Kambhamettu, Chandra},
    booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
    pages={2118--2127},
    year={2021}
  }

patchaugment's People

Contributors

sheshap avatar

Stargazers

HeBangYan avatar  avatar  avatar ZHANG ZHAOXIANG avatar  avatar

Watchers

Stephen Rhein avatar  avatar  avatar  avatar Wayne Treible avatar Scott Sorensen avatar  avatar  avatar Vinit Singh 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.