Git Product home page Git Product logo

desenat's Introduction

Improving Corruption Robustness: Desensitizing the Neural Network to 3D Point Cloud through Adversarial Training

State

This work is under submission to "Pattern Recognition".

Prerequisites

Install necessary packages using:

bash install.sh

Install PyGeM

cd PyGen
python setup.py install
cd ..

Data

Download ModelNet40, ModelNet40-C, and PointCloud-C datasets and put them in the Data directory:

DenAT/
└── data/
    ├── ModelNet40Ply2048
    ├── modelnet40_c
    └── pointcloud_c

Generate or download the shapely value corresponding to modelNet

Generate the shapely value corresponding to modelNet:

bash ./script/gen_shapely.py

Or you can also download it directly from this link. You need to put the file in the specified directory:

DenAT/
└── data/
    └── shaply_ModelNet40Ply2048
        └── PointNet2Encoder_ST
            ├──train
            └──test

Script

Train PointNet++ model using ST method:

bash ./script/trainST.py

Train PointNet++ model using DesenAT method:

bash ./script/train.py

Testing in ModelNet40-C

bash ./script/test_modelnetC.py

Testing in PointCloud-C

bash ./script/test_pointcloudC.py

Acknowledgment

This repository is built on reusing codes of OpenPoints and PointNeXt. We integrated APES and PointMetaBase into the code. We also have integrated methods for handling corrupted point clouds into our code, thanks to the excellent work of ModelNet-C and PointCloud-C.

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.