Giter Site home page Giter Site logo

pointshufflenet's Introduction

Pytorch Implementation of PointShuffleNet

This code is for classification testing on ModelNet40

Environments

Ubuntu 18.04 or Windows10
Python 3.6 or above
CUDA 10.2
Pytorch 1.4 or above

Package

Pytorch
torchsummary
tqdm
prefetch_generator
h5py

Data Preparation

You need to download the test data file from GoogleDrive and put it in the data directory as data/cache_test_1024_normal_True.h5. The data is generated from ModelNet and downsampled to 1024 points with normal vectors. The details of generating is in class ModelNeth5DataLoader of data_utils/ModelNetDataLoader.py.

Model

The default model in test_cls.py is models/PN2_cls_ssg_shuffle_info.py which is our PointShuffleNet with HER and LMIR. For stable evaluation result, we don't use ClusterFPS in default model. But you can try it by changing the use_cluster parameter in models/PN2_cls_ssg_shuffle_info.py.
The code of HER and LMIR is in models/ShufflePointNet_util.py line 61.
The code of ClusterFPS is in models/ClusterFPS.py

Run

python test_cls.py

Performance

You should get the result as

Test Instance Accuracy: 0.931048, Class Accuracy: 0.910952

pointshufflenet's People

Contributors

fpsandnoob 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.