Code Monkey home page Code Monkey logo

art-point's Introduction

ART-Point: Improving Rotation Robustness of Point Cloud Classifiers via Adversarial Rotation

image

Introduction

PyTorch implementation for the paper ART-Point: Improving Rotation Robustness of Point Cloud Classifiers via Adversarial Rotation (CVPR 2022).

Installation

Install Requirements

$ cd ART-Point/
$ conda env create -f environment.yaml

Download ModelNet40 and ShapeNet Parts

We use two datasets:

After downloading, you should convert the .txt dataset into numpy file (.npy). Then, you can use our code for training and evaluation. You can use the codes in "https://github.com/yanx27/Pointnet_Pointnet2_pytorch/tree/master/data_utils" for pre-pocessing.

Pretraining Models

We use the folloing implemetations to respectively pretrain classifiers on ModelNet40 and ShapeNet16.

After pre-training, you should move the pre-trained models into corresponding folders at "./pretrained_models/"

Train and Evaluate

ModelNet40

To train and evaluate ART-Point with one-step optimization on ModelNet40 using PointNet backends run:

$ python train_classification_onestep.py --angles 1 --batch_size 17 --inner_epoch 200 --iters 10 --log_dir pn1_onestep --rp

To train and evaluate ART-Point with iterative optimization on ModelNet40 using PointNet backend run:

$ python train_classification_dynamic.py --angles 1 --batch_size 17 --epoch 50 --inner_epoch 50 --iters 10 --log_dir pn1_dynamic --rp

ShapeNet16

To train and evaluate ART-Point with one-step optimization on ShapeNet16 using PointNet backends run:

$ python train_classification_onestep_s16.py --angles 1 --batch_size 17 --inner_epoch 200 --iters 10 --log_dir pn1_onestep_s16 --rp

Contact

You are welcome to send pull requests or share some ideas with us. Contact information: Robin Wang ([email protected]).

art-point's People

Contributors

robinwang1 avatar

Stargazers

lff avatar panda avatar Supriya Gadi Patil avatar Bao Li avatar jiaxiaojun avatar  avatar Devraj Priyadarshi avatar  avatar Dantalion avatar Daizong Liu avatar Chengle avatar Rui Shao avatar HEXu avatar Bruno Ma avatar Haowen Sun avatar Lingdong Kong avatar  avatar Yibo Yang avatar  avatar

Watchers

HEXu avatar

art-point's Issues

Feature extraction

Hello @robinwang1,

Thank you for sharing the code. ART-Point is an interesting paper.
I was wondering if it is possible to extract the rotation-robust feature vector of the input 3D point cloud from the ART-Point network. If yes, how to extract such feature? Which vector, in Figure 1 of the paper, represents the rotation-robust feature vector?

Thank you,
Supriya

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.