GithubHelp home page GithubHelp logo

auniquesun / point-transformer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from postech-cvlab/point-transformer

0.0 1.0 0.0 6.84 MB

This is an unofficial implementation of the Point Transformer paper.

Python 66.40% C++ 12.85% Cuda 18.34% Shell 2.42%

point-transformer's Introduction

Point Transformer

This repository reproduces Point Transformer.
The codebase is provided by the first author of Point Transformer.

Notes

  • For shape classification and part segmentation, please use paconv-codebase branch. After some testing, we will merge it into the master branch.

Dependencies

  • Ubuntu: 18.04 or higher

  • PyTorch: 1.9.0

  • CUDA: 11.1

  • Hardware: 4GPUs (TITAN RTX) to reproduce Point Transformer

  • To create conda environment, command as follows:

    sh env_setup.sh pt
    

Dataset preparation

  • Download S3DIS dataset and symlink the paths to them as follows:

    mkdir -p dataset
    ln -s /path_to_s3dis_dataset dataset/s3dis
    

Usage

  • Shape classification on ModelNet40
    • For now, please use paconv-codebase branch.
  • Part segmentation on ShapeNetPart
    • For now, please use paconv-codebase branch.
  • Semantic segmantation on S3DIS Area 5
    • Train

      • Specify the gpu used in config and then do training:

        sh tool/train.sh s3dis pointtransformer_repro
        
    • Test

      • Afer training, you can test the checkpoint as follows:

        CUDA_VISIBLE_DEVICES=0 sh tool/test.sh s3dis pointtransformer_repro
        

Experimental Results

  • Semanctic Segmentation on S3DIS Area 5

    Model mAcc OA mIoU
    Paper 76.5 90.8 70.4
    Hengshuang's code 76.8 90.4 70.0

References

If you use this code, please cite Point Transformer:

@inproceedings{zhao2021point,
  title={Point transformer},
  author={Zhao, Hengshuang and Jiang, Li and Jia, Jiaya and Torr, Philip HS and Koltun, Vladlen},
  booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
  pages={16259--16268},
  year={2021}
}

Acknowledgement

The code is from the first author of Point Transformer. We also refer PAConv repository.

point-transformer's People

Contributors

chrockey avatar hmyang0727 avatar junha-l avatar kwonyoung9120 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.