Datasets:
Commit ·
9a776fd
0
Parent(s):
Duplicate from the-masses/ReplicaOcc
Browse filesCo-authored-by: JIANG ZEYU <the-masses@users.noreply.huggingface.co>
This view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +60 -0
- LICENSE +17 -0
- README.md +259 -0
- Replica_OCC/global_occ_package/office0.pkl +3 -0
- Replica_OCC/global_occ_package/office1.pkl +3 -0
- Replica_OCC/global_occ_package/office2.pkl +3 -0
- Replica_OCC/global_occ_package/office3.pkl +3 -0
- Replica_OCC/global_occ_package/office4.pkl +3 -0
- Replica_OCC/global_occ_package/room0.pkl +3 -0
- Replica_OCC/global_occ_package/room1.pkl +3 -0
- Replica_OCC/global_occ_package/room2.pkl +3 -0
- Replica_OCC/preprocessed/office0.npy +3 -0
- Replica_OCC/preprocessed/office1.npy +3 -0
- Replica_OCC/preprocessed/office2.npy +3 -0
- Replica_OCC/preprocessed/office3.npy +3 -0
- Replica_OCC/preprocessed/office4.npy +3 -0
- Replica_OCC/preprocessed/room0.npy +3 -0
- Replica_OCC/preprocessed/room1.npy +3 -0
- Replica_OCC/preprocessed/room2.npy +3 -0
- Replica_OCC/sequences/cam_params.json +11 -0
- Replica_OCC/sequences/office0/color/0.jpg +3 -0
- Replica_OCC/sequences/office0/color/1.jpg +3 -0
- Replica_OCC/sequences/office0/color/10.jpg +3 -0
- Replica_OCC/sequences/office0/color/100.jpg +3 -0
- Replica_OCC/sequences/office0/color/1000.jpg +3 -0
- Replica_OCC/sequences/office0/color/1001.jpg +3 -0
- Replica_OCC/sequences/office0/color/1002.jpg +3 -0
- Replica_OCC/sequences/office0/color/1003.jpg +3 -0
- Replica_OCC/sequences/office0/color/1004.jpg +3 -0
- Replica_OCC/sequences/office0/color/1005.jpg +3 -0
- Replica_OCC/sequences/office0/color/1006.jpg +3 -0
- Replica_OCC/sequences/office0/color/1007.jpg +3 -0
- Replica_OCC/sequences/office0/color/1008.jpg +3 -0
- Replica_OCC/sequences/office0/color/1009.jpg +3 -0
- Replica_OCC/sequences/office0/color/101.jpg +3 -0
- Replica_OCC/sequences/office0/color/1010.jpg +3 -0
- Replica_OCC/sequences/office0/color/1011.jpg +3 -0
- Replica_OCC/sequences/office0/color/1012.jpg +3 -0
- Replica_OCC/sequences/office0/color/1013.jpg +3 -0
- Replica_OCC/sequences/office0/color/1014.jpg +3 -0
- Replica_OCC/sequences/office0/color/1015.jpg +3 -0
- Replica_OCC/sequences/office0/color/1016.jpg +3 -0
- Replica_OCC/sequences/office0/color/1017.jpg +3 -0
- Replica_OCC/sequences/office0/color/1018.jpg +3 -0
- Replica_OCC/sequences/office0/color/1019.jpg +3 -0
- Replica_OCC/sequences/office0/color/102.jpg +3 -0
- Replica_OCC/sequences/office0/color/1020.jpg +3 -0
- Replica_OCC/sequences/office0/color/1021.jpg +3 -0
- Replica_OCC/sequences/office0/color/1022.jpg +3 -0
- Replica_OCC/sequences/office0/color/1023.jpg +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
# Audio files - uncompressed
|
| 40 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
# Audio files - compressed
|
| 44 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
# Image files - uncompressed
|
| 50 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
# Image files - compressed
|
| 55 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
# Video files - compressed
|
| 59 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
Copyright 2026 Zeyu Jiang, Changqing Zhou, Xingxing Zuo, Changhao Chen
|
| 6 |
+
|
| 7 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 8 |
+
you may not use this file except in compliance with the License.
|
| 9 |
+
You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing, software
|
| 14 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 15 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 16 |
+
See the License for the specific language governing permissions and
|
| 17 |
+
limitations under the License.
|
README.md
ADDED
|
@@ -0,0 +1,259 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
pretty_name: ReplicaOcc
|
| 4 |
+
size_categories:
|
| 5 |
+
- 10K<n<100K
|
| 6 |
+
tags:
|
| 7 |
+
- 3d
|
| 8 |
+
- robotics
|
| 9 |
+
- slam
|
| 10 |
+
- rgb-d
|
| 11 |
+
- occupancy
|
| 12 |
+
- embodied-ai
|
| 13 |
+
- replica
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Replica_OCC Benchmark
|
| 17 |
+
|
| 18 |
+
Replica_OCC is a Replica-based occupancy benchmark constructed in the data organization style of [EmbodiedOcc-ScanNet](https://huggingface.co/datasets/YkiWu/EmbodiedOcc-ScanNet) and [OccScanNet](https://huggingface.co/datasets/hongxiaoy/OccScanNet). It provides RGB-D sequences and scene-level occupancy ground truth for evaluating embodied occupancy prediction systems.
|
| 19 |
+
|
| 20 |
+
Ground-truth occupancy and poses are intended for evaluation-time alignment and metric computation. They are not required for training FreeOcc and are not used for map construction.
|
| 21 |
+
|
| 22 |
+
## Citation
|
| 23 |
+
|
| 24 |
+
If you use Replica_OCC with [FreeOcc](https://the-masses.github.io/freeocc-web/), please cite:
|
| 25 |
+
|
| 26 |
+
```bibtex
|
| 27 |
+
@article{jiang2026freeocc,
|
| 28 |
+
title={FreeOcc: Training-Free Embodied Open-Vocabulary Occupancy Prediction},
|
| 29 |
+
author={Jiang, Zeyu and Zhou, Changqing and Zuo, Xingxing and Chen, Changhao},
|
| 30 |
+
journal={arXiv preprint arXiv:2604.28115},
|
| 31 |
+
year={2026}
|
| 32 |
+
}
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
## Released Files
|
| 36 |
+
|
| 37 |
+
The released dataset package contains:
|
| 38 |
+
|
| 39 |
+
```text
|
| 40 |
+
Replica_OCC/
|
| 41 |
+
├── README.md
|
| 42 |
+
├── replica_name.txt
|
| 43 |
+
├── prepare_preprocessed.py
|
| 44 |
+
├── prepare_scene_occ.py
|
| 45 |
+
├── vis_preprocessed.py
|
| 46 |
+
├── vis_scene_occ.py
|
| 47 |
+
└── Replica_OCC/
|
| 48 |
+
├── preprocessed/
|
| 49 |
+
├── global_occ_package/
|
| 50 |
+
└── sequences/
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
Only the four preparation/visualization scripts above are part of the released benchmark utilities.
|
| 54 |
+
|
| 55 |
+
## Dataset Layout
|
| 56 |
+
|
| 57 |
+
```text
|
| 58 |
+
Replica_OCC/
|
| 59 |
+
├── preprocessed/
|
| 60 |
+
│ ├── office0.npy
|
| 61 |
+
│ ├── office1.npy
|
| 62 |
+
│ ├── office2.npy
|
| 63 |
+
│ ├── office3.npy
|
| 64 |
+
│ ├── office4.npy
|
| 65 |
+
│ ├── room0.npy
|
| 66 |
+
│ ├── room1.npy
|
| 67 |
+
│ └── room2.npy
|
| 68 |
+
├── global_occ_package/
|
| 69 |
+
│ ├── office0.pkl
|
| 70 |
+
│ ├── office1.pkl
|
| 71 |
+
│ ├── office2.pkl
|
| 72 |
+
│ ├── office3.pkl
|
| 73 |
+
│ ├── office4.pkl
|
| 74 |
+
│ ├── room0.pkl
|
| 75 |
+
│ ├── room1.pkl
|
| 76 |
+
│ └── room2.pkl
|
| 77 |
+
└── sequences/
|
| 78 |
+
├── cam_params.json
|
| 79 |
+
├── office0/
|
| 80 |
+
│ ├── color/
|
| 81 |
+
│ │ ├── 0.jpg
|
| 82 |
+
│ │ └── ...
|
| 83 |
+
│ ├── depth/
|
| 84 |
+
│ │ ├── 0.png
|
| 85 |
+
│ │ └── ...
|
| 86 |
+
│ ├── pose/
|
| 87 |
+
│ │ ├── 0.txt
|
| 88 |
+
│ │ └── ...
|
| 89 |
+
│ └── intrinsic/
|
| 90 |
+
│ ├── intrinsic_color.txt
|
| 91 |
+
│ ├── intrinsic_depth.txt
|
| 92 |
+
│ ├── extrinsic_color.txt
|
| 93 |
+
│ └── extrinsic_depth.txt
|
| 94 |
+
├── office1/
|
| 95 |
+
├── office2/
|
| 96 |
+
├── office3/
|
| 97 |
+
├── office4/
|
| 98 |
+
├── room0/
|
| 99 |
+
├── room1/
|
| 100 |
+
└── room2/
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
For FreeOcc evaluation, use:
|
| 104 |
+
|
| 105 |
+
```bash
|
| 106 |
+
DATA_ROOT=/path/to/Replica_OCC/sequences
|
| 107 |
+
SCENE_OCC_ROOT=/path/to/Replica_OCC
|
| 108 |
+
```
|
| 109 |
+
|
| 110 |
+
## Coordinate System
|
| 111 |
+
|
| 112 |
+
The occupancy ground truth is built in the original Replica world coordinate system.
|
| 113 |
+
|
| 114 |
+
`prepare_preprocessed.py` back-projects depth pixels using Replica camera poses and intrinsics. The resulting sparse semantic voxel points are stored in Replica world coordinates. `prepare_scene_occ.py` then builds a dense occupancy grid from those points and saves voxel center coordinates in the same Replica world coordinate system.
|
| 115 |
+
|
| 116 |
+
## Preparation Pipeline
|
| 117 |
+
|
| 118 |
+
The benchmark is created in two main stages, followed by optional visualization checks.
|
| 119 |
+
|
| 120 |
+
### 1. Build Sparse Semantic Voxels
|
| 121 |
+
|
| 122 |
+
`prepare_preprocessed.py` reads raw Replica RGB-D/semantic data and camera poses. For each scene, it back-projects depth pixels into 3D world points, assigns semantic labels from the semantic-id images, and voxelizes them by majority vote.
|
| 123 |
+
|
| 124 |
+
Input expected by the script:
|
| 125 |
+
|
| 126 |
+
```text
|
| 127 |
+
Replica_SLAM/
|
| 128 |
+
├── cam_params.json
|
| 129 |
+
├── office0/
|
| 130 |
+
│ ├── depths/depth000000.png
|
| 131 |
+
│ ├── semantic_ids/semantic_id000000.png
|
| 132 |
+
│ └── traj.txt
|
| 133 |
+
└── ...
|
| 134 |
+
```
|
| 135 |
+
|
| 136 |
+
Example command:
|
| 137 |
+
|
| 138 |
+
```bash
|
| 139 |
+
python prepare_preprocessed.py \
|
| 140 |
+
--replica_root ./Replica_SLAM \
|
| 141 |
+
--out_root ./Replica_OCC \
|
| 142 |
+
--stride 4 \
|
| 143 |
+
--depth_scale -1 \
|
| 144 |
+
--max_depth 10.0 \
|
| 145 |
+
--max_frames -1
|
| 146 |
+
```
|
| 147 |
+
|
| 148 |
+
Output:
|
| 149 |
+
|
| 150 |
+
```text
|
| 151 |
+
Replica_OCC/preprocessed/<scene>.npy
|
| 152 |
+
```
|
| 153 |
+
|
| 154 |
+
Each `.npy` stores an array of shape `(N, 7)`:
|
| 155 |
+
|
| 156 |
+
```text
|
| 157 |
+
x, y, z, r, g, b, label
|
| 158 |
+
```
|
| 159 |
+
|
| 160 |
+
The RGB columns are placeholders; the semantic label is stored in the last column.
|
| 161 |
+
|
| 162 |
+
### 2. Inspect Sparse Voxels
|
| 163 |
+
|
| 164 |
+
`vis_preprocessed.py` visualizes the sparse semantic voxels produced by the previous step.
|
| 165 |
+
|
| 166 |
+
```bash
|
| 167 |
+
python vis_preprocessed.py \
|
| 168 |
+
--npy ./Replica_OCC/preprocessed/office0.npy
|
| 169 |
+
```
|
| 170 |
+
|
| 171 |
+
This is mainly a sanity check for depth back-projection and semantic labels.
|
| 172 |
+
|
| 173 |
+
### 3. Build Scene-Level Occupancy Packages
|
| 174 |
+
|
| 175 |
+
`prepare_scene_occ.py` converts `preprocessed/<scene>.npy` into a dense scene-level occupancy package. It builds a regular voxel grid, assigns labels by nearest-neighbor lookup, and computes an observed-space mask by projecting voxels into Replica depth frames.
|
| 176 |
+
|
| 177 |
+
Example command:
|
| 178 |
+
|
| 179 |
+
```bash
|
| 180 |
+
python prepare_scene_occ.py \
|
| 181 |
+
--replica_root ./Replica_SLAM \
|
| 182 |
+
--preprocessed_dir ./Replica_OCC/preprocessed \
|
| 183 |
+
--out_dir ./Replica_OCC/global_occ_package \
|
| 184 |
+
--obs_stride_frame 1 \
|
| 185 |
+
--obs_stride_pix 1 \
|
| 186 |
+
--mask_dilate 0 \
|
| 187 |
+
--obs_max_frames -1 \
|
| 188 |
+
--max_depth 10.0
|
| 189 |
+
```
|
| 190 |
+
|
| 191 |
+
Output:
|
| 192 |
+
|
| 193 |
+
```text
|
| 194 |
+
Replica_OCC/global_occ_package/<scene>.pkl
|
| 195 |
+
```
|
| 196 |
+
|
| 197 |
+
Each `.pkl` contains:
|
| 198 |
+
|
| 199 |
+
```text
|
| 200 |
+
scene_name scene id
|
| 201 |
+
scene_dim dense occupancy grid dimensions
|
| 202 |
+
global_pts dense voxel centers in Replica world coordinates
|
| 203 |
+
global_labels voxel labels
|
| 204 |
+
global_mask observed-space mask
|
| 205 |
+
valid_img_count number of depth images used for mask construction
|
| 206 |
+
valid_img_paths image paths used by the mask builder
|
| 207 |
+
```
|
| 208 |
+
|
| 209 |
+
Label convention:
|
| 210 |
+
|
| 211 |
+
```text
|
| 212 |
+
0 known free space
|
| 213 |
+
>0 occupied semantic label
|
| 214 |
+
255 unknown / unobserved
|
| 215 |
+
```
|
| 216 |
+
|
| 217 |
+
### 4. Inspect Final Occupancy Packages
|
| 218 |
+
|
| 219 |
+
`vis_scene_occ.py` visualizes the final scene-level occupancy package.
|
| 220 |
+
|
| 221 |
+
```bash
|
| 222 |
+
python vis_scene_occ.py \
|
| 223 |
+
--pkl ./Replica_OCC/global_occ_package/office0.pkl \
|
| 224 |
+
--downsample 1
|
| 225 |
+
```
|
| 226 |
+
|
| 227 |
+
Visualization color meaning:
|
| 228 |
+
|
| 229 |
+
```text
|
| 230 |
+
mask = 0 unknown region
|
| 231 |
+
mask = 1, label = 0 known free space
|
| 232 |
+
mask = 1, label > 0 occupied semantic voxels
|
| 233 |
+
```
|
| 234 |
+
|
| 235 |
+
## Labels
|
| 236 |
+
|
| 237 |
+
`replica_name.txt` stores the semantic class names used by Replica_OCC. Evaluation and visualization scripts can use this file to map semantic label ids to readable names.
|
| 238 |
+
|
| 239 |
+
## Scenes
|
| 240 |
+
|
| 241 |
+
Replica_OCC contains the following eight Replica scenes:
|
| 242 |
+
|
| 243 |
+
```text
|
| 244 |
+
office0
|
| 245 |
+
office1
|
| 246 |
+
office2
|
| 247 |
+
office3
|
| 248 |
+
office4
|
| 249 |
+
room0
|
| 250 |
+
room1
|
| 251 |
+
room2
|
| 252 |
+
```
|
| 253 |
+
|
| 254 |
+
## Notes
|
| 255 |
+
|
| 256 |
+
- `preprocessed/*.npy` is an intermediate representation used to reproduce `global_occ_package/*.pkl`.
|
| 257 |
+
- `global_occ_package/*.pkl` is the occupancy ground truth used by evaluation.
|
| 258 |
+
- `sequences/*` is the RGB-D input used by SLAM and Gaussian mapping.
|
| 259 |
+
- The dataset follows a ScanNet-like RGB-D folder layout so it can be used by FreeOcc's shared dataloader.
|
Replica_OCC/global_occ_package/office0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0120543296e6e75dc76d192d291191b8e72bbce54c38b9a0d27b692a47f44ca3
|
| 3 |
+
size 5458958
|
Replica_OCC/global_occ_package/office1.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:047ba389a6831a0a0ee12417934f32de7cfcea65459cf374e92f6307b4f464a4
|
| 3 |
+
size 4609998
|
Replica_OCC/global_occ_package/office2.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef1bf9a90f3196443a27753a173acb526e0077dce15a358d177ac2858b35142f
|
| 3 |
+
size 11805998
|
Replica_OCC/global_occ_package/office3.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:779ed648d6d2fd078a1ed2646a4851fa15a4f29fd4f7d441b68d3d16c4fff7f2
|
| 3 |
+
size 17484398
|
Replica_OCC/global_occ_package/office4.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1517c7ba72b014411dc81e8de487276dcec7816128d157de12b5fb6ae272c8c8
|
| 3 |
+
size 9509998
|
Replica_OCC/global_occ_package/room0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7748fa473bb59612b6c42059b8139945f41dee1ffa5a2d5d2b79ac34b5b56680
|
| 3 |
+
size 8104596
|
Replica_OCC/global_occ_package/room1.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27aa063a0bc760a5e04c076445776eb51a877571d4ce15d99c24842b701a8f11
|
| 3 |
+
size 8779396
|
Replica_OCC/global_occ_package/room2.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2b6ccab1fb3c674efa3e3e02fe4749cc717269b50086390e8af233ea5473ced
|
| 3 |
+
size 9731396
|
Replica_OCC/preprocessed/office0.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77ec2d99e4e844d858379385083a319ed037df992d75de105db3be659c0c3cb3
|
| 3 |
+
size 397924
|
Replica_OCC/preprocessed/office1.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a86bea71e91d6ac8530dce09c26d8cff3ed09dbc2b50b35ae82ad80bbdfdd49
|
| 3 |
+
size 289088
|
Replica_OCC/preprocessed/office2.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4f12a5c7c09580aa6ff002b966af645977a33bd1a2b4173ee9e70008ab961ae
|
| 3 |
+
size 613888
|
Replica_OCC/preprocessed/office3.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:25eae0797ac9d82d37139c0a402fde204d629dacba8c9cfc09865d23be3a86bd
|
| 3 |
+
size 920180
|
Replica_OCC/preprocessed/office4.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a050ee58c3876922f9a9270fb164663541c5f61b6d4829de6d569730dfb03cd
|
| 3 |
+
size 732076
|
Replica_OCC/preprocessed/room0.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b5d8ba8868dfc2a6ee1ad9e44be4e1be13bde2fb58926bd7ca8bf1280130359
|
| 3 |
+
size 733252
|
Replica_OCC/preprocessed/room1.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de14365134eba10ceb784adfd22d3e649f08aabdc9ef5ad128b02f13bc6d8213
|
| 3 |
+
size 505136
|
Replica_OCC/preprocessed/room2.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:663d31e8ccbf18073f048ddc555acd43b76bd460154ec72be493338f85ddb159
|
| 3 |
+
size 538456
|
Replica_OCC/sequences/cam_params.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"camera": {
|
| 3 |
+
"w": 1200,
|
| 4 |
+
"h": 680,
|
| 5 |
+
"fx": 600.0,
|
| 6 |
+
"fy": 600.0,
|
| 7 |
+
"cx": 599.5,
|
| 8 |
+
"cy": 339.5,
|
| 9 |
+
"scale": 6553.5
|
| 10 |
+
}
|
| 11 |
+
}
|
Replica_OCC/sequences/office0/color/0.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/10.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/100.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1000.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1001.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1002.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1003.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1004.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1005.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1006.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1007.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1008.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1009.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/101.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1010.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1011.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1012.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1013.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1014.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1015.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1016.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1017.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1018.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1019.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/102.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1020.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1021.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1022.jpg
ADDED
|
Git LFS Details
|
Replica_OCC/sequences/office0/color/1023.jpg
ADDED
|
Git LFS Details
|