Instructions to use torch-pointcloud/pointnet2.s3dis-area3.openpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- torch-pointcloud
How to use torch-pointcloud/pointnet2.s3dis-area3.openpoints with torch-pointcloud:
import torch_pointcloud as tp model = tp.create_model("pointnet2.s3dis-area3.openpoints", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Upload pointnet2.s3dis-area3.openpoints
Browse filesFiles changed (2)
- README.mdAdded+95
- model.safetensorsAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495---license: mitlibrary_name: torch-pointcloudtags:- point-cloud- 3d- pytorch- torch-pointcloud- pointnet2- segmentationdatasets:- s3dis---
# Model card for pointnet2.s3dis-area3.openpoints
A PointNet++ point cloud segmentation model (hierarchical set abstraction). Trained on S3DIS (Area 3).
## Model Details
- **Model Type:** Point cloud semantic segmentation- **Model Stats:** - Params (M): 1.0 - Input channels: 4 - Classes: 13 - Features: 128- **Dataset:** S3DIS (Area 3)- **Paper:** [PointNet++: Deep Hierarchical Feature Learning on Point Sets in a Metric Space](https://arxiv.org/abs/1706.02413)- **Converted from:** [guochengqian/PointNeXt](https://github.com/guochengqian/PointNeXt) (MIT)- **Library:** [torch-pointcloud](https://github.com/arthurdjn/pytorch-pointcloud)
## Install
```bashpip install torch-pointcloud```
## Usage
```pythonimport torchimport torch_pointcloud as tpfrom torch_pointcloud.utils.data import collate
model, info = tp.create_model( "pointnet2.s3dis-area3.openpoints", task="segmentation", pretrained=True, return_info=True,)model = model.eval()
# synthetic sample with the keys a dataset providesnum_points = 8192sample = { "pos": torch.randn(num_points, 3), "color": torch.rand(num_points, 3) * 255,}data = info["transform"](sample)data = collate([data])
with torch.no_grad(): logits = model(data.get("x"), data["pos"], data["batch"])```
## Feature extraction
```pythonwith torch.no_grad(): features = model.forward_features(data.get("x"), data["pos"], data["batch"])
model.reset_classifier(num_classes=0)with torch.no_grad(): features = model(data.get("x"), data["pos"], data["batch"]) # (N, 128)```
## Citation
```bibtex@inproceedings{qi2017pointnet2, title = {PointNet++: Deep Hierarchical Feature Learning on Point Sets in a Metric Space}, author = {Charles R. Qi and Li Yi and Hao Su and Leonidas J. Guibas}, booktitle = {NeurIPS}, year = {2017}}```
```bibtex@inproceedings{armeni2016s3dis, title = {{3D} Semantic Parsing of Large-Scale Indoor Spaces}, author = {Armeni, Iro and Sener, Ozan and Zamir, Amir R. and Jiang, Helen and Brilakis, Ioannis and Fischer, Martin and Savarese, Silvio}, booktitle = {CVPR}, year = {2016}}```123version https://git-lfs.github.com/spec/v1oid sha256:23d17e70d03613a485e4696fd522c303f85ddb7605af9008e9217d857dca577asize 3922660README.mdAdded+95
model.safetensorsAdded+3