Skip to content

Geodesic-Former: a Geodesic-Guided Few-shot 3D Point Cloud Instance Segmenter (ECCV 2022)

License

Notifications You must be signed in to change notification settings

SARIHUST/GeoFormer

 
 

Repository files navigation

Table of contents
  1. Installation
  2. Data Preparation
  3. Training and Testing
  4. Quick Demo
  5. Acknowledgments
  6. Contacts

Geodesic-Former: a Geodesic-Guided Few-shot 3D Point Cloud Instance Segmenter

Abstract: This paper introduces a new problem in 3D point cloud: few-shot instance segmentation. Given a few annotated point clouds characterizing a target class, our goal is to segment all instances of this target class in a query point cloud. This problem has a wide range of practical applications, especially in the areas where point-wise instance label segmentation annotation is prohibitively expensive to collect. To address this problem, we present Geodesic-Former – the first geodesic-guided transformer for 3D point cloud instance segmentation. The key idea is to leverage the geodesic distance to tackle the density imbalance of LiDAR 3D point clouds. The LiDAR 3D point clouds are dense near object surface and sparse or empty elsewhere making the Euclidean distance less effective to distinguish different objects. The geodesic distance, on the other hand, is more suitable since it encodes the object’s geometry which can be used as a guiding signal for the attention mechanism in a transformer decoder to generate kernels representing distinguishing features of instances. These kernels are then used in a dynamic convolution to obtain the final instance masks. To evaluate Geodesic-Former on the new task, we propose new datasets adapted from the two common 3D point cloud instance segmentation datasets: ScannetV2 and S3DIS. Geodesic-Former consistently outperforms very strong baselines adapted from state-of-the-art 3D point cloud instance segmentation approaches with significant margins.

overview

Details of the model architecture and experimental results can be found in our paper:

@inproceedings{ngo2022geoformer,
 author={Tuan Ngo and Khoi Nguyen},
 booktitle={Proceedings of European Conference on Computer Vision (ECCV)},
 title={Geodesic-Former: a Geodesic-Guided Few-shot 3D Point Cloud Instance Segmenter},
 year= {2022}
}

Please CITE our paper whenever this repository is used to help produce published results or incorporated into other software.

Installation

Please refer to installation guide.

Data Preparation

Please refer to data preparation.

Training and Testing

Please refer to training guide.

Quick Demo

We provided a quick inference on ScannetV2 dataset with our pretrained model (GoogleDrive)

python test_fs.py --config config/test_geoformer_fs_scannet.yaml --output_path results/test --resume pretrains/best_fs_geoformer_scannet_fold0.pth

Acknowledgements

This repo is built upon DyCo3D, spconv, 3DETR.

Contacts

If you have any questions or suggestions about this repo, please feel free to contact me (ductuan.ngo99@gmail.com).

About

Geodesic-Former: a Geodesic-Guided Few-shot 3D Point Cloud Instance Segmenter (ECCV 2022)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.5%
  • C++ 5.5%
  • Cuda 4.9%
  • C 1.1%