PointGPT
Collection
18 items โข Updated
How to use torch-pointcloud/pointgpt-b.pretrain.guangyan-chen with torch-pointcloud:
import torch_pointcloud as tp
model = tp.create_model("pointgpt-b.pretrain.guangyan-chen", pretrained=True)A PointGPT self-supervised pretraining model (autoregressive generative pretraining transformer). Pretrained on UnlabeledHybrid.
pip install torch-pointcloud
import torch
import torch_pointcloud as tp
from torch_pointcloud.utils.data import collate
model, info = tp.create_model(
"pointgpt-b.pretrain.guangyan-chen",
pretrained=True,
return_info=True,
)
model = model.eval()
# synthetic sample with the keys a dataset provides
num_points = 8192
sample = {
"pos": torch.randn(num_points, 3),
}
data = collate([sample])
with torch.no_grad():
out = model(data.get("x"), data["pos"], data["batch"])
@inproceedings{chen2023pointgpt,
title = {PointGPT: Auto-regressively Generative Pre-training from Point Clouds},
author = {Guangyan Chen and Meiling Wang and Yi Yang and Kai Yu and Li Yuan and Yufeng Yue},
booktitle = {NeurIPS},
year = {2023}
}
@software{dujardin2026pytorchpointcloud,
author = {Arthur Dujardin},
title = {PyTorch PointCloud},
year = {2026},
doi = {10.5281/zenodo.22159632},
url = {https://github.com/arthurdjn/pytorch-pointcloud},
}