PyTorch implementation of PRIN/SPRIN: On Extracting Point-wise Rotation Invariant Features (IEEE TPAMI 2022), an improved and extended version of our AAAI 2020 work PRIN.
Point cloud analysis without pose priors is challenging because object orientations are often unknown in real applications. PRIN (Point-wise Rotation Invariant Network) extracts per-point rotation-invariant features through Density Aware Adaptive Sampling, Spherical Voxel Convolution, and Point Re-sampling. SPRIN is its sparse variant that operates directly on sparse point clouds, achieving state-of-the-art results on randomly rotated point clouds without any rotation augmentation.
- [2022-03] Our new sim-to-real 9D pose estimation method CPPF that leverages SPRIN SE(3)-invariant features is accepted to CVPR 2022.
Download the ShapeNet part segmentation dataset from https://shapenet.cs.stanford.edu/media/shapenet_part_seg_hdf5_data.zip and extract it to shapenet_part_seg_hdf5_data/ under the repository root.
Pretrained checkpoints for both models are hosted on Hugging Face:
hf download qq456cvb/SPRIN epoch250.pt --local-dir sprin # SPRIN
hf download qq456cvb/SPRIN state79.pkl --local-dir prin # PRINGoogle Drive mirrors: SPRIN, PRIN.
SPRIN depends only on PyTorch and hydra:
python sprin/train.py # train
python sprin/test.py # evaluate with sprin/epoch250.ptPRIN additionally requires the modified s2cnn submodule and a C++ module for Density Aware Adaptive Sampling; see prin/README.md for setup, then:
python prin/train.py # train
python prin/test.py # evaluate with prin/state79.pklTraining hyperparameters are configured in prin/config/shapenet.yaml and sprin/config/shapenet.yaml.
MIT
@article{you2022prin,
title={PRIN/SPRIN: On Extracting Point-wise Rotation Invariant Features},
author={You, Yang and Lou, Yujing and Shi, Ruoxi and Liu, Qi and Tai, Yu-Wing and Ma, Lizhuang and Wang, Weiming and Lu, Cewu},
journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
volume={44},
number={12},
pages={9489--9502},
year={2022},
doi={10.1109/TPAMI.2021.3130590}
}
