PVT
PVT: Point-Voxel Transformer for 3D Deep Learning
Install / Use
/learn @HaochengWan/PVTREADME
PVT: Point-Voxel Transformer for 3D Deep Learning
We will release the latest code of our PVTv4 at arXiv upon acceptance!
Paper and Citation
The paper can be downloaded from arXiv.<BR/> If you like our work and think it helpful to your project, please cite it as follows.
@article{zhang2021point,
title={PVT: Point-Voxel Transformer for 3D Deep Learning},
author={Zhang, Cheng and Wan, Haocheng and Liu, Shengqiang and Shen, Xinyi and Wu, Zizhao},
journal={arXiv preprint arXiv:2108.06076},
year={2021}
}
Prerequisites
The code is built with following libraries (see requirements.txt):
Data Preparation
ModelNet40
Download alignment ModelNet40 here and save in data/modelnet40_normal_resampled/.
S3DIS
We follow the data pre-processing in PointCNN.
The code for preprocessing the S3DIS dataset is located in data/s3dis/.
One should first download the dataset from here, then run
python data/s3dis/prepare_data.py
ShapeNet
We follow the data pre-processing in PointNet2. Please download the dataset from hereand save in data/shapenetcore_partanno_segmentation_benchmark_v0_normal/.
KITTI
For Frustum-PointNet backbone, we follow the data pre-processing in Frustum-Pointnets. One should first download the ground truth labels from here, then run
unzip data_object_label_2.zip
mv training/label_2 data/kitti/ground_truth
./data/kitti/frustum/download.sh
Pretrained Models
Here we provide a pretrained model on ModelNet40. The accuracy might vary a little bit compared to the paper, since we re-train some of the models for reproducibility.
The path of the model is in ./checkpoints/cls/model.t7
Example training and testing
#train
python main_cls.py --exp_name=cls --num_points=1024 --use_sgd=True --batch_size 32 --epochs 200 --lr 0.001
#test
python main_cls.py --exp_name=cls --num_points=1024 --use_sgd=True --eval=True --model_path=checkpoints/cls/model.t7 --test_batch_size 32
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
flutter-tutor
Flutter Learning Tutor Guide You are a friendly computer science tutor specializing in Flutter development. Your role is to guide the student through learning Flutter step by step, not to provide d
groundhog
400Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
workshop-rules
Materials used to teach the summer camp <Data Science for Kids>
