Giter Club home page Giter Club logo

ppt-net's Introduction

Pyramid Point Cloud Transformer for Large-Scale Place Recognition

by Le Hui, Hang Yang, Mingmei Cheng, Jin Xie, and Jian Yang

Benchmark Datasets

We use the same benchmark datasets introduced in PointNetVLAD for point cloud based place recognition, and they can be downloaded here.

  • Oxford dataset
  • NUS (in-house) Datasets
    • university sector (U.S.)
    • residential area (R.A.)
    • business district (B.D.)

Project Code

Pre-requisites

Python 3.6+
Pytorch 1.2
CUDA 10.0

Dataset set-up

  • Download the zip file of the benchmark datasets found here and extract the folder. Therefore, you have two folders: 1) benchmark_datasets/ and 2) PPT-Net/

  • Generate pickle files: We store the positive and negative point clouds to each anchor on pickle files that are used in our training and evaluation codes. The files only need to be generated once. The generation of these files may take a few minutes.

     cd generating_queries/ 
    
     # For network training! Note that "base_path" should be modified to your path.
     python generate_training_tuples_baseline.py
    
     # For network evaluation! Note that "base_path" should be modified to your path.
     python generate_test_sets.py
    

Training and Evaluation

  • build the ops

    cd libs/pointops && python setup.py install && cd ../../
    
  • To train and evaluate PPT-Net, run the following command:

    # Train & Eval
    # Note that you should change the paths in the yaml file.
    
    sh train.sh pptnet configs/pptnet.yaml
    
    python evaluate.py --config configs/pptnet.yaml --save_path exp/pptnet --model_name train_epoch_29_end.pth
    

Citation

If you find the code or trained models useful, please consider citing:

@inproceedings{hui2021pptnet,
  title={Pyramid Point Cloud Transformer for Large-Scale Place Recognition},
  author={Hui, Le and Yang, Hang and Cheng, Mingmei and Xie, Jin and Yang, Jian},
  booktitle={ICCV},
  year={2021}
}

@article{hui2021epcnet,
  title={Efficient 3{D} Point Cloud Feature Learning for Large-Scale Place Recognition},
  author={Hui, Le and Cheng, Mingmei and Xie, Jin and Yang, Jian and Cheng Ming-Ming},
  journal={Transactions on Image Processing},
  year={2021}
}

Acknowledgement

Our code refers to PointNetVLAD and PointWeb.

ppt-net's People

Contributors

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