Coder Social home page Coder Social logo

rpmnet's Introduction

RPM-Net: Robust Point Matching using Learned Features

pic-network

This is the project webpage of our CVPR 2020 work. RPM-Net is a deep-learning approach designed for performing rigid partial-partial point cloud registration for objects in a iterative fashion. Our paper can be found on Arxiv (supplementary).

@inproceedings{yew2020-RPMNet, 
    title={RPM-Net: Robust Point Matching using Learned Features}, 
    author={Yew, Zi Jian and Lee, Gim Hee}, 
    booktitle={Conference on Computer Vision and Pattern Recognition (CVPR)},
    year={2020} 
}

See the following link for a video demonstration of the results:

Prerequisites

See requirements.txt for required packages. Our source code was developed using Python 3.6 with PyTorch 1.2. However, we do not observe problems running on newer versions available as of time of writing.

Training

Run the relevant commands below. We use the processed ModelNet40 dataset from PointNet for this work, which will be automatically downloaded if necessary. Performance typically saturates by around 500-1000 epochs depending on setting.

mkdir rpmnet && cd rpmnet
git clone [email protected]:yewzijian/RPMNet.git
cd RPMNet/src
python train.py --noise_type crop

For clean and noisy data, we use a smaller batch size of 4 to allow it to train on a 11GB GPU (e.g. Nvidia GTX 1080Ti), but for the rest of the experiments we use a batch size of 8. So, for clean data, replace the last line with:

python train.py --noise_type clean --train_batch_size 4

, and for noisy data:

python train.py --noise_type jitter --train_batch_size 4

The tensorboard summaries and more importantly the checkpoints will be saved in [root]/logs/[datetime]/*. Note that you need a recent version of tensorboard if you wish to visualize the point clouds (optional).

Inference / Evaluation

This script performs inference on the trained model, and computes evaluation metrics.

Note: replace --noise_type accordingly if not running on partial data.

python eval.py --noise_type crop --resume [path-to-logs/ckpt/model-best.pth]

Alternatively, given transforms saved in a .npy file of shape (B, [n_iter], 3, 4), you can evaluate them using:

python eval.py --noise_type crop --transform_file [path-to-transform-file.npy]

Pretrained models

Our pretrained models can be downloaded from here. You should be able to obtain the results shown in the paper by using these checkpoints.

rpmnet's People

Contributors

yewzijian avatar

Watchers

James Cloos 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.