Upload point-bert-base.pretrain.xumin-yu
Browse files- README.md +79 -0
- model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
library_name: torch-pointcloud
|
| 4 |
+
tags:
|
| 5 |
+
- point-cloud
|
| 6 |
+
- 3d
|
| 7 |
+
- pytorch
|
| 8 |
+
- torch-pointcloud
|
| 9 |
+
- point-bert
|
| 10 |
+
- self-supervised
|
| 11 |
+
datasets:
|
| 12 |
+
- shapenet
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Model card for point-bert-base.pretrain.xumin-yu
|
| 16 |
+
|
| 17 |
+
A Point-BERT self-supervised pretraining model (masked point modeling transformer). Pretrained on ShapeNet-55.
|
| 18 |
+
|
| 19 |
+
## Model Details
|
| 20 |
+
|
| 21 |
+
- **Model Type:** Self-supervised pretraining
|
| 22 |
+
- **Model Stats:**
|
| 23 |
+
- Params (M): 25.5
|
| 24 |
+
- **Dataset:** ShapeNet-55
|
| 25 |
+
- **Paper:** [Point-BERT: Pre-training 3D Point Cloud Transformers with Masked Point Modeling](https://arxiv.org/abs/2111.14819)
|
| 26 |
+
- **Converted from:** [Julie-tang00/Point-BERT](https://github.com/Julie-tang00/Point-BERT) (MIT)
|
| 27 |
+
- **Library:** [torch-pointcloud](https://github.com/arthurdjn/pytorch-pointcloud)
|
| 28 |
+
|
| 29 |
+
## Install
|
| 30 |
+
|
| 31 |
+
```bash
|
| 32 |
+
pip install torch-pointcloud
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
## Usage
|
| 36 |
+
|
| 37 |
+
```python
|
| 38 |
+
import torch
|
| 39 |
+
import torch_pointcloud as tp
|
| 40 |
+
from torch_pointcloud.utils.data import collate
|
| 41 |
+
|
| 42 |
+
model, info = tp.create_model(
|
| 43 |
+
"point-bert-base.pretrain.xumin-yu",
|
| 44 |
+
task="base",
|
| 45 |
+
pretrained=True,
|
| 46 |
+
return_info=True,
|
| 47 |
+
)
|
| 48 |
+
model = model.eval()
|
| 49 |
+
|
| 50 |
+
# synthetic sample with the keys a dataset provides
|
| 51 |
+
num_points = 8192
|
| 52 |
+
sample = {
|
| 53 |
+
"pos": torch.randn(num_points, 3),
|
| 54 |
+
}
|
| 55 |
+
data = collate([sample])
|
| 56 |
+
|
| 57 |
+
with torch.no_grad():
|
| 58 |
+
out = model(data.get("x"), data["pos"], data["batch"])
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
## Citation
|
| 62 |
+
|
| 63 |
+
```bibtex
|
| 64 |
+
@inproceedings{yu2022pointbert,
|
| 65 |
+
title = {Point-BERT: Pre-training 3D Point Cloud Transformers with Masked Point Modeling},
|
| 66 |
+
author = {Xumin Yu and Lulu Tang and Yongming Rao and Tiejun Huang and Jie Zhou and Jiwen Lu},
|
| 67 |
+
booktitle = {CVPR},
|
| 68 |
+
year = {2022}
|
| 69 |
+
}
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
```bibtex
|
| 73 |
+
@article{chang2015shapenet,
|
| 74 |
+
author = {Chang, Angel X. and Funkhouser, Thomas and Guibas, Leonidas and Hanrahan, Pat and Huang, Qixing and Li, Zimo and Savarese, Silvio and Savva, Manolis and Song, Shuran and Su, Hao and Xiao, Jianxiong and Yi, Li and Yu, Fisher},
|
| 75 |
+
title = {{ShapeNet}: An Information-Rich {3D} Model Repository},
|
| 76 |
+
journal = {arXiv preprint arXiv:1512.03012},
|
| 77 |
+
year = {2015},
|
| 78 |
+
}
|
| 79 |
+
```
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ce8bbfb2a7dcb5faa9f82404c0f53bacf77964f1d3839bbb25838387b60dfd2
|
| 3 |
+
size 101912360
|