Update jumbotron and ego dataset metadata
Browse filesAdds the synced RPX jumbotron video, ego view manifests/previews, Dataset Viewer configs, and rerun/download helper updates.
- README.md +73 -19
- assets/rpx-jumbotron.webm +2 -2
- ego_release/README.md +68 -0
- ego_release/ego_release_summary.json +22 -0
- ego_release/prepare_ego_release.py +763 -0
- manifest/current.json +27 -5
- manifest/ego_frames_v1.csv +252 -0
- manifest/ego_frames_v1.parquet +3 -0
- manifest/frames_v2.parquet +3 -0
- manifest/mos_ego_mask_object_map_v1.csv +8 -0
- manifest/mos_ego_mask_object_map_v1.parquet +3 -0
- preview/ego_preview.csv +2 -0
- preview/ego_preview.parquet +3 -0
- preview/mos_phase_preview.csv +0 -0
- preview/mos_phase_preview.parquet +3 -0
- rerun_check/README.md +96 -0
- rerun_check/check_all_modalities.py +1451 -0
- rerun_check/download_ego.py +70 -0
- rerun_check/download_rgbd_segmentation.py +40 -0
- rerun_check/make_rerun_check.py +379 -0
- rerun_check/requirements.txt +6 -0
README.md
CHANGED
|
@@ -32,11 +32,21 @@ configs:
|
|
| 32 |
path: "splits/medium.parquet"
|
| 33 |
- split: "hard"
|
| 34 |
path: "splits/hard.parquet"
|
| 35 |
-
- config_name:
|
| 36 |
description: "Data Studio media table with one video-layout RGB/depth/mask image preview per MOS phase."
|
| 37 |
data_files:
|
| 38 |
- split: "preview"
|
| 39 |
-
path: "preview/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
- config_name: single_object
|
| 41 |
description: "SOS selected-object catalog; one 360 collection per object, no difficulty split."
|
| 42 |
data_files:
|
|
@@ -51,25 +61,28 @@ embodied deployment conditions.
|
|
| 51 |
|
| 52 |
* Code: https://github.com/IRVLUTD/RPX
|
| 53 |
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
|
| 58 |
## Dataset at a glance
|
| 59 |
|
| 60 |
| | |
|
| 61 |
|---|---|
|
| 62 |
-
| Multi-object scenes (MOS) | **100** (`scene001` to `scene100`, 3 phases each: clutter / interaction / clean) |
|
|
|
|
| 63 |
| Single-object scenes (SOS) | **70 selected objects** (one 360 collection per object) |
|
| 64 |
-
| Frame manifest rows | **110,000** (75,000 MOS + 35,000 selected SOS) |
|
| 65 |
| MOS mask-object rows | **2,100** local mask IDs mapped to global object IDs |
|
| 66 |
|
| 67 |
Scene renames are documented in `manifest/scene_name_mapping_v1.csv`,
|
| 68 |
mapping original scene names to `scene001` through `scene100`.
|
| 69 |
|
| 70 |
The Hugging Face Dataset Viewer exposes `multi_object` as structured split
|
| 71 |
-
tables
|
| 72 |
-
|
|
|
|
|
|
|
| 73 |
|
| 74 |
## Effort-Stratified Difficulty (ESD)
|
| 75 |
|
|
@@ -88,6 +101,8 @@ The released split files expose two levels:
|
|
| 88 |
|
| 89 |
Because scene tiers are aggregated, a hard scene can still contain an easy
|
| 90 |
phase. Use the phase-level split when downloading or evaluating MOS tasks.
|
|
|
|
|
|
|
| 91 |
|
| 92 |
The ESD feature weights are fully accounted for in
|
| 93 |
`splits/scene_splits.json`: 27 feature names, 27 weights, no missing weights,
|
|
@@ -112,9 +127,10 @@ truth for the score/tier assignments and the feature/weight provenance.
|
|
| 112 |
|
| 113 |
## Modality inventory
|
| 114 |
|
| 115 |
-
The table below describes this cleaned release. `cam_pose_icp` is not included
|
| 116 |
-
Use `manifest/frames_v1.parquet` and the identity
|
| 117 |
-
as the source of truth
|
|
|
|
| 118 |
|
| 119 |
| modality | files | bytes |
|
| 120 |
|---|---:|---:|
|
|
@@ -151,19 +167,37 @@ A subsequent call for a different task on the same split (e.g.
|
|
| 151 |
`relative_pose`) reuses the cached RGB tars and only fetches the new
|
| 152 |
modality (`cam_pose`) as the delta.
|
| 153 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 154 |
## Repo layout
|
| 155 |
|
| 156 |
```
|
| 157 |
IRVLUTD/RPX/
|
| 158 |
├── manifest/
|
| 159 |
-
│ ├── frames_v1.parquet # per-frame metadata
|
|
|
|
|
|
|
| 160 |
│ ├── scene_name_mapping_v1.csv # original scene names to scene001..scene100
|
| 161 |
│ ���── selected_sos_objects_v1.csv # selected 70-object SOS catalog
|
| 162 |
│ ├── selected_sos_objects_v1.parquet # Dataset Viewer SOS catalog table
|
| 163 |
│ ├── object_catalog_v1.json # SOS object/global-ID catalog
|
| 164 |
│ ├── mos_raw_mask_object_map_v1.csv # MOS local mask IDs from sam2 metadata
|
| 165 |
│ ├── mos_mask_object_map_v1.csv # MOS local mask IDs joined to SOS global IDs
|
| 166 |
-
│ ├── mos_mask_object_map_v1.parquet # parquet copy of the MOS map
|
|
|
|
|
|
|
| 167 |
│ └── current.json # default version per label modality
|
| 168 |
├── splits/
|
| 169 |
│ ├── scene_splits.json
|
|
@@ -171,10 +205,16 @@ IRVLUTD/RPX/
|
|
| 171 |
│ ├── easy.csv medium.csv hard.csv # human-readable split tables
|
| 172 |
│ └── easy.parquet medium.parquet hard.parquet # Dataset Viewer split tables
|
| 173 |
├── preview/
|
| 174 |
-
│ ├──
|
| 175 |
-
│ ├──
|
|
|
|
|
|
|
|
|
|
| 176 |
│ └── image_examples/preview/ # source JPEGs for the media preview
|
| 177 |
-
├── scenes/<scene_id>/<phase>/ # MOS
|
|
|
|
|
|
|
|
|
|
| 178 |
│ ├── rgb.tar depth.tar fisheye.tar
|
| 179 |
│ └── labels/{cam_pose,masks,masks_aux,sam2_meta}/v1.tar
|
| 180 |
├── objects/<object_id>/0/ # SOS
|
|
@@ -213,6 +253,11 @@ That row means `scene001/0` mask ID `2` is `boot.2`, whose global object ID
|
|
| 213 |
is `11`, with questionnaire
|
| 214 |
`objects_meta/boot.2/questionnaire.json` and SOS template `objects/boot.2/`.
|
| 215 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 216 |
## Tasks
|
| 217 |
|
| 218 |
### Multi-object (use a difficulty split)
|
|
@@ -236,6 +281,15 @@ is `11`, with questionnaire
|
|
| 236 |
| `object_templates_rgbd` | ['depth', 'rgb'] → ['masks'] |
|
| 237 |
| `object_pose_library` | ['depth', 'rgb'] → ['cam_pose', 'masks'] |
|
| 238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 239 |
## Label versioning
|
| 240 |
|
| 241 |
Labels live at `labels/<name>/v<N>.tar`. Newer versions land at new
|
|
@@ -252,7 +306,7 @@ To pin to a specific version:
|
|
| 252 |
|
| 253 |
```python
|
| 254 |
download_for_task(
|
| 255 |
-
task="relative_pose", split="easy", repo_id="
|
| 256 |
label_versions={"cam_pose": "v1"}, # don't auto-upgrade to v2
|
| 257 |
)
|
| 258 |
```
|
|
@@ -265,7 +319,7 @@ download_for_task(
|
|
| 265 |
embodied perception},
|
| 266 |
author = {IRVL UT Dallas},
|
| 267 |
year = 2026,
|
| 268 |
-
url = {https://huggingface.co/datasets/
|
| 269 |
}
|
| 270 |
```
|
| 271 |
|
|
|
|
| 32 |
path: "splits/medium.parquet"
|
| 33 |
- split: "hard"
|
| 34 |
path: "splits/hard.parquet"
|
| 35 |
+
- config_name: mos_phase_preview
|
| 36 |
description: "Data Studio media table with one video-layout RGB/depth/mask image preview per MOS phase."
|
| 37 |
data_files:
|
| 38 |
- split: "preview"
|
| 39 |
+
path: "preview/mos_phase_preview.parquet"
|
| 40 |
+
- config_name: ego_frames
|
| 41 |
+
description: "Frame-level manifest rows for optional egocentric MOS views. Ego does not contribute to ESD."
|
| 42 |
+
data_files:
|
| 43 |
+
- split: "ego"
|
| 44 |
+
path: "manifest/ego_frames_v1.parquet"
|
| 45 |
+
- config_name: ego_preview
|
| 46 |
+
description: "Data Studio media table for egocentric MOS RGB/depth/mask/fisheye previews."
|
| 47 |
+
data_files:
|
| 48 |
+
- split: "preview"
|
| 49 |
+
path: "preview/ego_preview.parquet"
|
| 50 |
- config_name: single_object
|
| 51 |
description: "SOS selected-object catalog; one 360 collection per object, no difficulty split."
|
| 52 |
data_files:
|
|
|
|
| 61 |
|
| 62 |
* Code: https://github.com/IRVLUTD/RPX
|
| 63 |
|
| 64 |
+
<video controls muted loop playsinline width="100%">
|
| 65 |
+
<source src="assets/rpx-jumbotron.webm" type="video/webm">
|
| 66 |
+
</video>
|
| 67 |
|
| 68 |
## Dataset at a glance
|
| 69 |
|
| 70 |
| | |
|
| 71 |
|---|---|
|
| 72 |
+
| Multi-object scenes (MOS) | **100** (`scene001` to `scene100`, 3 ESD phases each: clutter / interaction / clean) |
|
| 73 |
+
| Egocentric MOS views | Optional `scenes/<scene_id>/ego/` captures tracked separately from ESD |
|
| 74 |
| Single-object scenes (SOS) | **70 selected objects** (one 360 collection per object) |
|
| 75 |
+
| Frame manifest rows | **110,000** in `frames_v1` (75,000 MOS + 35,000 selected SOS); `frames_v2` adds optional ego rows |
|
| 76 |
| MOS mask-object rows | **2,100** local mask IDs mapped to global object IDs |
|
| 77 |
|
| 78 |
Scene renames are documented in `manifest/scene_name_mapping_v1.csv`,
|
| 79 |
mapping original scene names to `scene001` through `scene100`.
|
| 80 |
|
| 81 |
The Hugging Face Dataset Viewer exposes `multi_object` as structured split
|
| 82 |
+
tables, `mos_phase_preview` as a Data Studio image table for normal MOS
|
| 83 |
+
phases, `ego_frames` as the separate frame manifest for egocentric captures,
|
| 84 |
+
and `ego_preview` as a separate Data Studio image table for egocentric MOS
|
| 85 |
+
views when those captures are present.
|
| 86 |
|
| 87 |
## Effort-Stratified Difficulty (ESD)
|
| 88 |
|
|
|
|
| 101 |
|
| 102 |
Because scene tiers are aggregated, a hard scene can still contain an easy
|
| 103 |
phase. Use the phase-level split when downloading or evaluating MOS tasks.
|
| 104 |
+
Egocentric `ego` views are auxiliary MOS captures and do **not** contribute to
|
| 105 |
+
ESD scores, scene tiers, or easy/medium/hard split membership.
|
| 106 |
|
| 107 |
The ESD feature weights are fully accounted for in
|
| 108 |
`splits/scene_splits.json`: 27 feature names, 27 weights, no missing weights,
|
|
|
|
| 127 |
|
| 128 |
## Modality inventory
|
| 129 |
|
| 130 |
+
The table below describes this cleaned release. `cam_pose_icp` is not included
|
| 131 |
+
in this cleaned release. Use `manifest/frames_v1.parquet` and the identity
|
| 132 |
+
manifests under `manifest/` as the source of truth for the v1 MOS/SOS release;
|
| 133 |
+
use `manifest/frames_v2.parquet` when optional ego rows are present.
|
| 134 |
|
| 135 |
| modality | files | bytes |
|
| 136 |
|---|---:|---:|
|
|
|
|
| 167 |
`relative_pose`) reuses the cached RGB tars and only fetches the new
|
| 168 |
modality (`cam_pose`) as the delta.
|
| 169 |
|
| 170 |
+
Egocentric views are not difficulty-split. Until `rpx_benchmark` exposes the
|
| 171 |
+
same contract directly, download them through the Hub allow-pattern helper:
|
| 172 |
+
|
| 173 |
+
```bash
|
| 174 |
+
python rerun_check/download_ego.py \
|
| 175 |
+
--repo-id IRVLUTD/RPX \
|
| 176 |
+
--scenes scene002 \
|
| 177 |
+
--include-preview
|
| 178 |
+
```
|
| 179 |
+
|
| 180 |
+
The intended benchmark API contract for the package is a view-aware call such
|
| 181 |
+
as `download_for_task(task="ego_segmentation", split="ego", ...)` or
|
| 182 |
+
`download_for_task(task="segmentation", view="ego", split="ego", ...)`.
|
| 183 |
+
|
| 184 |
## Repo layout
|
| 185 |
|
| 186 |
```
|
| 187 |
IRVLUTD/RPX/
|
| 188 |
├── manifest/
|
| 189 |
+
│ ├── frames_v1.parquet # v1 per-frame metadata for MOS phases + SOS
|
| 190 |
+
│ ├── frames_v2.parquet # v2 metadata including optional ego rows
|
| 191 |
+
│ ├── ego_frames_v1.csv/parquet # frame metadata for scenes/<scene_id>/ego
|
| 192 |
│ ├── scene_name_mapping_v1.csv # original scene names to scene001..scene100
|
| 193 |
│ ���── selected_sos_objects_v1.csv # selected 70-object SOS catalog
|
| 194 |
│ ├── selected_sos_objects_v1.parquet # Dataset Viewer SOS catalog table
|
| 195 |
│ ├── object_catalog_v1.json # SOS object/global-ID catalog
|
| 196 |
│ ├── mos_raw_mask_object_map_v1.csv # MOS local mask IDs from sam2 metadata
|
| 197 |
│ ├── mos_mask_object_map_v1.csv # MOS local mask IDs joined to SOS global IDs
|
| 198 |
+
│ ├── mos_mask_object_map_v1.parquet # parquet copy of the MOS phase map
|
| 199 |
+
│ ├── mos_ego_mask_object_map_v1.csv # ego local mask IDs joined to global IDs
|
| 200 |
+
│ ├── mos_ego_mask_object_map_v1.parquet
|
| 201 |
│ └── current.json # default version per label modality
|
| 202 |
├── splits/
|
| 203 |
│ ├── scene_splits.json
|
|
|
|
| 205 |
│ ├── easy.csv medium.csv hard.csv # human-readable split tables
|
| 206 |
│ └── easy.parquet medium.parquet hard.parquet # Dataset Viewer split tables
|
| 207 |
├── preview/
|
| 208 |
+
│ ├── mos_phase_preview.parquet # Dataset Viewer image media table for MOS phases
|
| 209 |
+
│ ├── mos_phase_preview.csv # source index for MOS phase previews
|
| 210 |
+
│ ├── ego_preview.parquet # Dataset Viewer image media table for ego views
|
| 211 |
+
│ ├── ego_preview.csv # source index for ego previews
|
| 212 |
+
│ ├── data_studio_preview.csv # legacy name for the MOS phase preview index
|
| 213 |
│ └── image_examples/preview/ # source JPEGs for the media preview
|
| 214 |
+
├── scenes/<scene_id>/<phase>/ # MOS ESD phases: 0, 1, 2
|
| 215 |
+
│ ├── rgb.tar depth.tar fisheye.tar
|
| 216 |
+
│ └── labels/{cam_pose,masks,masks_aux,sam2_meta}/v1.tar
|
| 217 |
+
├── scenes/<scene_id>/ego/ # optional egocentric MOS view
|
| 218 |
│ ├── rgb.tar depth.tar fisheye.tar
|
| 219 |
│ └── labels/{cam_pose,masks,masks_aux,sam2_meta}/v1.tar
|
| 220 |
├── objects/<object_id>/0/ # SOS
|
|
|
|
| 253 |
is `11`, with questionnaire
|
| 254 |
`objects_meta/boot.2/questionnaire.json` and SOS template `objects/boot.2/`.
|
| 255 |
|
| 256 |
+
Ego masks follow the same local-ID rule. Use
|
| 257 |
+
`manifest/mos_ego_mask_object_map_v1.csv` or parquet to join
|
| 258 |
+
`scenes/<scene_id>/ego/labels/masks/v1.tar` local mask IDs to global object
|
| 259 |
+
IDs. Ego local IDs are scoped to `scene_id + ego`.
|
| 260 |
+
|
| 261 |
## Tasks
|
| 262 |
|
| 263 |
### Multi-object (use a difficulty split)
|
|
|
|
| 281 |
| `object_templates_rgbd` | ['depth', 'rgb'] → ['masks'] |
|
| 282 |
| `object_pose_library` | ['depth', 'rgb'] → ['cam_pose', 'masks'] |
|
| 283 |
|
| 284 |
+
### Egocentric MOS views (no ESD split)
|
| 285 |
+
|
| 286 |
+
| recipe | inputs → labels |
|
| 287 |
+
|---|---|
|
| 288 |
+
| `ego_segmentation` | ['rgb'] → ['masks'] |
|
| 289 |
+
| `ego_rgbd_segmentation` | ['depth', 'rgb'] → ['masks'] |
|
| 290 |
+
| `ego_relative_pose` | ['rgb'] → ['cam_pose'] |
|
| 291 |
+
| `ego_stereo_depth` | ['fisheye'] → ['depth'] |
|
| 292 |
+
|
| 293 |
## Label versioning
|
| 294 |
|
| 295 |
Labels live at `labels/<name>/v<N>.tar`. Newer versions land at new
|
|
|
|
| 306 |
|
| 307 |
```python
|
| 308 |
download_for_task(
|
| 309 |
+
task="relative_pose", split="easy", repo_id="IRVLUTD/RPX",
|
| 310 |
label_versions={"cam_pose": "v1"}, # don't auto-upgrade to v2
|
| 311 |
)
|
| 312 |
```
|
|
|
|
| 319 |
embodied perception},
|
| 320 |
author = {IRVL UT Dallas},
|
| 321 |
year = 2026,
|
| 322 |
+
url = {https://huggingface.co/datasets/IRVLUTD/RPX},
|
| 323 |
}
|
| 324 |
```
|
| 325 |
|
assets/rpx-jumbotron.webm
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78116823231cc577c4ca987b902f4c3c7faee22ca5dc3c322202aad934e2b527
|
| 3 |
+
size 5640054
|
ego_release/README.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# RPX Ego Release Prep
|
| 2 |
+
|
| 3 |
+
This folder contains the staging script for the upcoming egocentric MOS view.
|
| 4 |
+
It does not recompute ESD. Ego is treated as an auxiliary view under each MOS
|
| 5 |
+
scene:
|
| 6 |
+
|
| 7 |
+
```text
|
| 8 |
+
scenes/<scene_id>/ego/
|
| 9 |
+
```
|
| 10 |
+
|
| 11 |
+
## Expected Source Shape
|
| 12 |
+
|
| 13 |
+
The script searches for capture directories with this shape:
|
| 14 |
+
|
| 15 |
+
```text
|
| 16 |
+
<ego_source>/<scene_number>/<capture>/
|
| 17 |
+
├── rgb/*.png
|
| 18 |
+
├── depth/*.png
|
| 19 |
+
├── fisheye/left/*.png
|
| 20 |
+
├── fisheye/right/*.png
|
| 21 |
+
├── cam_pose/*.npz
|
| 22 |
+
└── sam2/
|
| 23 |
+
├── masks/*.png
|
| 24 |
+
├── mask_to_object.json
|
| 25 |
+
└── ...
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
The first numeric ancestor is mapped through
|
| 29 |
+
`manifest/scene_name_mapping_v1.csv`, so `ego_example/2/2` becomes
|
| 30 |
+
`scenes/scene002/ego`.
|
| 31 |
+
|
| 32 |
+
## Generate Upload-Ready Files
|
| 33 |
+
|
| 34 |
+
From the repo root:
|
| 35 |
+
|
| 36 |
+
```bash
|
| 37 |
+
python -m venv /tmp/rpx-ego-venv
|
| 38 |
+
/tmp/rpx-ego-venv/bin/pip install -r rerun_check/requirements.txt huggingface_hub
|
| 39 |
+
/tmp/rpx-ego-venv/bin/python ego_release/prepare_ego_release.py \
|
| 40 |
+
--ego-source-root ego_example \
|
| 41 |
+
--apply \
|
| 42 |
+
--overwrite
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
The generated HF-facing files are:
|
| 46 |
+
|
| 47 |
+
- `scenes/<scene_id>/ego/*.tar`
|
| 48 |
+
- `manifest/ego_frames_v1.csv`
|
| 49 |
+
- `manifest/ego_frames_v1.parquet`
|
| 50 |
+
- `manifest/frames_v2.parquet`
|
| 51 |
+
- `manifest/mos_ego_mask_object_map_v1.csv`
|
| 52 |
+
- `manifest/mos_ego_mask_object_map_v1.parquet`
|
| 53 |
+
- `preview/ego_preview.csv`
|
| 54 |
+
- `preview/ego_preview.parquet`
|
| 55 |
+
- `preview/mos_phase_preview.parquet`
|
| 56 |
+
|
| 57 |
+
## Verify
|
| 58 |
+
|
| 59 |
+
```bash
|
| 60 |
+
/tmp/rpx-ego-venv/bin/python rerun_check/check_all_modalities.py \
|
| 61 |
+
--kinds mos,sos,ego
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
Open the generated Rerun recording:
|
| 65 |
+
|
| 66 |
+
```bash
|
| 67 |
+
/tmp/rpx-ego-venv/bin/rerun rerun_check/out_all/rpx_all_modalities_visual_check.rrd
|
| 68 |
+
```
|
ego_release/ego_release_summary.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"captures": [
|
| 3 |
+
{
|
| 4 |
+
"scene_id": "scene002",
|
| 5 |
+
"target_root": "scenes/scene002/ego",
|
| 6 |
+
"shard_counts": {
|
| 7 |
+
"rgb": 251,
|
| 8 |
+
"depth": 251,
|
| 9 |
+
"fisheye": 502,
|
| 10 |
+
"cam_pose": 251,
|
| 11 |
+
"masks": 251,
|
| 12 |
+
"masks_aux": 4761,
|
| 13 |
+
"sam2_meta": 5
|
| 14 |
+
}
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"ego_frame_rows": 251,
|
| 18 |
+
"frames_v2_rows": 110251,
|
| 19 |
+
"ego_mask_object_rows": 7,
|
| 20 |
+
"ego_preview_rows": 1,
|
| 21 |
+
"ego_contributes_to_esd": false
|
| 22 |
+
}
|
ego_release/prepare_ego_release.py
ADDED
|
@@ -0,0 +1,763 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Prepare egocentric MOS captures for the RPX Hugging Face dataset layout.
|
| 3 |
+
|
| 4 |
+
The source tree is expected to contain one or more capture directories with
|
| 5 |
+
siblings such as rgb/, depth/, fisheye/, cam_pose/, and sam2/. Each capture is
|
| 6 |
+
packed into scenes/<scene_id>/ego/ and the HF-facing manifest, preview, and
|
| 7 |
+
parquet files are regenerated.
|
| 8 |
+
"""
|
| 9 |
+
|
| 10 |
+
from __future__ import annotations
|
| 11 |
+
|
| 12 |
+
import argparse
|
| 13 |
+
import csv
|
| 14 |
+
import io
|
| 15 |
+
import json
|
| 16 |
+
import shutil
|
| 17 |
+
import tarfile
|
| 18 |
+
from collections import defaultdict
|
| 19 |
+
from dataclasses import dataclass
|
| 20 |
+
from pathlib import Path
|
| 21 |
+
from typing import Any
|
| 22 |
+
|
| 23 |
+
import numpy as np
|
| 24 |
+
from PIL import Image, ImageDraw, ImageFont
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
LABEL_VERSION = "v1"
|
| 28 |
+
EGO_VIEW = "ego"
|
| 29 |
+
RGBD_SIZE = (640, 480)
|
| 30 |
+
FISHEYE_SIZE = (848, 800)
|
| 31 |
+
PHASE_NAMES = {0: "clutter", 1: "interaction", 2: "clean"}
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
@dataclass(frozen=True)
|
| 35 |
+
class Capture:
|
| 36 |
+
source_root: Path
|
| 37 |
+
scene_id: str
|
| 38 |
+
target_root: Path
|
| 39 |
+
frame_indices: tuple[int, ...]
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
def parse_args() -> argparse.Namespace:
|
| 43 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 44 |
+
parser.add_argument(
|
| 45 |
+
"--repo-root",
|
| 46 |
+
type=Path,
|
| 47 |
+
default=Path(__file__).resolve().parents[1],
|
| 48 |
+
help="RPX dataset repository root.",
|
| 49 |
+
)
|
| 50 |
+
parser.add_argument(
|
| 51 |
+
"--ego-source-root",
|
| 52 |
+
type=Path,
|
| 53 |
+
required=True,
|
| 54 |
+
help="Root containing raw ego captures, e.g. ego_example.",
|
| 55 |
+
)
|
| 56 |
+
parser.add_argument(
|
| 57 |
+
"--apply",
|
| 58 |
+
action="store_true",
|
| 59 |
+
help="Write tars/manifests/previews. Without this, only prints the inferred captures.",
|
| 60 |
+
)
|
| 61 |
+
parser.add_argument(
|
| 62 |
+
"--overwrite",
|
| 63 |
+
action="store_true",
|
| 64 |
+
help="Replace an existing scenes/<scene>/ego directory.",
|
| 65 |
+
)
|
| 66 |
+
parser.add_argument(
|
| 67 |
+
"--preview-frame",
|
| 68 |
+
type=int,
|
| 69 |
+
default=None,
|
| 70 |
+
help="Frame index for preview images. Default: middle frame per capture.",
|
| 71 |
+
)
|
| 72 |
+
return parser.parse_args()
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
def read_csv_rows(path: Path) -> list[dict[str, str]]:
|
| 76 |
+
with path.open(newline="", encoding="utf-8") as handle:
|
| 77 |
+
return list(csv.DictReader(handle))
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
def write_csv_rows(path: Path, rows: list[dict[str, Any]], fieldnames: list[str]) -> None:
|
| 81 |
+
path.parent.mkdir(parents=True, exist_ok=True)
|
| 82 |
+
with path.open("w", newline="", encoding="utf-8") as handle:
|
| 83 |
+
writer = csv.DictWriter(handle, fieldnames=fieldnames)
|
| 84 |
+
writer.writeheader()
|
| 85 |
+
writer.writerows(rows)
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
def load_json(path: Path) -> Any:
|
| 89 |
+
return json.loads(path.read_text(encoding="utf-8"))
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
def rel(path: Path, repo_root: Path) -> str:
|
| 93 |
+
return str(path.relative_to(repo_root))
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
def scene_number_map(repo_root: Path) -> dict[str, str]:
|
| 97 |
+
rows = read_csv_rows(repo_root / "manifest" / "scene_name_mapping_v1.csv")
|
| 98 |
+
return {row["scene_number"]: row["new_scene_name"] for row in rows}
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
def infer_scene_id(capture_root: Path, source_root: Path, number_map: dict[str, str]) -> str:
|
| 102 |
+
parts = capture_root.relative_to(source_root).parts
|
| 103 |
+
for part in parts:
|
| 104 |
+
if part.startswith("scene") and part[5:].isdigit():
|
| 105 |
+
return f"scene{int(part[5:]):03d}"
|
| 106 |
+
if part.isdigit():
|
| 107 |
+
return number_map.get(part, f"scene{int(part):03d}")
|
| 108 |
+
raise ValueError(f"could not infer scene id from {capture_root}")
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
def numeric_files(path: Path, suffix: str) -> list[Path]:
|
| 112 |
+
return sorted(
|
| 113 |
+
[item for item in path.glob(f"*{suffix}") if item.stem.isdigit()],
|
| 114 |
+
key=lambda item: int(item.stem),
|
| 115 |
+
)
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
def numeric_indices(path: Path, suffix: str) -> tuple[int, ...]:
|
| 119 |
+
return tuple(int(item.stem) for item in numeric_files(path, suffix))
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
def find_capture_roots(source_root: Path, repo_root: Path) -> list[Capture]:
|
| 123 |
+
number_map = scene_number_map(repo_root)
|
| 124 |
+
captures: list[Capture] = []
|
| 125 |
+
for path in sorted(source_root.rglob("*")):
|
| 126 |
+
if not path.is_dir():
|
| 127 |
+
continue
|
| 128 |
+
if not (path / "rgb").is_dir():
|
| 129 |
+
continue
|
| 130 |
+
if not ((path / "depth").is_dir() or (path / "fisheye").is_dir() or (path / "cam_pose").is_dir()):
|
| 131 |
+
continue
|
| 132 |
+
frame_indices = numeric_indices(path / "rgb", ".png")
|
| 133 |
+
if not frame_indices:
|
| 134 |
+
continue
|
| 135 |
+
scene_id = infer_scene_id(path, source_root, number_map)
|
| 136 |
+
captures.append(
|
| 137 |
+
Capture(
|
| 138 |
+
source_root=path,
|
| 139 |
+
scene_id=scene_id,
|
| 140 |
+
target_root=repo_root / "scenes" / scene_id / EGO_VIEW,
|
| 141 |
+
frame_indices=frame_indices,
|
| 142 |
+
)
|
| 143 |
+
)
|
| 144 |
+
return captures
|
| 145 |
+
|
| 146 |
+
|
| 147 |
+
def add_file_to_tar(tar: tarfile.TarFile, src: Path, arcname: str) -> None:
|
| 148 |
+
info = tar.gettarinfo(str(src), arcname)
|
| 149 |
+
info.mtime = 0
|
| 150 |
+
info.uid = 0
|
| 151 |
+
info.gid = 0
|
| 152 |
+
info.uname = ""
|
| 153 |
+
info.gname = ""
|
| 154 |
+
with src.open("rb") as handle:
|
| 155 |
+
tar.addfile(info, handle)
|
| 156 |
+
|
| 157 |
+
|
| 158 |
+
def write_tar(tar_path: Path, entries: list[tuple[Path, str]]) -> None:
|
| 159 |
+
tar_path.parent.mkdir(parents=True, exist_ok=True)
|
| 160 |
+
with tarfile.open(tar_path, "w") as tar:
|
| 161 |
+
for src, arcname in sorted(entries, key=lambda item: item[1]):
|
| 162 |
+
add_file_to_tar(tar, src, arcname)
|
| 163 |
+
|
| 164 |
+
|
| 165 |
+
def png_entries(directory: Path, prefix: str) -> list[tuple[Path, str]]:
|
| 166 |
+
if not directory.exists():
|
| 167 |
+
return []
|
| 168 |
+
return [(path, f"{prefix}/{path.name}") for path in numeric_files(directory, ".png")]
|
| 169 |
+
|
| 170 |
+
|
| 171 |
+
def npz_entries(directory: Path, prefix: str) -> list[tuple[Path, str]]:
|
| 172 |
+
if not directory.exists():
|
| 173 |
+
return []
|
| 174 |
+
return [(path, f"{prefix}/{path.name}") for path in numeric_files(directory, ".npz")]
|
| 175 |
+
|
| 176 |
+
|
| 177 |
+
def all_file_entries(directory: Path, prefix: str) -> list[tuple[Path, str]]:
|
| 178 |
+
if not directory.exists():
|
| 179 |
+
return []
|
| 180 |
+
entries: list[tuple[Path, str]] = []
|
| 181 |
+
for path in sorted(directory.rglob("*")):
|
| 182 |
+
if path.is_file():
|
| 183 |
+
entries.append((path, str(Path(prefix) / path.relative_to(directory))))
|
| 184 |
+
return entries
|
| 185 |
+
|
| 186 |
+
|
| 187 |
+
def pack_capture(capture: Capture, repo_root: Path, overwrite: bool) -> dict[str, Any]:
|
| 188 |
+
if capture.target_root.exists():
|
| 189 |
+
if not overwrite:
|
| 190 |
+
raise FileExistsError(f"{capture.target_root} exists; pass --overwrite to replace it")
|
| 191 |
+
shutil.rmtree(capture.target_root)
|
| 192 |
+
capture.target_root.mkdir(parents=True, exist_ok=True)
|
| 193 |
+
|
| 194 |
+
source = capture.source_root
|
| 195 |
+
sam2 = source / "sam2"
|
| 196 |
+
shard_counts: dict[str, int] = {}
|
| 197 |
+
|
| 198 |
+
entries = png_entries(source / "rgb", "rgb")
|
| 199 |
+
write_tar(capture.target_root / "rgb.tar", entries)
|
| 200 |
+
shard_counts["rgb"] = len(entries)
|
| 201 |
+
|
| 202 |
+
entries = png_entries(source / "depth", "depth")
|
| 203 |
+
if entries:
|
| 204 |
+
write_tar(capture.target_root / "depth.tar", entries)
|
| 205 |
+
shard_counts["depth"] = len(entries)
|
| 206 |
+
|
| 207 |
+
fisheye_entries = png_entries(source / "fisheye" / "left", "fisheye/left")
|
| 208 |
+
fisheye_entries += png_entries(source / "fisheye" / "right", "fisheye/right")
|
| 209 |
+
if fisheye_entries:
|
| 210 |
+
write_tar(capture.target_root / "fisheye.tar", fisheye_entries)
|
| 211 |
+
shard_counts["fisheye"] = len(fisheye_entries)
|
| 212 |
+
|
| 213 |
+
entries = npz_entries(source / "cam_pose", "cam_pose")
|
| 214 |
+
if entries:
|
| 215 |
+
write_tar(capture.target_root / "labels" / "cam_pose" / f"{LABEL_VERSION}.tar", entries)
|
| 216 |
+
shard_counts["cam_pose"] = len(entries)
|
| 217 |
+
|
| 218 |
+
entries = png_entries(sam2 / "masks", "sam2/masks")
|
| 219 |
+
if entries:
|
| 220 |
+
write_tar(capture.target_root / "labels" / "masks" / f"{LABEL_VERSION}.tar", entries)
|
| 221 |
+
shard_counts["masks"] = len(entries)
|
| 222 |
+
|
| 223 |
+
aux_entries: list[tuple[Path, str]] = []
|
| 224 |
+
if sam2.exists():
|
| 225 |
+
for child in sorted(sam2.iterdir()):
|
| 226 |
+
if child.name == "masks" or not child.is_dir():
|
| 227 |
+
continue
|
| 228 |
+
aux_entries.extend(all_file_entries(child, f"sam2/{child.name}"))
|
| 229 |
+
if aux_entries:
|
| 230 |
+
write_tar(capture.target_root / "labels" / "masks_aux" / f"{LABEL_VERSION}.tar", aux_entries)
|
| 231 |
+
shard_counts["masks_aux"] = len(aux_entries)
|
| 232 |
+
|
| 233 |
+
meta_entries = [(path, f"sam2/{path.name}") for path in sorted(sam2.iterdir()) if path.is_file()] if sam2.exists() else []
|
| 234 |
+
if meta_entries:
|
| 235 |
+
write_tar(capture.target_root / "labels" / "sam2_meta" / f"{LABEL_VERSION}.tar", meta_entries)
|
| 236 |
+
shard_counts["sam2_meta"] = len(meta_entries)
|
| 237 |
+
|
| 238 |
+
return {"scene_id": capture.scene_id, "target_root": rel(capture.target_root, repo_root), "shard_counts": shard_counts}
|
| 239 |
+
|
| 240 |
+
|
| 241 |
+
def read_split_lookup(repo_root: Path) -> dict[tuple[str, int], dict[str, str]]:
|
| 242 |
+
lookup: dict[tuple[str, int], dict[str, str]] = {}
|
| 243 |
+
for split in ("easy", "medium", "hard"):
|
| 244 |
+
for row in read_csv_rows(repo_root / "splits" / f"{split}.csv"):
|
| 245 |
+
lookup[(row["scene_id"], int(row["phase_index"]))] = row
|
| 246 |
+
return lookup
|
| 247 |
+
|
| 248 |
+
|
| 249 |
+
def write_parquet(path: Path, rows: list[dict[str, Any]], schema: Any | None = None, metadata: dict[bytes, bytes] | None = None) -> None:
|
| 250 |
+
import pyarrow as pa
|
| 251 |
+
import pyarrow.parquet as pq
|
| 252 |
+
|
| 253 |
+
path.parent.mkdir(parents=True, exist_ok=True)
|
| 254 |
+
table = pa.Table.from_pylist(rows, schema=schema)
|
| 255 |
+
if metadata:
|
| 256 |
+
table = table.replace_schema_metadata(metadata)
|
| 257 |
+
pq.write_table(table, path)
|
| 258 |
+
|
| 259 |
+
|
| 260 |
+
def ego_frame_schema() -> Any:
|
| 261 |
+
import pyarrow as pa
|
| 262 |
+
|
| 263 |
+
return pa.schema(
|
| 264 |
+
[
|
| 265 |
+
("scene_id", pa.string()),
|
| 266 |
+
("scene_type", pa.string()),
|
| 267 |
+
("view", pa.string()),
|
| 268 |
+
("capture_id", pa.string()),
|
| 269 |
+
("frame_idx", pa.int64()),
|
| 270 |
+
("frame_filename", pa.string()),
|
| 271 |
+
("split", pa.string()),
|
| 272 |
+
("has_rgb", pa.bool_()),
|
| 273 |
+
("has_depth", pa.bool_()),
|
| 274 |
+
("has_fisheye", pa.bool_()),
|
| 275 |
+
("has_cam_pose", pa.bool_()),
|
| 276 |
+
("has_masks", pa.bool_()),
|
| 277 |
+
("has_masks_aux", pa.bool_()),
|
| 278 |
+
("has_sam2_meta", pa.bool_()),
|
| 279 |
+
("shard_rgb", pa.string()),
|
| 280 |
+
("shard_depth", pa.string()),
|
| 281 |
+
("shard_fisheye", pa.string()),
|
| 282 |
+
("shard_cam_pose", pa.string()),
|
| 283 |
+
("shard_masks", pa.string()),
|
| 284 |
+
("shard_masks_aux", pa.string()),
|
| 285 |
+
("shard_sam2_meta", pa.string()),
|
| 286 |
+
]
|
| 287 |
+
)
|
| 288 |
+
|
| 289 |
+
|
| 290 |
+
def ego_mask_map_schema() -> Any:
|
| 291 |
+
import pyarrow as pa
|
| 292 |
+
|
| 293 |
+
return pa.schema(
|
| 294 |
+
[
|
| 295 |
+
("scene_id", pa.string()),
|
| 296 |
+
("view", pa.string()),
|
| 297 |
+
("capture_id", pa.string()),
|
| 298 |
+
("local_mask_id", pa.int64()),
|
| 299 |
+
("object_id", pa.string()),
|
| 300 |
+
("global_object_id", pa.int64()),
|
| 301 |
+
("source_catalog_id", pa.string()),
|
| 302 |
+
("object_name", pa.string()),
|
| 303 |
+
("class_name", pa.string()),
|
| 304 |
+
("questionnaire_path", pa.string()),
|
| 305 |
+
("sos_path", pa.string()),
|
| 306 |
+
("sos_data_path", pa.string()),
|
| 307 |
+
("mask_source", pa.string()),
|
| 308 |
+
]
|
| 309 |
+
)
|
| 310 |
+
|
| 311 |
+
|
| 312 |
+
def build_ego_frame_rows(repo_root: Path, captures: list[Capture]) -> list[dict[str, Any]]:
|
| 313 |
+
rows: list[dict[str, Any]] = []
|
| 314 |
+
for capture in captures:
|
| 315 |
+
root = rel(capture.target_root, repo_root)
|
| 316 |
+
has_depth = (capture.target_root / "depth.tar").exists()
|
| 317 |
+
has_fisheye = (capture.target_root / "fisheye.tar").exists()
|
| 318 |
+
has_cam_pose = (capture.target_root / "labels" / "cam_pose" / f"{LABEL_VERSION}.tar").exists()
|
| 319 |
+
has_masks = (capture.target_root / "labels" / "masks" / f"{LABEL_VERSION}.tar").exists()
|
| 320 |
+
has_masks_aux = (capture.target_root / "labels" / "masks_aux" / f"{LABEL_VERSION}.tar").exists()
|
| 321 |
+
has_sam2_meta = (capture.target_root / "labels" / "sam2_meta" / f"{LABEL_VERSION}.tar").exists()
|
| 322 |
+
for frame_idx in capture.frame_indices:
|
| 323 |
+
filename = f"{frame_idx:05d}.png"
|
| 324 |
+
rows.append(
|
| 325 |
+
{
|
| 326 |
+
"scene_id": capture.scene_id,
|
| 327 |
+
"scene_type": "multi_object_ego",
|
| 328 |
+
"view": EGO_VIEW,
|
| 329 |
+
"capture_id": EGO_VIEW,
|
| 330 |
+
"frame_idx": frame_idx,
|
| 331 |
+
"frame_filename": filename,
|
| 332 |
+
"split": EGO_VIEW,
|
| 333 |
+
"has_rgb": True,
|
| 334 |
+
"has_depth": has_depth,
|
| 335 |
+
"has_fisheye": has_fisheye,
|
| 336 |
+
"has_cam_pose": has_cam_pose,
|
| 337 |
+
"has_masks": has_masks,
|
| 338 |
+
"has_masks_aux": has_masks_aux,
|
| 339 |
+
"has_sam2_meta": has_sam2_meta,
|
| 340 |
+
"shard_rgb": f"{root}/rgb.tar",
|
| 341 |
+
"shard_depth": f"{root}/depth.tar" if has_depth else "",
|
| 342 |
+
"shard_fisheye": f"{root}/fisheye.tar" if has_fisheye else "",
|
| 343 |
+
"shard_cam_pose": f"{root}/labels/cam_pose/{LABEL_VERSION}.tar" if has_cam_pose else "",
|
| 344 |
+
"shard_masks": f"{root}/labels/masks/{LABEL_VERSION}.tar" if has_masks else "",
|
| 345 |
+
"shard_masks_aux": f"{root}/labels/masks_aux/{LABEL_VERSION}.tar" if has_masks_aux else "",
|
| 346 |
+
"shard_sam2_meta": f"{root}/labels/sam2_meta/{LABEL_VERSION}.tar" if has_sam2_meta else "",
|
| 347 |
+
}
|
| 348 |
+
)
|
| 349 |
+
return rows
|
| 350 |
+
|
| 351 |
+
|
| 352 |
+
def build_frames_v2_rows(repo_root: Path, ego_rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
|
| 353 |
+
import pyarrow.parquet as pq
|
| 354 |
+
|
| 355 |
+
split_lookup = read_split_lookup(repo_root)
|
| 356 |
+
old_rows = pq.read_table(repo_root / "manifest" / "frames_v1.parquet").to_pylist()
|
| 357 |
+
rows: list[dict[str, Any]] = []
|
| 358 |
+
for row in old_rows:
|
| 359 |
+
scene_type = row["scene_type"]
|
| 360 |
+
phase = row["phase"]
|
| 361 |
+
phase_index = int(phase) if scene_type == "multi_object" else None
|
| 362 |
+
phase_info = split_lookup.get((row["scene_id"], phase_index), {}) if phase_index is not None else {}
|
| 363 |
+
capture_id = f"phase{phase_index}" if phase_index is not None else str(phase)
|
| 364 |
+
rows.append(
|
| 365 |
+
{
|
| 366 |
+
**row,
|
| 367 |
+
"view": "phase" if scene_type == "multi_object" else "object",
|
| 368 |
+
"capture_id": capture_id,
|
| 369 |
+
"phase_index": phase_index,
|
| 370 |
+
"phase_name": PHASE_NAMES.get(phase_index) if phase_index is not None else None,
|
| 371 |
+
"difficulty": phase_info.get("difficulty"),
|
| 372 |
+
"rpx_ds": float(phase_info["rpx_ds"]) if phase_info.get("rpx_ds") else None,
|
| 373 |
+
}
|
| 374 |
+
)
|
| 375 |
+
for row in ego_rows:
|
| 376 |
+
rows.append(
|
| 377 |
+
{
|
| 378 |
+
**row,
|
| 379 |
+
"phase": None,
|
| 380 |
+
"phase_index": None,
|
| 381 |
+
"phase_name": None,
|
| 382 |
+
"difficulty": None,
|
| 383 |
+
"rpx_ds": None,
|
| 384 |
+
}
|
| 385 |
+
)
|
| 386 |
+
return rows
|
| 387 |
+
|
| 388 |
+
|
| 389 |
+
def object_catalog_lookup(repo_root: Path) -> tuple[dict[str, dict[str, Any]], dict[str, list[dict[str, Any]]]]:
|
| 390 |
+
catalog = load_json(repo_root / "manifest" / "object_catalog_v1.json")
|
| 391 |
+
by_source = {str(item["source_catalog_id"]): item for item in catalog.get("objects", [])}
|
| 392 |
+
by_name: dict[str, list[dict[str, Any]]] = defaultdict(list)
|
| 393 |
+
for item in catalog.get("objects", []):
|
| 394 |
+
by_name[str(item["object_name"])].append(item)
|
| 395 |
+
return by_source, by_name
|
| 396 |
+
|
| 397 |
+
|
| 398 |
+
def read_mask_to_object_from_tar(path: Path) -> dict[str, Any] | None:
|
| 399 |
+
if not path.exists():
|
| 400 |
+
return None
|
| 401 |
+
with tarfile.open(path) as tar:
|
| 402 |
+
extracted = tar.extractfile("sam2/mask_to_object.json")
|
| 403 |
+
if extracted is None:
|
| 404 |
+
return None
|
| 405 |
+
return json.load(extracted)
|
| 406 |
+
|
| 407 |
+
|
| 408 |
+
def build_ego_mask_map_rows(repo_root: Path, captures: list[Capture]) -> list[dict[str, Any]]:
|
| 409 |
+
by_source, by_name = object_catalog_lookup(repo_root)
|
| 410 |
+
rows: list[dict[str, Any]] = []
|
| 411 |
+
for capture in captures:
|
| 412 |
+
meta_tar = capture.target_root / "labels" / "sam2_meta" / f"{LABEL_VERSION}.tar"
|
| 413 |
+
mask_to_object = read_mask_to_object_from_tar(meta_tar)
|
| 414 |
+
if not mask_to_object:
|
| 415 |
+
continue
|
| 416 |
+
for mask_id, item in sorted(mask_to_object.items(), key=lambda kv: int(kv[0])):
|
| 417 |
+
source_catalog_id = str(item["object"]["id"])
|
| 418 |
+
object_name = str(item["object"]["name"])
|
| 419 |
+
catalog_item = by_source.get(source_catalog_id)
|
| 420 |
+
if catalog_item is None:
|
| 421 |
+
matches = by_name.get(object_name, [])
|
| 422 |
+
catalog_item = matches[0] if len(matches) == 1 else None
|
| 423 |
+
if catalog_item is None:
|
| 424 |
+
raise KeyError(
|
| 425 |
+
f"could not join ego mask {capture.scene_id}:{mask_id} "
|
| 426 |
+
f"({source_catalog_id}, {object_name}) to object_catalog_v1.json"
|
| 427 |
+
)
|
| 428 |
+
rows.append(
|
| 429 |
+
{
|
| 430 |
+
"scene_id": capture.scene_id,
|
| 431 |
+
"view": EGO_VIEW,
|
| 432 |
+
"capture_id": EGO_VIEW,
|
| 433 |
+
"local_mask_id": int(mask_id),
|
| 434 |
+
"object_id": catalog_item["object_id"],
|
| 435 |
+
"global_object_id": int(catalog_item["global_object_id"]),
|
| 436 |
+
"source_catalog_id": str(catalog_item["source_catalog_id"]),
|
| 437 |
+
"object_name": catalog_item["object_name"],
|
| 438 |
+
"class_name": catalog_item.get("class_name", catalog_item["object_name"]),
|
| 439 |
+
"questionnaire_path": catalog_item["questionnaire_path"],
|
| 440 |
+
"sos_path": catalog_item.get("sos_path", catalog_item["sos_data_path"]),
|
| 441 |
+
"sos_data_path": catalog_item["sos_data_path"],
|
| 442 |
+
"mask_source": f"{rel(meta_tar, repo_root)}:sam2/mask_to_object.json",
|
| 443 |
+
}
|
| 444 |
+
)
|
| 445 |
+
return rows
|
| 446 |
+
|
| 447 |
+
|
| 448 |
+
def depth_to_uint8(depth: Image.Image) -> Image.Image:
|
| 449 |
+
arr = np.asarray(depth).astype(np.float32)
|
| 450 |
+
valid = arr > 0
|
| 451 |
+
if not valid.any():
|
| 452 |
+
return Image.fromarray(np.zeros(arr.shape, dtype=np.uint8), mode="L")
|
| 453 |
+
lo, hi = np.percentile(arr[valid], [2, 98])
|
| 454 |
+
if hi <= lo:
|
| 455 |
+
hi = lo + 1
|
| 456 |
+
norm = np.clip((arr - lo) / (hi - lo), 0, 1)
|
| 457 |
+
norm[~valid] = 0
|
| 458 |
+
return Image.fromarray((norm * 255).astype(np.uint8), mode="L")
|
| 459 |
+
|
| 460 |
+
|
| 461 |
+
def colorize_mask(mask: Image.Image) -> Image.Image:
|
| 462 |
+
arr = np.asarray(mask)
|
| 463 |
+
rgb = np.zeros((*arr.shape, 3), dtype=np.uint8)
|
| 464 |
+
palette = np.asarray(
|
| 465 |
+
[
|
| 466 |
+
[244, 103, 83],
|
| 467 |
+
[79, 210, 154],
|
| 468 |
+
[255, 184, 77],
|
| 469 |
+
[180, 101, 255],
|
| 470 |
+
[64, 182, 255],
|
| 471 |
+
[255, 99, 179],
|
| 472 |
+
[141, 224, 83],
|
| 473 |
+
[255, 226, 102],
|
| 474 |
+
],
|
| 475 |
+
dtype=np.uint8,
|
| 476 |
+
)
|
| 477 |
+
for value in np.unique(arr):
|
| 478 |
+
if value == 0:
|
| 479 |
+
continue
|
| 480 |
+
rgb[arr == value] = palette[(int(value) - 1) % len(palette)]
|
| 481 |
+
return Image.fromarray(rgb, mode="RGB")
|
| 482 |
+
|
| 483 |
+
|
| 484 |
+
def fit_image(image: Image.Image, size: tuple[int, int], nearest: bool = False) -> Image.Image:
|
| 485 |
+
image = image.convert("RGB")
|
| 486 |
+
scale = min(size[0] / image.width, size[1] / image.height)
|
| 487 |
+
new_size = (max(1, round(image.width * scale)), max(1, round(image.height * scale)))
|
| 488 |
+
method = Image.Resampling.NEAREST if nearest else Image.Resampling.LANCZOS
|
| 489 |
+
resized = image.resize(new_size, method)
|
| 490 |
+
canvas = Image.new("RGB", size, (14, 17, 22))
|
| 491 |
+
canvas.paste(resized, ((size[0] - new_size[0]) // 2, (size[1] - new_size[1]) // 2))
|
| 492 |
+
return canvas
|
| 493 |
+
|
| 494 |
+
|
| 495 |
+
def read_png_from_tar(path: Path, name: str) -> Image.Image | None:
|
| 496 |
+
if not path.exists():
|
| 497 |
+
return None
|
| 498 |
+
with tarfile.open(path) as tar:
|
| 499 |
+
extracted = tar.extractfile(name)
|
| 500 |
+
if extracted is None:
|
| 501 |
+
return None
|
| 502 |
+
return Image.open(extracted).copy()
|
| 503 |
+
|
| 504 |
+
|
| 505 |
+
def load_font(size: int) -> ImageFont.ImageFont:
|
| 506 |
+
for name in ("Times New Roman.ttf", "Times_New_Roman.ttf", "LiberationSerif-Regular.ttf"):
|
| 507 |
+
try:
|
| 508 |
+
return ImageFont.truetype(name, size)
|
| 509 |
+
except OSError:
|
| 510 |
+
pass
|
| 511 |
+
return ImageFont.load_default()
|
| 512 |
+
|
| 513 |
+
|
| 514 |
+
def make_ego_preview(capture: Capture, repo_root: Path, frame_idx: int, out_path: Path) -> None:
|
| 515 |
+
frame = f"{frame_idx:05d}.png"
|
| 516 |
+
rgb = read_png_from_tar(capture.target_root / "rgb.tar", f"rgb/{frame}")
|
| 517 |
+
depth = read_png_from_tar(capture.target_root / "depth.tar", f"depth/{frame}")
|
| 518 |
+
mask = read_png_from_tar(capture.target_root / "labels" / "masks" / f"{LABEL_VERSION}.tar", f"sam2/masks/{frame}")
|
| 519 |
+
left = read_png_from_tar(capture.target_root / "fisheye.tar", f"fisheye/left/{frame}")
|
| 520 |
+
right = read_png_from_tar(capture.target_root / "fisheye.tar", f"fisheye/right/{frame}")
|
| 521 |
+
|
| 522 |
+
panels = [
|
| 523 |
+
("RGB", rgb),
|
| 524 |
+
("Depth", depth_to_uint8(depth) if depth is not None else None),
|
| 525 |
+
("Masks", colorize_mask(mask) if mask is not None else None),
|
| 526 |
+
("Fisheye L", left),
|
| 527 |
+
("Fisheye R", right),
|
| 528 |
+
]
|
| 529 |
+
panel_size = (320, 240)
|
| 530 |
+
label_h = 32
|
| 531 |
+
footer_h = 46
|
| 532 |
+
image = Image.new("RGB", (panel_size[0] * len(panels), panel_size[1] + label_h + footer_h), (245, 245, 242))
|
| 533 |
+
draw = ImageDraw.Draw(image)
|
| 534 |
+
font = load_font(18)
|
| 535 |
+
small = load_font(15)
|
| 536 |
+
for index, (label, panel) in enumerate(panels):
|
| 537 |
+
x = index * panel_size[0]
|
| 538 |
+
if panel is None:
|
| 539 |
+
tile = Image.new("RGB", panel_size, (40, 43, 50))
|
| 540 |
+
ImageDraw.Draw(tile).text((12, 12), "missing", fill=(235, 235, 235), font=small)
|
| 541 |
+
else:
|
| 542 |
+
tile = fit_image(panel, panel_size, nearest=label in {"Depth", "Masks"})
|
| 543 |
+
image.paste(tile, (x, label_h))
|
| 544 |
+
draw.text((x + 10, 7), label, fill=(21, 25, 32), font=font)
|
| 545 |
+
footer_y = label_h + panel_size[1]
|
| 546 |
+
draw.rectangle((0, footer_y, image.width, image.height), fill=(18, 23, 30))
|
| 547 |
+
draw.text((14, footer_y + 10), f"RPX EGO / {capture.scene_id} / frame {frame_idx:05d}", fill=(235, 238, 242), font=font)
|
| 548 |
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 549 |
+
image.save(out_path, quality=90)
|
| 550 |
+
|
| 551 |
+
|
| 552 |
+
def build_ego_preview_rows(repo_root: Path, captures: list[Capture], preview_frame: int | None) -> list[dict[str, Any]]:
|
| 553 |
+
rows: list[dict[str, Any]] = []
|
| 554 |
+
for capture in captures:
|
| 555 |
+
frame_idx = preview_frame if preview_frame is not None else capture.frame_indices[len(capture.frame_indices) // 2]
|
| 556 |
+
out_name = f"rpx_ego_{capture.scene_id}.jpg"
|
| 557 |
+
preview_path = repo_root / "preview" / "image_examples" / "ego_preview" / "images" / out_name
|
| 558 |
+
make_ego_preview(capture, repo_root, frame_idx, preview_path)
|
| 559 |
+
root = rel(capture.target_root, repo_root)
|
| 560 |
+
with preview_path.open("rb") as handle:
|
| 561 |
+
image_bytes = handle.read()
|
| 562 |
+
rows.append(
|
| 563 |
+
{
|
| 564 |
+
"image": {"bytes": image_bytes, "path": out_name},
|
| 565 |
+
"scene_id": capture.scene_id,
|
| 566 |
+
"view": EGO_VIEW,
|
| 567 |
+
"capture_id": EGO_VIEW,
|
| 568 |
+
"frame_count": len(capture.frame_indices),
|
| 569 |
+
"preview_frame_index": frame_idx,
|
| 570 |
+
"source_rgb_shard": f"{root}/rgb.tar",
|
| 571 |
+
"source_depth_shard": f"{root}/depth.tar",
|
| 572 |
+
"source_fisheye_shard": f"{root}/fisheye.tar",
|
| 573 |
+
"source_cam_pose_shard": f"{root}/labels/cam_pose/{LABEL_VERSION}.tar",
|
| 574 |
+
"source_mask_shard": f"{root}/labels/masks/{LABEL_VERSION}.tar",
|
| 575 |
+
"source_mask_aux_shard": f"{root}/labels/masks_aux/{LABEL_VERSION}.tar",
|
| 576 |
+
"source_sam2_meta_shard": f"{root}/labels/sam2_meta/{LABEL_VERSION}.tar",
|
| 577 |
+
"caption": f"Egocentric RGB-D/mask preview for {capture.scene_id} ({len(capture.frame_indices)} frames).",
|
| 578 |
+
}
|
| 579 |
+
)
|
| 580 |
+
return rows
|
| 581 |
+
|
| 582 |
+
|
| 583 |
+
def write_ego_preview_parquet(path: Path, rows: list[dict[str, Any]]) -> None:
|
| 584 |
+
import pyarrow as pa
|
| 585 |
+
|
| 586 |
+
schema = pa.schema(
|
| 587 |
+
[
|
| 588 |
+
("image", pa.struct([("bytes", pa.binary()), ("path", pa.string())])),
|
| 589 |
+
("scene_id", pa.string()),
|
| 590 |
+
("view", pa.string()),
|
| 591 |
+
("capture_id", pa.string()),
|
| 592 |
+
("frame_count", pa.int64()),
|
| 593 |
+
("preview_frame_index", pa.int64()),
|
| 594 |
+
("source_rgb_shard", pa.string()),
|
| 595 |
+
("source_depth_shard", pa.string()),
|
| 596 |
+
("source_fisheye_shard", pa.string()),
|
| 597 |
+
("source_cam_pose_shard", pa.string()),
|
| 598 |
+
("source_mask_shard", pa.string()),
|
| 599 |
+
("source_mask_aux_shard", pa.string()),
|
| 600 |
+
("source_sam2_meta_shard", pa.string()),
|
| 601 |
+
("caption", pa.string()),
|
| 602 |
+
]
|
| 603 |
+
)
|
| 604 |
+
metadata = {
|
| 605 |
+
b"huggingface": json.dumps(
|
| 606 |
+
{
|
| 607 |
+
"info": {
|
| 608 |
+
"features": {
|
| 609 |
+
"image": {"_type": "Image"},
|
| 610 |
+
"scene_id": {"dtype": "string", "_type": "Value"},
|
| 611 |
+
"view": {"dtype": "string", "_type": "Value"},
|
| 612 |
+
"capture_id": {"dtype": "string", "_type": "Value"},
|
| 613 |
+
"frame_count": {"dtype": "int64", "_type": "Value"},
|
| 614 |
+
"preview_frame_index": {"dtype": "int64", "_type": "Value"},
|
| 615 |
+
"caption": {"dtype": "string", "_type": "Value"},
|
| 616 |
+
}
|
| 617 |
+
}
|
| 618 |
+
}
|
| 619 |
+
).encode("utf-8")
|
| 620 |
+
}
|
| 621 |
+
write_parquet(path, rows, schema=schema, metadata=metadata)
|
| 622 |
+
|
| 623 |
+
|
| 624 |
+
def write_csv_preview(path: Path, rows: list[dict[str, Any]], repo_id: str = "IRVLUTD/RPX") -> None:
|
| 625 |
+
csv_rows: list[dict[str, Any]] = []
|
| 626 |
+
for row in rows:
|
| 627 |
+
out = {key: value for key, value in row.items() if key != "image"}
|
| 628 |
+
out["image_preview_url"] = (
|
| 629 |
+
f"https://huggingface.co/datasets/{repo_id}/resolve/main/"
|
| 630 |
+
f"preview/image_examples/ego_preview/images/{row['image']['path']}"
|
| 631 |
+
)
|
| 632 |
+
csv_rows.append(out)
|
| 633 |
+
fieldnames = [
|
| 634 |
+
"scene_id",
|
| 635 |
+
"view",
|
| 636 |
+
"capture_id",
|
| 637 |
+
"frame_count",
|
| 638 |
+
"preview_frame_index",
|
| 639 |
+
"image_preview_url",
|
| 640 |
+
"source_rgb_shard",
|
| 641 |
+
"source_depth_shard",
|
| 642 |
+
"source_fisheye_shard",
|
| 643 |
+
"source_cam_pose_shard",
|
| 644 |
+
"source_mask_shard",
|
| 645 |
+
"source_mask_aux_shard",
|
| 646 |
+
"source_sam2_meta_shard",
|
| 647 |
+
"caption",
|
| 648 |
+
]
|
| 649 |
+
write_csv_rows(path, csv_rows, fieldnames)
|
| 650 |
+
|
| 651 |
+
|
| 652 |
+
def write_current_json(repo_root: Path, ego_rows: list[dict[str, Any]], ego_mask_rows: list[dict[str, Any]]) -> None:
|
| 653 |
+
path = repo_root / "manifest" / "current.json"
|
| 654 |
+
current = load_json(path)
|
| 655 |
+
current["schema_version"] = "v2"
|
| 656 |
+
current.setdefault("manifests", {}).update(
|
| 657 |
+
{
|
| 658 |
+
"frames_v2": "manifest/frames_v2.parquet",
|
| 659 |
+
"ego_frames": "manifest/ego_frames_v1.parquet",
|
| 660 |
+
"ego_frames_csv": "manifest/ego_frames_v1.csv",
|
| 661 |
+
"mos_ego_mask_object_map": "manifest/mos_ego_mask_object_map_v1.parquet",
|
| 662 |
+
"mos_ego_mask_object_map_csv": "manifest/mos_ego_mask_object_map_v1.csv",
|
| 663 |
+
}
|
| 664 |
+
)
|
| 665 |
+
mos = current.setdefault("mos", {})
|
| 666 |
+
mos["schema_version"] = "v2"
|
| 667 |
+
mos["ego_directory_value"] = EGO_VIEW
|
| 668 |
+
mos["ego_contributes_to_esd"] = False
|
| 669 |
+
mos["ego_view_count"] = len({row["scene_id"] for row in ego_rows})
|
| 670 |
+
mos["ego_frame_count"] = len(ego_rows)
|
| 671 |
+
mos["ego_mask_object_row_count"] = len(ego_mask_rows)
|
| 672 |
+
mos["ego_frames"] = "manifest/ego_frames_v1.parquet"
|
| 673 |
+
mos["ego_mask_object_map_csv"] = "manifest/mos_ego_mask_object_map_v1.csv"
|
| 674 |
+
mos["ego_mask_object_map_parquet"] = "manifest/mos_ego_mask_object_map_v1.parquet"
|
| 675 |
+
mos["ego_raw_source"] = "scenes/<scene_id>/ego/labels/sam2_meta/v1.tar:sam2/mask_to_object.json"
|
| 676 |
+
mos["phase_directory_values"] = ["0", "1", "2"]
|
| 677 |
+
mos["view_directory_values"] = ["0", "1", "2", EGO_VIEW]
|
| 678 |
+
current.setdefault("metadata_versions", {})["ego_frames"] = "v1"
|
| 679 |
+
current["metadata_versions"]["mos_ego_mask_object_map"] = "v1"
|
| 680 |
+
path.write_text(json.dumps(current, indent=2) + "\n", encoding="utf-8")
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def copy_mos_phase_preview(repo_root: Path) -> None:
|
| 684 |
+
src = repo_root / "preview" / "media_preview.parquet"
|
| 685 |
+
dst = repo_root / "preview" / "mos_phase_preview.parquet"
|
| 686 |
+
if src.exists():
|
| 687 |
+
shutil.copy2(src, dst)
|
| 688 |
+
csv_src = repo_root / "preview" / "data_studio_preview.csv"
|
| 689 |
+
csv_dst = repo_root / "preview" / "mos_phase_preview.csv"
|
| 690 |
+
if csv_src.exists():
|
| 691 |
+
shutil.copy2(csv_src, csv_dst)
|
| 692 |
+
|
| 693 |
+
|
| 694 |
+
def main() -> None:
|
| 695 |
+
args = parse_args()
|
| 696 |
+
repo_root = args.repo_root.resolve()
|
| 697 |
+
source_root = args.ego_source_root.resolve()
|
| 698 |
+
captures = find_capture_roots(source_root, repo_root)
|
| 699 |
+
if not captures:
|
| 700 |
+
raise SystemExit(f"no ego captures found under {source_root}")
|
| 701 |
+
|
| 702 |
+
print("inferred ego captures:")
|
| 703 |
+
for capture in captures:
|
| 704 |
+
print(f" {capture.source_root} -> {capture.target_root} ({len(capture.frame_indices)} frames)")
|
| 705 |
+
|
| 706 |
+
if not args.apply:
|
| 707 |
+
print("dry run only; pass --apply to write dataset artifacts")
|
| 708 |
+
return
|
| 709 |
+
|
| 710 |
+
package_summary = [pack_capture(capture, repo_root, args.overwrite) for capture in captures]
|
| 711 |
+
ego_frame_rows = build_ego_frame_rows(repo_root, captures)
|
| 712 |
+
frames_v2_rows = build_frames_v2_rows(repo_root, ego_frame_rows)
|
| 713 |
+
ego_mask_rows = build_ego_mask_map_rows(repo_root, captures)
|
| 714 |
+
ego_preview_rows = build_ego_preview_rows(repo_root, captures, args.preview_frame)
|
| 715 |
+
|
| 716 |
+
frame_fields = list(ego_frame_rows[0].keys())
|
| 717 |
+
write_csv_rows(repo_root / "manifest" / "ego_frames_v1.csv", ego_frame_rows, frame_fields)
|
| 718 |
+
write_parquet(repo_root / "manifest" / "ego_frames_v1.parquet", ego_frame_rows, schema=ego_frame_schema())
|
| 719 |
+
write_parquet(repo_root / "manifest" / "frames_v2.parquet", frames_v2_rows)
|
| 720 |
+
|
| 721 |
+
mask_fields = [
|
| 722 |
+
"scene_id",
|
| 723 |
+
"view",
|
| 724 |
+
"capture_id",
|
| 725 |
+
"local_mask_id",
|
| 726 |
+
"object_id",
|
| 727 |
+
"global_object_id",
|
| 728 |
+
"source_catalog_id",
|
| 729 |
+
"object_name",
|
| 730 |
+
"class_name",
|
| 731 |
+
"questionnaire_path",
|
| 732 |
+
"sos_path",
|
| 733 |
+
"sos_data_path",
|
| 734 |
+
"mask_source",
|
| 735 |
+
]
|
| 736 |
+
write_csv_rows(repo_root / "manifest" / "mos_ego_mask_object_map_v1.csv", ego_mask_rows, mask_fields)
|
| 737 |
+
write_parquet(
|
| 738 |
+
repo_root / "manifest" / "mos_ego_mask_object_map_v1.parquet",
|
| 739 |
+
ego_mask_rows,
|
| 740 |
+
schema=ego_mask_map_schema(),
|
| 741 |
+
)
|
| 742 |
+
|
| 743 |
+
write_ego_preview_parquet(repo_root / "preview" / "ego_preview.parquet", ego_preview_rows)
|
| 744 |
+
write_csv_preview(repo_root / "preview" / "ego_preview.csv", ego_preview_rows)
|
| 745 |
+
copy_mos_phase_preview(repo_root)
|
| 746 |
+
write_current_json(repo_root, ego_frame_rows, ego_mask_rows)
|
| 747 |
+
|
| 748 |
+
summary = {
|
| 749 |
+
"captures": package_summary,
|
| 750 |
+
"ego_frame_rows": len(ego_frame_rows),
|
| 751 |
+
"frames_v2_rows": len(frames_v2_rows),
|
| 752 |
+
"ego_mask_object_rows": len(ego_mask_rows),
|
| 753 |
+
"ego_preview_rows": len(ego_preview_rows),
|
| 754 |
+
"ego_contributes_to_esd": False,
|
| 755 |
+
}
|
| 756 |
+
out_path = repo_root / "ego_release" / "ego_release_summary.json"
|
| 757 |
+
out_path.write_text(json.dumps(summary, indent=2) + "\n", encoding="utf-8")
|
| 758 |
+
print(json.dumps(summary, indent=2))
|
| 759 |
+
print(f"wrote {out_path}")
|
| 760 |
+
|
| 761 |
+
|
| 762 |
+
if __name__ == "__main__":
|
| 763 |
+
main()
|
manifest/current.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
"sam2_meta": "v1",
|
| 6 |
"cam_pose": "v1"
|
| 7 |
},
|
| 8 |
-
"schema_version": "
|
| 9 |
"manifests": {
|
| 10 |
"frames": "manifest/frames_v1.parquet",
|
| 11 |
"scene_name_mapping": "manifest/scene_name_mapping_v1.csv",
|
|
@@ -14,7 +14,12 @@
|
|
| 14 |
"mos_raw_mask_object_map": "manifest/mos_raw_mask_object_map_v1.csv",
|
| 15 |
"mos_mask_object_map_csv": "manifest/mos_mask_object_map_v1.csv",
|
| 16 |
"mos_mask_object_map_parquet": "manifest/mos_mask_object_map_v1.parquet",
|
| 17 |
-
"mos_mask_object_map": "manifest/mos_mask_object_map_v1.parquet"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
},
|
| 19 |
"sos": {
|
| 20 |
"schema_version": "v1",
|
|
@@ -26,7 +31,7 @@
|
|
| 26 |
"objects_meta_index": "objects_meta/_index.json"
|
| 27 |
},
|
| 28 |
"mos": {
|
| 29 |
-
"schema_version": "
|
| 30 |
"scene_count": 100,
|
| 31 |
"phase_count": 300,
|
| 32 |
"mask_object_row_count": 2100,
|
|
@@ -49,12 +54,29 @@
|
|
| 49 |
"selected_objects": "manifest/selected_sos_objects_v1.csv",
|
| 50 |
"object_catalog": "manifest/object_catalog_v1.json",
|
| 51 |
"objects_meta_index": "objects_meta/_index.json"
|
| 52 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
},
|
| 54 |
"metadata_versions": {
|
| 55 |
"scene_name_mapping": "v1",
|
| 56 |
"selected_sos_objects": "v1",
|
| 57 |
"object_catalog": "v1",
|
| 58 |
-
"mos_mask_object_map": "v1"
|
|
|
|
|
|
|
| 59 |
}
|
| 60 |
}
|
|
|
|
| 5 |
"sam2_meta": "v1",
|
| 6 |
"cam_pose": "v1"
|
| 7 |
},
|
| 8 |
+
"schema_version": "v2",
|
| 9 |
"manifests": {
|
| 10 |
"frames": "manifest/frames_v1.parquet",
|
| 11 |
"scene_name_mapping": "manifest/scene_name_mapping_v1.csv",
|
|
|
|
| 14 |
"mos_raw_mask_object_map": "manifest/mos_raw_mask_object_map_v1.csv",
|
| 15 |
"mos_mask_object_map_csv": "manifest/mos_mask_object_map_v1.csv",
|
| 16 |
"mos_mask_object_map_parquet": "manifest/mos_mask_object_map_v1.parquet",
|
| 17 |
+
"mos_mask_object_map": "manifest/mos_mask_object_map_v1.parquet",
|
| 18 |
+
"frames_v2": "manifest/frames_v2.parquet",
|
| 19 |
+
"ego_frames": "manifest/ego_frames_v1.parquet",
|
| 20 |
+
"ego_frames_csv": "manifest/ego_frames_v1.csv",
|
| 21 |
+
"mos_ego_mask_object_map": "manifest/mos_ego_mask_object_map_v1.parquet",
|
| 22 |
+
"mos_ego_mask_object_map_csv": "manifest/mos_ego_mask_object_map_v1.csv"
|
| 23 |
},
|
| 24 |
"sos": {
|
| 25 |
"schema_version": "v1",
|
|
|
|
| 31 |
"objects_meta_index": "objects_meta/_index.json"
|
| 32 |
},
|
| 33 |
"mos": {
|
| 34 |
+
"schema_version": "v2",
|
| 35 |
"scene_count": 100,
|
| 36 |
"phase_count": 300,
|
| 37 |
"mask_object_row_count": 2100,
|
|
|
|
| 54 |
"selected_objects": "manifest/selected_sos_objects_v1.csv",
|
| 55 |
"object_catalog": "manifest/object_catalog_v1.json",
|
| 56 |
"objects_meta_index": "objects_meta/_index.json"
|
| 57 |
+
},
|
| 58 |
+
"ego_directory_value": "ego",
|
| 59 |
+
"ego_contributes_to_esd": false,
|
| 60 |
+
"ego_view_count": 1,
|
| 61 |
+
"ego_frame_count": 251,
|
| 62 |
+
"ego_mask_object_row_count": 7,
|
| 63 |
+
"ego_frames": "manifest/ego_frames_v1.parquet",
|
| 64 |
+
"ego_mask_object_map_csv": "manifest/mos_ego_mask_object_map_v1.csv",
|
| 65 |
+
"ego_mask_object_map_parquet": "manifest/mos_ego_mask_object_map_v1.parquet",
|
| 66 |
+
"ego_raw_source": "scenes/<scene_id>/ego/labels/sam2_meta/v1.tar:sam2/mask_to_object.json",
|
| 67 |
+
"view_directory_values": [
|
| 68 |
+
"0",
|
| 69 |
+
"1",
|
| 70 |
+
"2",
|
| 71 |
+
"ego"
|
| 72 |
+
]
|
| 73 |
},
|
| 74 |
"metadata_versions": {
|
| 75 |
"scene_name_mapping": "v1",
|
| 76 |
"selected_sos_objects": "v1",
|
| 77 |
"object_catalog": "v1",
|
| 78 |
+
"mos_mask_object_map": "v1",
|
| 79 |
+
"ego_frames": "v1",
|
| 80 |
+
"mos_ego_mask_object_map": "v1"
|
| 81 |
}
|
| 82 |
}
|
manifest/ego_frames_v1.csv
ADDED
|
@@ -0,0 +1,252 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
scene_id,scene_type,view,capture_id,frame_idx,frame_filename,split,has_rgb,has_depth,has_fisheye,has_cam_pose,has_masks,has_masks_aux,has_sam2_meta,shard_rgb,shard_depth,shard_fisheye,shard_cam_pose,shard_masks,shard_masks_aux,shard_sam2_meta
|
| 2 |
+
scene002,multi_object_ego,ego,ego,0,00000.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 3 |
+
scene002,multi_object_ego,ego,ego,1,00001.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 4 |
+
scene002,multi_object_ego,ego,ego,2,00002.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 5 |
+
scene002,multi_object_ego,ego,ego,3,00003.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 6 |
+
scene002,multi_object_ego,ego,ego,4,00004.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 7 |
+
scene002,multi_object_ego,ego,ego,5,00005.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 8 |
+
scene002,multi_object_ego,ego,ego,6,00006.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 9 |
+
scene002,multi_object_ego,ego,ego,7,00007.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 10 |
+
scene002,multi_object_ego,ego,ego,8,00008.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 11 |
+
scene002,multi_object_ego,ego,ego,9,00009.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 12 |
+
scene002,multi_object_ego,ego,ego,10,00010.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 13 |
+
scene002,multi_object_ego,ego,ego,11,00011.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 14 |
+
scene002,multi_object_ego,ego,ego,12,00012.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 15 |
+
scene002,multi_object_ego,ego,ego,13,00013.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 16 |
+
scene002,multi_object_ego,ego,ego,14,00014.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 17 |
+
scene002,multi_object_ego,ego,ego,15,00015.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 18 |
+
scene002,multi_object_ego,ego,ego,16,00016.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 19 |
+
scene002,multi_object_ego,ego,ego,17,00017.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 20 |
+
scene002,multi_object_ego,ego,ego,18,00018.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 21 |
+
scene002,multi_object_ego,ego,ego,19,00019.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 22 |
+
scene002,multi_object_ego,ego,ego,20,00020.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 23 |
+
scene002,multi_object_ego,ego,ego,21,00021.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 24 |
+
scene002,multi_object_ego,ego,ego,22,00022.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 25 |
+
scene002,multi_object_ego,ego,ego,23,00023.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 26 |
+
scene002,multi_object_ego,ego,ego,24,00024.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 27 |
+
scene002,multi_object_ego,ego,ego,25,00025.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 28 |
+
scene002,multi_object_ego,ego,ego,26,00026.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 29 |
+
scene002,multi_object_ego,ego,ego,27,00027.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 30 |
+
scene002,multi_object_ego,ego,ego,28,00028.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 31 |
+
scene002,multi_object_ego,ego,ego,29,00029.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 32 |
+
scene002,multi_object_ego,ego,ego,30,00030.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 33 |
+
scene002,multi_object_ego,ego,ego,31,00031.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 34 |
+
scene002,multi_object_ego,ego,ego,32,00032.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 35 |
+
scene002,multi_object_ego,ego,ego,33,00033.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 36 |
+
scene002,multi_object_ego,ego,ego,34,00034.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 37 |
+
scene002,multi_object_ego,ego,ego,35,00035.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 38 |
+
scene002,multi_object_ego,ego,ego,36,00036.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 39 |
+
scene002,multi_object_ego,ego,ego,37,00037.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 40 |
+
scene002,multi_object_ego,ego,ego,38,00038.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 41 |
+
scene002,multi_object_ego,ego,ego,39,00039.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 42 |
+
scene002,multi_object_ego,ego,ego,40,00040.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 43 |
+
scene002,multi_object_ego,ego,ego,41,00041.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 44 |
+
scene002,multi_object_ego,ego,ego,42,00042.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 45 |
+
scene002,multi_object_ego,ego,ego,43,00043.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 46 |
+
scene002,multi_object_ego,ego,ego,44,00044.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 47 |
+
scene002,multi_object_ego,ego,ego,45,00045.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 48 |
+
scene002,multi_object_ego,ego,ego,46,00046.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 49 |
+
scene002,multi_object_ego,ego,ego,47,00047.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 50 |
+
scene002,multi_object_ego,ego,ego,48,00048.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 51 |
+
scene002,multi_object_ego,ego,ego,49,00049.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 52 |
+
scene002,multi_object_ego,ego,ego,50,00050.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 53 |
+
scene002,multi_object_ego,ego,ego,51,00051.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 54 |
+
scene002,multi_object_ego,ego,ego,52,00052.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 55 |
+
scene002,multi_object_ego,ego,ego,53,00053.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 56 |
+
scene002,multi_object_ego,ego,ego,54,00054.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 57 |
+
scene002,multi_object_ego,ego,ego,55,00055.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 58 |
+
scene002,multi_object_ego,ego,ego,56,00056.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 59 |
+
scene002,multi_object_ego,ego,ego,57,00057.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 60 |
+
scene002,multi_object_ego,ego,ego,58,00058.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 61 |
+
scene002,multi_object_ego,ego,ego,59,00059.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 62 |
+
scene002,multi_object_ego,ego,ego,60,00060.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 63 |
+
scene002,multi_object_ego,ego,ego,61,00061.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 64 |
+
scene002,multi_object_ego,ego,ego,62,00062.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 65 |
+
scene002,multi_object_ego,ego,ego,63,00063.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 66 |
+
scene002,multi_object_ego,ego,ego,64,00064.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 67 |
+
scene002,multi_object_ego,ego,ego,65,00065.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 68 |
+
scene002,multi_object_ego,ego,ego,66,00066.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 69 |
+
scene002,multi_object_ego,ego,ego,67,00067.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 70 |
+
scene002,multi_object_ego,ego,ego,68,00068.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 71 |
+
scene002,multi_object_ego,ego,ego,69,00069.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 72 |
+
scene002,multi_object_ego,ego,ego,70,00070.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 73 |
+
scene002,multi_object_ego,ego,ego,71,00071.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 74 |
+
scene002,multi_object_ego,ego,ego,72,00072.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 75 |
+
scene002,multi_object_ego,ego,ego,73,00073.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 76 |
+
scene002,multi_object_ego,ego,ego,74,00074.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 77 |
+
scene002,multi_object_ego,ego,ego,75,00075.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 78 |
+
scene002,multi_object_ego,ego,ego,76,00076.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 79 |
+
scene002,multi_object_ego,ego,ego,77,00077.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 80 |
+
scene002,multi_object_ego,ego,ego,78,00078.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 81 |
+
scene002,multi_object_ego,ego,ego,79,00079.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 82 |
+
scene002,multi_object_ego,ego,ego,80,00080.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 83 |
+
scene002,multi_object_ego,ego,ego,81,00081.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 84 |
+
scene002,multi_object_ego,ego,ego,82,00082.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 85 |
+
scene002,multi_object_ego,ego,ego,83,00083.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 86 |
+
scene002,multi_object_ego,ego,ego,84,00084.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 87 |
+
scene002,multi_object_ego,ego,ego,85,00085.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 88 |
+
scene002,multi_object_ego,ego,ego,86,00086.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 89 |
+
scene002,multi_object_ego,ego,ego,87,00087.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 90 |
+
scene002,multi_object_ego,ego,ego,88,00088.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 91 |
+
scene002,multi_object_ego,ego,ego,89,00089.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 92 |
+
scene002,multi_object_ego,ego,ego,90,00090.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 93 |
+
scene002,multi_object_ego,ego,ego,91,00091.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 94 |
+
scene002,multi_object_ego,ego,ego,92,00092.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 95 |
+
scene002,multi_object_ego,ego,ego,93,00093.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 96 |
+
scene002,multi_object_ego,ego,ego,94,00094.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 97 |
+
scene002,multi_object_ego,ego,ego,95,00095.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 98 |
+
scene002,multi_object_ego,ego,ego,96,00096.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 99 |
+
scene002,multi_object_ego,ego,ego,97,00097.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 100 |
+
scene002,multi_object_ego,ego,ego,98,00098.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 101 |
+
scene002,multi_object_ego,ego,ego,99,00099.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 102 |
+
scene002,multi_object_ego,ego,ego,100,00100.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 103 |
+
scene002,multi_object_ego,ego,ego,101,00101.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 104 |
+
scene002,multi_object_ego,ego,ego,102,00102.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 105 |
+
scene002,multi_object_ego,ego,ego,103,00103.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 106 |
+
scene002,multi_object_ego,ego,ego,104,00104.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 107 |
+
scene002,multi_object_ego,ego,ego,105,00105.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 108 |
+
scene002,multi_object_ego,ego,ego,106,00106.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 109 |
+
scene002,multi_object_ego,ego,ego,107,00107.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 110 |
+
scene002,multi_object_ego,ego,ego,108,00108.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 111 |
+
scene002,multi_object_ego,ego,ego,109,00109.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 112 |
+
scene002,multi_object_ego,ego,ego,110,00110.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 113 |
+
scene002,multi_object_ego,ego,ego,111,00111.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 114 |
+
scene002,multi_object_ego,ego,ego,112,00112.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 115 |
+
scene002,multi_object_ego,ego,ego,113,00113.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 116 |
+
scene002,multi_object_ego,ego,ego,114,00114.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 117 |
+
scene002,multi_object_ego,ego,ego,115,00115.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 118 |
+
scene002,multi_object_ego,ego,ego,116,00116.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 119 |
+
scene002,multi_object_ego,ego,ego,117,00117.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 120 |
+
scene002,multi_object_ego,ego,ego,118,00118.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 121 |
+
scene002,multi_object_ego,ego,ego,119,00119.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 122 |
+
scene002,multi_object_ego,ego,ego,120,00120.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 123 |
+
scene002,multi_object_ego,ego,ego,121,00121.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 124 |
+
scene002,multi_object_ego,ego,ego,122,00122.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 125 |
+
scene002,multi_object_ego,ego,ego,123,00123.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 126 |
+
scene002,multi_object_ego,ego,ego,124,00124.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 127 |
+
scene002,multi_object_ego,ego,ego,125,00125.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 128 |
+
scene002,multi_object_ego,ego,ego,126,00126.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 129 |
+
scene002,multi_object_ego,ego,ego,127,00127.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 130 |
+
scene002,multi_object_ego,ego,ego,128,00128.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 131 |
+
scene002,multi_object_ego,ego,ego,129,00129.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 132 |
+
scene002,multi_object_ego,ego,ego,130,00130.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 133 |
+
scene002,multi_object_ego,ego,ego,131,00131.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 134 |
+
scene002,multi_object_ego,ego,ego,132,00132.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 135 |
+
scene002,multi_object_ego,ego,ego,133,00133.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 136 |
+
scene002,multi_object_ego,ego,ego,134,00134.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 137 |
+
scene002,multi_object_ego,ego,ego,135,00135.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 138 |
+
scene002,multi_object_ego,ego,ego,136,00136.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 139 |
+
scene002,multi_object_ego,ego,ego,137,00137.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 140 |
+
scene002,multi_object_ego,ego,ego,138,00138.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 141 |
+
scene002,multi_object_ego,ego,ego,139,00139.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 142 |
+
scene002,multi_object_ego,ego,ego,140,00140.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 143 |
+
scene002,multi_object_ego,ego,ego,141,00141.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 144 |
+
scene002,multi_object_ego,ego,ego,142,00142.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 145 |
+
scene002,multi_object_ego,ego,ego,143,00143.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 146 |
+
scene002,multi_object_ego,ego,ego,144,00144.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 147 |
+
scene002,multi_object_ego,ego,ego,145,00145.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 148 |
+
scene002,multi_object_ego,ego,ego,146,00146.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 149 |
+
scene002,multi_object_ego,ego,ego,147,00147.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 150 |
+
scene002,multi_object_ego,ego,ego,148,00148.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 151 |
+
scene002,multi_object_ego,ego,ego,149,00149.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 152 |
+
scene002,multi_object_ego,ego,ego,150,00150.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 153 |
+
scene002,multi_object_ego,ego,ego,151,00151.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 154 |
+
scene002,multi_object_ego,ego,ego,152,00152.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 155 |
+
scene002,multi_object_ego,ego,ego,153,00153.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 156 |
+
scene002,multi_object_ego,ego,ego,154,00154.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 157 |
+
scene002,multi_object_ego,ego,ego,155,00155.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 158 |
+
scene002,multi_object_ego,ego,ego,156,00156.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 159 |
+
scene002,multi_object_ego,ego,ego,157,00157.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 160 |
+
scene002,multi_object_ego,ego,ego,158,00158.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 161 |
+
scene002,multi_object_ego,ego,ego,159,00159.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 162 |
+
scene002,multi_object_ego,ego,ego,160,00160.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 163 |
+
scene002,multi_object_ego,ego,ego,161,00161.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 164 |
+
scene002,multi_object_ego,ego,ego,162,00162.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 165 |
+
scene002,multi_object_ego,ego,ego,163,00163.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 166 |
+
scene002,multi_object_ego,ego,ego,164,00164.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 167 |
+
scene002,multi_object_ego,ego,ego,165,00165.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 168 |
+
scene002,multi_object_ego,ego,ego,166,00166.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 169 |
+
scene002,multi_object_ego,ego,ego,167,00167.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 170 |
+
scene002,multi_object_ego,ego,ego,168,00168.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 171 |
+
scene002,multi_object_ego,ego,ego,169,00169.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 172 |
+
scene002,multi_object_ego,ego,ego,170,00170.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 173 |
+
scene002,multi_object_ego,ego,ego,171,00171.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 174 |
+
scene002,multi_object_ego,ego,ego,172,00172.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 175 |
+
scene002,multi_object_ego,ego,ego,173,00173.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 176 |
+
scene002,multi_object_ego,ego,ego,174,00174.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 177 |
+
scene002,multi_object_ego,ego,ego,175,00175.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 178 |
+
scene002,multi_object_ego,ego,ego,176,00176.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 179 |
+
scene002,multi_object_ego,ego,ego,177,00177.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 180 |
+
scene002,multi_object_ego,ego,ego,178,00178.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 181 |
+
scene002,multi_object_ego,ego,ego,179,00179.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 182 |
+
scene002,multi_object_ego,ego,ego,180,00180.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 183 |
+
scene002,multi_object_ego,ego,ego,181,00181.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 184 |
+
scene002,multi_object_ego,ego,ego,182,00182.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 185 |
+
scene002,multi_object_ego,ego,ego,183,00183.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 186 |
+
scene002,multi_object_ego,ego,ego,184,00184.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 187 |
+
scene002,multi_object_ego,ego,ego,185,00185.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 188 |
+
scene002,multi_object_ego,ego,ego,186,00186.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 189 |
+
scene002,multi_object_ego,ego,ego,187,00187.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 190 |
+
scene002,multi_object_ego,ego,ego,188,00188.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 191 |
+
scene002,multi_object_ego,ego,ego,189,00189.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 192 |
+
scene002,multi_object_ego,ego,ego,190,00190.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 193 |
+
scene002,multi_object_ego,ego,ego,191,00191.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 194 |
+
scene002,multi_object_ego,ego,ego,192,00192.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 195 |
+
scene002,multi_object_ego,ego,ego,193,00193.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 196 |
+
scene002,multi_object_ego,ego,ego,194,00194.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 197 |
+
scene002,multi_object_ego,ego,ego,195,00195.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 198 |
+
scene002,multi_object_ego,ego,ego,196,00196.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 199 |
+
scene002,multi_object_ego,ego,ego,197,00197.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 200 |
+
scene002,multi_object_ego,ego,ego,198,00198.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 201 |
+
scene002,multi_object_ego,ego,ego,199,00199.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 202 |
+
scene002,multi_object_ego,ego,ego,200,00200.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 203 |
+
scene002,multi_object_ego,ego,ego,201,00201.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 204 |
+
scene002,multi_object_ego,ego,ego,202,00202.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 205 |
+
scene002,multi_object_ego,ego,ego,203,00203.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 206 |
+
scene002,multi_object_ego,ego,ego,204,00204.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 207 |
+
scene002,multi_object_ego,ego,ego,205,00205.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 208 |
+
scene002,multi_object_ego,ego,ego,206,00206.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 209 |
+
scene002,multi_object_ego,ego,ego,207,00207.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 210 |
+
scene002,multi_object_ego,ego,ego,208,00208.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 211 |
+
scene002,multi_object_ego,ego,ego,209,00209.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 212 |
+
scene002,multi_object_ego,ego,ego,210,00210.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 213 |
+
scene002,multi_object_ego,ego,ego,211,00211.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 214 |
+
scene002,multi_object_ego,ego,ego,212,00212.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 215 |
+
scene002,multi_object_ego,ego,ego,213,00213.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 216 |
+
scene002,multi_object_ego,ego,ego,214,00214.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 217 |
+
scene002,multi_object_ego,ego,ego,215,00215.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 218 |
+
scene002,multi_object_ego,ego,ego,216,00216.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 219 |
+
scene002,multi_object_ego,ego,ego,217,00217.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 220 |
+
scene002,multi_object_ego,ego,ego,218,00218.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 221 |
+
scene002,multi_object_ego,ego,ego,219,00219.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 222 |
+
scene002,multi_object_ego,ego,ego,220,00220.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 223 |
+
scene002,multi_object_ego,ego,ego,221,00221.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 224 |
+
scene002,multi_object_ego,ego,ego,222,00222.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 225 |
+
scene002,multi_object_ego,ego,ego,223,00223.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 226 |
+
scene002,multi_object_ego,ego,ego,224,00224.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 227 |
+
scene002,multi_object_ego,ego,ego,225,00225.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 228 |
+
scene002,multi_object_ego,ego,ego,226,00226.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 229 |
+
scene002,multi_object_ego,ego,ego,227,00227.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 230 |
+
scene002,multi_object_ego,ego,ego,228,00228.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 231 |
+
scene002,multi_object_ego,ego,ego,229,00229.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 232 |
+
scene002,multi_object_ego,ego,ego,230,00230.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 233 |
+
scene002,multi_object_ego,ego,ego,231,00231.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 234 |
+
scene002,multi_object_ego,ego,ego,232,00232.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 235 |
+
scene002,multi_object_ego,ego,ego,233,00233.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 236 |
+
scene002,multi_object_ego,ego,ego,234,00234.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 237 |
+
scene002,multi_object_ego,ego,ego,235,00235.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 238 |
+
scene002,multi_object_ego,ego,ego,236,00236.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 239 |
+
scene002,multi_object_ego,ego,ego,237,00237.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 240 |
+
scene002,multi_object_ego,ego,ego,238,00238.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 241 |
+
scene002,multi_object_ego,ego,ego,239,00239.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 242 |
+
scene002,multi_object_ego,ego,ego,240,00240.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 243 |
+
scene002,multi_object_ego,ego,ego,241,00241.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 244 |
+
scene002,multi_object_ego,ego,ego,242,00242.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 245 |
+
scene002,multi_object_ego,ego,ego,243,00243.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 246 |
+
scene002,multi_object_ego,ego,ego,244,00244.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 247 |
+
scene002,multi_object_ego,ego,ego,245,00245.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 248 |
+
scene002,multi_object_ego,ego,ego,246,00246.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 249 |
+
scene002,multi_object_ego,ego,ego,247,00247.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 250 |
+
scene002,multi_object_ego,ego,ego,248,00248.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 251 |
+
scene002,multi_object_ego,ego,ego,249,00249.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
| 252 |
+
scene002,multi_object_ego,ego,ego,250,00250.png,ego,True,True,True,True,True,True,True,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar
|
manifest/ego_frames_v1.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e24c3d1cf171cb266d3ca6fd0b33f33e535cff477c40f49145767a8168430e0
|
| 3 |
+
size 9292
|
manifest/frames_v2.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8549d200c2d64bf9943f8e97380f265243b33e3dc2521e99d64273f1f718c62c
|
| 3 |
+
size 88949
|
manifest/mos_ego_mask_object_map_v1.csv
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
scene_id,view,capture_id,local_mask_id,object_id,global_object_id,source_catalog_id,object_name,class_name,questionnaire_path,sos_path,sos_data_path,mask_source
|
| 2 |
+
scene002,ego,ego,1,mug.2,45,88.2,mug,mug,objects_meta/mug.2/questionnaire.json,objects/mug.2/,objects/mug.2/,scenes/scene002/ego/labels/sam2_meta/v1.tar:sam2/mask_to_object.json
|
| 3 |
+
scene002,ego,ego,2,mustard_bottle.3,46,89.3,mustard_bottle,mustard_bottle,objects_meta/mustard_bottle.3/questionnaire.json,objects/mustard_bottle.3/,objects/mustard_bottle.3/,scenes/scene002/ego/labels/sam2_meta/v1.tar:sam2/mask_to_object.json
|
| 4 |
+
scene002,ego,ego,3,cleaning_brush,15,34,cleaning_brush,cleaning_brush,objects_meta/cleaning_brush/questionnaire.json,objects/cleaning_brush/,objects/cleaning_brush/,scenes/scene002/ego/labels/sam2_meta/v1.tar:sam2/mask_to_object.json
|
| 5 |
+
scene002,ego,ego,4,game_controller,23,55,game_controller,game_controller,objects_meta/game_controller/questionnaire.json,objects/game_controller/,objects/game_controller/,scenes/scene002/ego/labels/sam2_meta/v1.tar:sam2/mask_to_object.json
|
| 6 |
+
scene002,ego,ego,5,hammer.2,27,63.2,hammer,hammer,objects_meta/hammer.2/questionnaire.json,objects/hammer.2/,objects/hammer.2/,scenes/scene002/ego/labels/sam2_meta/v1.tar:sam2/mask_to_object.json
|
| 7 |
+
scene002,ego,ego,6,water_bottle.2,70,148.2,water_bottle,water_bottle,objects_meta/water_bottle.2/questionnaire.json,objects/water_bottle.2/,objects/water_bottle.2/,scenes/scene002/ego/labels/sam2_meta/v1.tar:sam2/mask_to_object.json
|
| 8 |
+
scene002,ego,ego,7,remote_controller,52,107,remote_controller,remote_controller,objects_meta/remote_controller/questionnaire.json,objects/remote_controller/,objects/remote_controller/,scenes/scene002/ego/labels/sam2_meta/v1.tar:sam2/mask_to_object.json
|
manifest/mos_ego_mask_object_map_v1.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1167832ac5d074c16576dd863cc1c0220b8c852f738f16071f5a68b6c5aef393
|
| 3 |
+
size 5163
|
preview/ego_preview.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
scene_id,view,capture_id,frame_count,preview_frame_index,image_preview_url,source_rgb_shard,source_depth_shard,source_fisheye_shard,source_cam_pose_shard,source_mask_shard,source_mask_aux_shard,source_sam2_meta_shard,caption
|
| 2 |
+
scene002,ego,ego,251,125,https://huggingface.co/datasets/IRVLUTD/RPX/resolve/main/preview/image_examples/ego_preview/images/rpx_ego_scene002.jpg,scenes/scene002/ego/rgb.tar,scenes/scene002/ego/depth.tar,scenes/scene002/ego/fisheye.tar,scenes/scene002/ego/labels/cam_pose/v1.tar,scenes/scene002/ego/labels/masks/v1.tar,scenes/scene002/ego/labels/masks_aux/v1.tar,scenes/scene002/ego/labels/sam2_meta/v1.tar,Egocentric RGB-D/mask preview for scene002 (251 frames).
|
preview/ego_preview.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8357c93f62448df6b6c20c59971146207f2161ae6fee95aab0a5fc53c4a4b232
|
| 3 |
+
size 76226
|
preview/mos_phase_preview.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
preview/mos_phase_preview.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6fca594aa8fb5dd8836d19d3eca3b93d4983d012690ea3cb1d1b4a2524ca29a
|
| 3 |
+
size 44204514
|
rerun_check/README.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# RPX Rerun Visual Checks
|
| 2 |
+
|
| 3 |
+
This folder contains visual and structural QA helpers for the RPX release.
|
| 4 |
+
|
| 5 |
+
## Quick RGB-D Segmentation Check
|
| 6 |
+
|
| 7 |
+
`make_rerun_check.py` samples one representative middle frame from every scene phase in `preview/data_studio_preview.csv`.
|
| 8 |
+
By default that is all 300 MOS entries: 100 scenes x 3 phases.
|
| 9 |
+
|
| 10 |
+
It verifies:
|
| 11 |
+
|
| 12 |
+
- RGB, depth, and mask shards exist.
|
| 13 |
+
- RGB/depth/mask frame counts match.
|
| 14 |
+
- RGB/depth/mask image sizes match.
|
| 15 |
+
- Depth has nonzero values.
|
| 16 |
+
- Masks contain foreground instance IDs.
|
| 17 |
+
|
| 18 |
+
It writes:
|
| 19 |
+
|
| 20 |
+
- `out/rpx_visual_check.rrd`: Rerun recording for interactive visual review.
|
| 21 |
+
- `out/rpx_visual_contact_sheet.jpg`: contact sheet for a quick scan.
|
| 22 |
+
- `out/visual_check_report.json`: machine-readable QA report.
|
| 23 |
+
|
| 24 |
+
This is useful for a fast Data Studio / segmentation preview sanity check, but it is not the full release check.
|
| 25 |
+
|
| 26 |
+
## Full All-Modality Release Check
|
| 27 |
+
|
| 28 |
+
`check_all_modalities.py` checks the dataset contract across MOS and SOS:
|
| 29 |
+
|
| 30 |
+
- 300 MOS scene-phases and 70 SOS selected objects.
|
| 31 |
+
- RGB, depth, masks, fisheye left/right, camera pose, masks_aux, and SAM2 metadata shards.
|
| 32 |
+
- Frame-count alignment and numbered filename sequences.
|
| 33 |
+
- Decoded image samples from each visual stream.
|
| 34 |
+
- Camera pose NPZ fields, finite values, and quaternion norms.
|
| 35 |
+
- MOS mask-object joins against `manifest/mos_mask_object_map_v1.csv`.
|
| 36 |
+
- SOS object metadata and questionnaires.
|
| 37 |
+
- ESD split consistency, Data Studio preview images, release assets, and parquet row counts.
|
| 38 |
+
|
| 39 |
+
By default it decodes first/middle/last frames for every aligned stream. Use `--sample-policy all` only when you want a much slower exhaustive decode pass.
|
| 40 |
+
|
| 41 |
+
It writes:
|
| 42 |
+
|
| 43 |
+
- `out_all/rpx_all_modalities_visual_check.rrd`: Rerun recording for scanning each scene/object unit.
|
| 44 |
+
- `out_all/all_modalities_contact_sheet.jpg`: RGB/depth/mask/fisheye overview for all checked units.
|
| 45 |
+
- `out_all/all_modalities_report.json`: machine-readable QA report.
|
| 46 |
+
- `out_all/all_modalities_summary.md`: short human-readable summary.
|
| 47 |
+
|
| 48 |
+
## Install
|
| 49 |
+
|
| 50 |
+
From the repo root:
|
| 51 |
+
|
| 52 |
+
```bash
|
| 53 |
+
python -m venv /tmp/rpx-rerun-venv
|
| 54 |
+
/tmp/rpx-rerun-venv/bin/pip install -r rerun_check/requirements.txt
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
If starting from a fresh machine, first use the published RPX Quick Start API:
|
| 58 |
+
|
| 59 |
+
```bash
|
| 60 |
+
pip install "rpx-benchmark[hub]"
|
| 61 |
+
hf auth login
|
| 62 |
+
python rerun_check/download_rgbd_segmentation.py --repo-id IRVLUTD/RPX
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
## Run
|
| 66 |
+
|
| 67 |
+
From the repo root:
|
| 68 |
+
|
| 69 |
+
```bash
|
| 70 |
+
/tmp/rpx-rerun-venv/bin/python rerun_check/make_rerun_check.py
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
Run the full all-modality release check:
|
| 74 |
+
|
| 75 |
+
```bash
|
| 76 |
+
/tmp/rpx-rerun-venv/bin/python rerun_check/check_all_modalities.py
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
Open the Rerun recording:
|
| 80 |
+
|
| 81 |
+
```bash
|
| 82 |
+
/tmp/rpx-rerun-venv/bin/rerun rerun_check/out/rpx_visual_check.rrd
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
Open the full all-modality Rerun recording:
|
| 86 |
+
|
| 87 |
+
```bash
|
| 88 |
+
/tmp/rpx-rerun-venv/bin/rerun rerun_check/out_all/rpx_all_modalities_visual_check.rrd
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
For a smaller smoke test:
|
| 92 |
+
|
| 93 |
+
```bash
|
| 94 |
+
/tmp/rpx-rerun-venv/bin/python rerun_check/make_rerun_check.py --limit 10
|
| 95 |
+
/tmp/rpx-rerun-venv/bin/python rerun_check/check_all_modalities.py --limit 10
|
| 96 |
+
```
|
rerun_check/check_all_modalities.py
ADDED
|
@@ -0,0 +1,1451 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Full RPX release QA across modalities, labels, manifests, and previews.
|
| 3 |
+
|
| 4 |
+
This is the broader companion to make_rerun_check.py. It validates all MOS
|
| 5 |
+
scene-phases and all selected SOS objects, not only RGB-D segmentation.
|
| 6 |
+
"""
|
| 7 |
+
|
| 8 |
+
from __future__ import annotations
|
| 9 |
+
|
| 10 |
+
import argparse
|
| 11 |
+
import csv
|
| 12 |
+
import io
|
| 13 |
+
import json
|
| 14 |
+
import math
|
| 15 |
+
import tarfile
|
| 16 |
+
from collections import Counter, defaultdict
|
| 17 |
+
from dataclasses import dataclass
|
| 18 |
+
from pathlib import Path
|
| 19 |
+
from typing import Any, Iterable
|
| 20 |
+
|
| 21 |
+
import numpy as np
|
| 22 |
+
from PIL import Image, ImageDraw, ImageFont
|
| 23 |
+
from tqdm import tqdm
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
MOS_EXPECTED_FRAMES = 250
|
| 27 |
+
SOS_EXPECTED_FRAMES = 500
|
| 28 |
+
RGBD_SIZE = (640, 480)
|
| 29 |
+
FISHEYE_SIZE = (848, 800)
|
| 30 |
+
LABEL_VERSION = "v1"
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
@dataclass(frozen=True)
|
| 34 |
+
class Unit:
|
| 35 |
+
kind: str
|
| 36 |
+
unit_id: str
|
| 37 |
+
root: Path
|
| 38 |
+
expected_frames: int
|
| 39 |
+
view: str | None = None
|
| 40 |
+
scene_id: str | None = None
|
| 41 |
+
phase_index: int | None = None
|
| 42 |
+
phase_name: str | None = None
|
| 43 |
+
difficulty: str | None = None
|
| 44 |
+
object_id: str | None = None
|
| 45 |
+
global_object_id: int | None = None
|
| 46 |
+
object_name: str | None = None
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
def parse_args() -> argparse.Namespace:
|
| 50 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 51 |
+
parser.add_argument(
|
| 52 |
+
"--repo-root",
|
| 53 |
+
type=Path,
|
| 54 |
+
default=Path(__file__).resolve().parents[1],
|
| 55 |
+
help="RPX dataset repository root or downloaded local_dir.",
|
| 56 |
+
)
|
| 57 |
+
parser.add_argument("--out-dir", type=Path, default=Path("rerun_check/out_all"))
|
| 58 |
+
parser.add_argument(
|
| 59 |
+
"--sample-policy",
|
| 60 |
+
choices=["middle", "endpoints", "all"],
|
| 61 |
+
default="endpoints",
|
| 62 |
+
help=(
|
| 63 |
+
"Frames to decode inside each stream. 'endpoints' means first/middle/last. "
|
| 64 |
+
"'all' is exhaustive but can take a long time."
|
| 65 |
+
),
|
| 66 |
+
)
|
| 67 |
+
parser.add_argument("--limit", type=int, default=None)
|
| 68 |
+
parser.add_argument(
|
| 69 |
+
"--kinds",
|
| 70 |
+
default="mos,sos",
|
| 71 |
+
help="Comma-separated unit kinds to check: mos, sos, or both.",
|
| 72 |
+
)
|
| 73 |
+
parser.add_argument("--image-width", type=int, default=360)
|
| 74 |
+
parser.add_argument("--contact-thumb-width", type=int, default=140)
|
| 75 |
+
parser.add_argument("--contact-cols", type=int, default=3)
|
| 76 |
+
parser.add_argument("--skip-contact-sheet", action="store_true")
|
| 77 |
+
parser.add_argument("--skip-rerun", action="store_true")
|
| 78 |
+
parser.add_argument("--fail-on-warnings", action="store_true")
|
| 79 |
+
return parser.parse_args()
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
def repo_path(repo_root: Path, value: str | Path) -> Path:
|
| 83 |
+
path = Path(value)
|
| 84 |
+
return path if path.is_absolute() else repo_root / path
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
def read_csv_rows(path: Path) -> list[dict[str, str]]:
|
| 88 |
+
with path.open(newline="", encoding="utf-8") as handle:
|
| 89 |
+
return list(csv.DictReader(handle))
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
def load_json(path: Path) -> Any:
|
| 93 |
+
return json.loads(path.read_text(encoding="utf-8"))
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
def as_rel(path: Path, repo_root: Path) -> str:
|
| 97 |
+
try:
|
| 98 |
+
return str(path.relative_to(repo_root))
|
| 99 |
+
except ValueError:
|
| 100 |
+
return str(path)
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
def tar_file_names(path: Path, errors: list[str]) -> list[str]:
|
| 104 |
+
if not path.exists():
|
| 105 |
+
errors.append(f"missing shard: {path}")
|
| 106 |
+
return []
|
| 107 |
+
try:
|
| 108 |
+
with tarfile.open(path) as tar:
|
| 109 |
+
return sorted(member.name for member in tar.getmembers() if member.isfile())
|
| 110 |
+
except (tarfile.TarError, OSError) as exc:
|
| 111 |
+
errors.append(f"unreadable tar {path}: {exc}")
|
| 112 |
+
return []
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
def names_with_prefix(names: Iterable[str], prefix: str, suffix: str) -> list[str]:
|
| 116 |
+
needle = prefix.rstrip("/") + "/"
|
| 117 |
+
suffix_lower = suffix.lower()
|
| 118 |
+
return sorted(
|
| 119 |
+
name
|
| 120 |
+
for name in names
|
| 121 |
+
if name.startswith(needle) and name.lower().endswith(suffix_lower)
|
| 122 |
+
)
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
def frame_indices_for_count(count: int, policy: str) -> list[int]:
|
| 126 |
+
if count <= 0:
|
| 127 |
+
return []
|
| 128 |
+
if policy == "all":
|
| 129 |
+
return list(range(count))
|
| 130 |
+
if policy == "middle":
|
| 131 |
+
return [count // 2]
|
| 132 |
+
return sorted({0, count // 2, count - 1})
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
def pick_names(names: list[str], policy: str) -> list[str]:
|
| 136 |
+
return [names[index] for index in frame_indices_for_count(len(names), policy)]
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
def count_tar_pngs(path: Path, prefix: str) -> int:
|
| 140 |
+
if not path.exists():
|
| 141 |
+
return 0
|
| 142 |
+
try:
|
| 143 |
+
with tarfile.open(path) as tar:
|
| 144 |
+
return len(
|
| 145 |
+
[
|
| 146 |
+
member
|
| 147 |
+
for member in tar.getmembers()
|
| 148 |
+
if member.isfile()
|
| 149 |
+
and member.name.startswith(prefix.rstrip("/") + "/")
|
| 150 |
+
and member.name.lower().endswith(".png")
|
| 151 |
+
]
|
| 152 |
+
)
|
| 153 |
+
except (tarfile.TarError, OSError):
|
| 154 |
+
return 0
|
| 155 |
+
|
| 156 |
+
|
| 157 |
+
def numbered_sequence_summary(
|
| 158 |
+
names: list[str],
|
| 159 |
+
prefix: str,
|
| 160 |
+
suffix: str,
|
| 161 |
+
expected_count: int,
|
| 162 |
+
errors: list[str],
|
| 163 |
+
label: str,
|
| 164 |
+
) -> dict[str, Any]:
|
| 165 |
+
indices: list[int] = []
|
| 166 |
+
malformed: list[str] = []
|
| 167 |
+
prefix = prefix.rstrip("/") + "/"
|
| 168 |
+
for name in names:
|
| 169 |
+
rel = name[len(prefix) :] if name.startswith(prefix) else name
|
| 170 |
+
if "/" in rel:
|
| 171 |
+
malformed.append(name)
|
| 172 |
+
continue
|
| 173 |
+
if not rel.lower().endswith(suffix.lower()):
|
| 174 |
+
malformed.append(name)
|
| 175 |
+
continue
|
| 176 |
+
stem = rel[: -len(suffix)]
|
| 177 |
+
if not stem.isdigit():
|
| 178 |
+
malformed.append(name)
|
| 179 |
+
continue
|
| 180 |
+
indices.append(int(stem))
|
| 181 |
+
|
| 182 |
+
count = len(indices)
|
| 183 |
+
if count != expected_count:
|
| 184 |
+
errors.append(f"{label} count {count}, expected {expected_count}")
|
| 185 |
+
expected = set(range(expected_count))
|
| 186 |
+
actual = set(indices)
|
| 187 |
+
missing = sorted(expected - actual)
|
| 188 |
+
extra = sorted(actual - expected)
|
| 189 |
+
duplicate_count = count - len(actual)
|
| 190 |
+
if malformed:
|
| 191 |
+
errors.append(f"{label} has malformed names, first examples: {malformed[:5]}")
|
| 192 |
+
if missing:
|
| 193 |
+
errors.append(f"{label} missing frame ids, first examples: {missing[:10]}")
|
| 194 |
+
if extra:
|
| 195 |
+
errors.append(f"{label} has unexpected frame ids, first examples: {extra[:10]}")
|
| 196 |
+
if duplicate_count:
|
| 197 |
+
errors.append(f"{label} has {duplicate_count} duplicate frame ids")
|
| 198 |
+
|
| 199 |
+
return {
|
| 200 |
+
"count": count,
|
| 201 |
+
"first": min(indices) if indices else None,
|
| 202 |
+
"last": max(indices) if indices else None,
|
| 203 |
+
"missing_count": len(missing),
|
| 204 |
+
"extra_count": len(extra),
|
| 205 |
+
"duplicate_count": duplicate_count,
|
| 206 |
+
"malformed_count": len(malformed),
|
| 207 |
+
}
|
| 208 |
+
|
| 209 |
+
|
| 210 |
+
def image_to_stats(image: Image.Image) -> dict[str, Any]:
|
| 211 |
+
arr = np.asarray(image)
|
| 212 |
+
stats: dict[str, Any] = {
|
| 213 |
+
"mode": image.mode,
|
| 214 |
+
"size": list(image.size),
|
| 215 |
+
"dtype": str(arr.dtype),
|
| 216 |
+
}
|
| 217 |
+
if arr.size:
|
| 218 |
+
stats.update(
|
| 219 |
+
{
|
| 220 |
+
"min": float(np.min(arr)),
|
| 221 |
+
"max": float(np.max(arr)),
|
| 222 |
+
"mean": float(np.mean(arr)),
|
| 223 |
+
"std": float(np.std(arr)),
|
| 224 |
+
"nonzero_fraction": float(np.count_nonzero(arr) / arr.size),
|
| 225 |
+
}
|
| 226 |
+
)
|
| 227 |
+
return stats
|
| 228 |
+
|
| 229 |
+
|
| 230 |
+
def decode_images(
|
| 231 |
+
path: Path,
|
| 232 |
+
sample_names: list[str],
|
| 233 |
+
errors: list[str],
|
| 234 |
+
warnings: list[str],
|
| 235 |
+
label: str,
|
| 236 |
+
expected_size: tuple[int, int] | None = None,
|
| 237 |
+
require_nonzero: bool = False,
|
| 238 |
+
) -> tuple[list[dict[str, Any]], dict[str, Image.Image]]:
|
| 239 |
+
stats: list[dict[str, Any]] = []
|
| 240 |
+
images: dict[str, Image.Image] = {}
|
| 241 |
+
if not sample_names:
|
| 242 |
+
return stats, images
|
| 243 |
+
try:
|
| 244 |
+
with tarfile.open(path) as tar:
|
| 245 |
+
for name in sample_names:
|
| 246 |
+
try:
|
| 247 |
+
extracted = tar.extractfile(name)
|
| 248 |
+
if extracted is None:
|
| 249 |
+
errors.append(f"{label}: could not extract {name}")
|
| 250 |
+
continue
|
| 251 |
+
image = Image.open(extracted).copy()
|
| 252 |
+
except Exception as exc: # PIL raises several exception types.
|
| 253 |
+
errors.append(f"{label}: could not decode {name}: {exc}")
|
| 254 |
+
continue
|
| 255 |
+
|
| 256 |
+
item = {"name": name, **image_to_stats(image)}
|
| 257 |
+
if expected_size is not None and image.size != expected_size:
|
| 258 |
+
errors.append(
|
| 259 |
+
f"{label}: {name} size {image.size}, expected {expected_size}"
|
| 260 |
+
)
|
| 261 |
+
if require_nonzero and item.get("nonzero_fraction", 0.0) <= 0:
|
| 262 |
+
warnings.append(f"{label}: {name} has no nonzero pixels")
|
| 263 |
+
if item.get("std", 0.0) <= 0:
|
| 264 |
+
warnings.append(f"{label}: {name} has zero image variance")
|
| 265 |
+
stats.append(item)
|
| 266 |
+
images[name] = image
|
| 267 |
+
except (tarfile.TarError, OSError) as exc:
|
| 268 |
+
errors.append(f"{label}: could not reopen {path}: {exc}")
|
| 269 |
+
return stats, images
|
| 270 |
+
|
| 271 |
+
|
| 272 |
+
def decode_npz_samples(
|
| 273 |
+
path: Path,
|
| 274 |
+
sample_names: list[str],
|
| 275 |
+
errors: list[str],
|
| 276 |
+
warnings: list[str],
|
| 277 |
+
label: str,
|
| 278 |
+
) -> list[dict[str, Any]]:
|
| 279 |
+
stats: list[dict[str, Any]] = []
|
| 280 |
+
if not sample_names:
|
| 281 |
+
return stats
|
| 282 |
+
try:
|
| 283 |
+
with tarfile.open(path) as tar:
|
| 284 |
+
for name in sample_names:
|
| 285 |
+
try:
|
| 286 |
+
extracted = tar.extractfile(name)
|
| 287 |
+
if extracted is None:
|
| 288 |
+
errors.append(f"{label}: could not extract {name}")
|
| 289 |
+
continue
|
| 290 |
+
arrays = np.load(io.BytesIO(extracted.read()))
|
| 291 |
+
except Exception as exc:
|
| 292 |
+
errors.append(f"{label}: could not load {name}: {exc}")
|
| 293 |
+
continue
|
| 294 |
+
|
| 295 |
+
item: dict[str, Any] = {"name": name, "fields": sorted(arrays.files)}
|
| 296 |
+
if sorted(arrays.files) != ["orientation", "position"]:
|
| 297 |
+
errors.append(f"{label}: {name} fields {arrays.files}")
|
| 298 |
+
for field, shape in [("position", (3,)), ("orientation", (4,))]:
|
| 299 |
+
if field not in arrays:
|
| 300 |
+
continue
|
| 301 |
+
arr = np.asarray(arrays[field])
|
| 302 |
+
item[field] = {
|
| 303 |
+
"shape": list(arr.shape),
|
| 304 |
+
"dtype": str(arr.dtype),
|
| 305 |
+
"finite": bool(np.isfinite(arr).all()),
|
| 306 |
+
"norm": float(np.linalg.norm(arr)),
|
| 307 |
+
}
|
| 308 |
+
if arr.shape != shape:
|
| 309 |
+
errors.append(f"{label}: {name} {field} shape {arr.shape}")
|
| 310 |
+
if not np.isfinite(arr).all():
|
| 311 |
+
errors.append(f"{label}: {name} {field} contains non-finite values")
|
| 312 |
+
if "orientation" in item:
|
| 313 |
+
norm = item["orientation"]["norm"]
|
| 314 |
+
if not math.isclose(norm, 1.0, rel_tol=0.02, abs_tol=0.02):
|
| 315 |
+
warnings.append(f"{label}: {name} quaternion norm is {norm:.4f}")
|
| 316 |
+
stats.append(item)
|
| 317 |
+
except (tarfile.TarError, OSError) as exc:
|
| 318 |
+
errors.append(f"{label}: could not reopen {path}: {exc}")
|
| 319 |
+
return stats
|
| 320 |
+
|
| 321 |
+
|
| 322 |
+
def read_tar_text(tar: tarfile.TarFile, name: str) -> str:
|
| 323 |
+
extracted = tar.extractfile(name)
|
| 324 |
+
if extracted is None:
|
| 325 |
+
raise ValueError(f"could not extract {name}")
|
| 326 |
+
return extracted.read().decode("utf-8", errors="replace")
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
def read_tar_json(tar: tarfile.TarFile, name: str) -> Any:
|
| 330 |
+
return json.loads(read_tar_text(tar, name))
|
| 331 |
+
|
| 332 |
+
|
| 333 |
+
def depth_to_uint8(depth: Image.Image) -> Image.Image:
|
| 334 |
+
arr = np.asarray(depth).astype(np.float32)
|
| 335 |
+
valid = arr > 0
|
| 336 |
+
if not valid.any():
|
| 337 |
+
return Image.fromarray(np.zeros(arr.shape, dtype=np.uint8), mode="L")
|
| 338 |
+
lo, hi = np.percentile(arr[valid], [2, 98])
|
| 339 |
+
if hi <= lo:
|
| 340 |
+
hi = lo + 1
|
| 341 |
+
norm = np.clip((arr - lo) / (hi - lo), 0, 1)
|
| 342 |
+
norm[~valid] = 0
|
| 343 |
+
return Image.fromarray((norm * 255).astype(np.uint8), mode="L")
|
| 344 |
+
|
| 345 |
+
|
| 346 |
+
def colorize_mask(mask: Image.Image) -> Image.Image:
|
| 347 |
+
arr = np.asarray(mask)
|
| 348 |
+
if arr.ndim == 3:
|
| 349 |
+
return mask.convert("RGB")
|
| 350 |
+
rgb = np.zeros((*arr.shape, 3), dtype=np.uint8)
|
| 351 |
+
palette = np.asarray(
|
| 352 |
+
[
|
| 353 |
+
[244, 103, 83],
|
| 354 |
+
[79, 210, 154],
|
| 355 |
+
[255, 184, 77],
|
| 356 |
+
[180, 101, 255],
|
| 357 |
+
[64, 182, 255],
|
| 358 |
+
[255, 99, 179],
|
| 359 |
+
[141, 224, 83],
|
| 360 |
+
[255, 226, 102],
|
| 361 |
+
[102, 232, 232],
|
| 362 |
+
[231, 91, 116],
|
| 363 |
+
[161, 135, 255],
|
| 364 |
+
[76, 217, 100],
|
| 365 |
+
],
|
| 366 |
+
dtype=np.uint8,
|
| 367 |
+
)
|
| 368 |
+
for value in np.unique(arr):
|
| 369 |
+
if value == 0:
|
| 370 |
+
continue
|
| 371 |
+
rgb[arr == value] = palette[(int(value) - 1) % len(palette)]
|
| 372 |
+
return Image.fromarray(rgb, mode="RGB")
|
| 373 |
+
|
| 374 |
+
|
| 375 |
+
def fit_image(image: Image.Image, box: tuple[int, int], *, nearest: bool = False) -> Image.Image:
|
| 376 |
+
image = image.convert("RGB")
|
| 377 |
+
max_w, max_h = box
|
| 378 |
+
scale = min(max_w / image.width, max_h / image.height)
|
| 379 |
+
size = (max(1, round(image.width * scale)), max(1, round(image.height * scale)))
|
| 380 |
+
method = Image.Resampling.NEAREST if nearest else Image.Resampling.LANCZOS
|
| 381 |
+
resized = image.resize(size, method)
|
| 382 |
+
canvas = Image.new("RGB", box, (16, 18, 22))
|
| 383 |
+
canvas.paste(resized, ((max_w - size[0]) // 2, (max_h - size[1]) // 2))
|
| 384 |
+
return canvas
|
| 385 |
+
|
| 386 |
+
|
| 387 |
+
def load_font(size: int) -> ImageFont.ImageFont:
|
| 388 |
+
for name in ("Times New Roman.ttf", "Times_New_Roman.ttf", "LiberationSerif-Regular.ttf"):
|
| 389 |
+
try:
|
| 390 |
+
return ImageFont.truetype(name, size)
|
| 391 |
+
except OSError:
|
| 392 |
+
pass
|
| 393 |
+
return ImageFont.load_default()
|
| 394 |
+
|
| 395 |
+
|
| 396 |
+
def make_unit_tile(
|
| 397 |
+
unit: Unit,
|
| 398 |
+
result: dict[str, Any],
|
| 399 |
+
viz: dict[str, Image.Image],
|
| 400 |
+
thumb_width: int,
|
| 401 |
+
) -> Image.Image:
|
| 402 |
+
panel_h = max(90, round(thumb_width * 0.72))
|
| 403 |
+
label_h = 38
|
| 404 |
+
panel_names = ["rgb", "depth", "mask", "fisheye_left", "fisheye_right"]
|
| 405 |
+
tile = Image.new("RGB", (thumb_width * len(panel_names), panel_h + label_h), (13, 17, 23))
|
| 406 |
+
draw = ImageDraw.Draw(tile)
|
| 407 |
+
font = load_font(13)
|
| 408 |
+
small_font = load_font(11)
|
| 409 |
+
|
| 410 |
+
for i, name in enumerate(panel_names):
|
| 411 |
+
image = viz.get(name)
|
| 412 |
+
x = i * thumb_width
|
| 413 |
+
if image is None:
|
| 414 |
+
panel = Image.new("RGB", (thumb_width, panel_h), (38, 42, 49))
|
| 415 |
+
ImageDraw.Draw(panel).text((8, 8), "missing", fill=(230, 230, 230), font=small_font)
|
| 416 |
+
else:
|
| 417 |
+
nearest = name in {"depth", "mask"}
|
| 418 |
+
panel = fit_image(image, (thumb_width, panel_h), nearest=nearest)
|
| 419 |
+
tile.paste(panel, (x, 0))
|
| 420 |
+
draw.text((x + 5, panel_h - 16), name.replace("_", " "), fill=(235, 235, 235), font=small_font)
|
| 421 |
+
|
| 422 |
+
status = result["status"].upper()
|
| 423 |
+
label = unit.unit_id
|
| 424 |
+
if unit.kind == "mos":
|
| 425 |
+
label += f" {unit.difficulty or ''}"
|
| 426 |
+
elif unit.kind == "ego":
|
| 427 |
+
label += " ego"
|
| 428 |
+
else:
|
| 429 |
+
label += f" gid={unit.global_object_id}"
|
| 430 |
+
status_color = (83, 210, 154) if result["status"] == "ok" else (255, 184, 77)
|
| 431 |
+
if result["status"] == "error":
|
| 432 |
+
status_color = (244, 103, 83)
|
| 433 |
+
draw.rectangle((0, panel_h, tile.width, tile.height), fill=(245, 245, 242))
|
| 434 |
+
draw.text((7, panel_h + 5), label[:62], fill=(20, 24, 30), font=font)
|
| 435 |
+
draw.text((7, panel_h + 21), status, fill=status_color, font=small_font)
|
| 436 |
+
if result["errors"] or result["warnings"]:
|
| 437 |
+
msg = (result["errors"] or result["warnings"])[0]
|
| 438 |
+
draw.text((70, panel_h + 21), msg[:82], fill=(60, 64, 72), font=small_font)
|
| 439 |
+
return tile
|
| 440 |
+
|
| 441 |
+
|
| 442 |
+
def make_contact_sheet(tiles: list[Image.Image], out_path: Path, cols: int) -> None:
|
| 443 |
+
if not tiles:
|
| 444 |
+
return
|
| 445 |
+
cols = max(1, cols)
|
| 446 |
+
tile_w, tile_h = tiles[0].size
|
| 447 |
+
rows = (len(tiles) + cols - 1) // cols
|
| 448 |
+
sheet = Image.new("RGB", (cols * tile_w, rows * tile_h), (245, 245, 242))
|
| 449 |
+
for index, tile in enumerate(tiles):
|
| 450 |
+
x = (index % cols) * tile_w
|
| 451 |
+
y = (index // cols) * tile_h
|
| 452 |
+
sheet.paste(tile, (x, y))
|
| 453 |
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 454 |
+
sheet.save(out_path, quality=88)
|
| 455 |
+
|
| 456 |
+
|
| 457 |
+
def open_rerun(rrd_path: Path):
|
| 458 |
+
import rerun as rr
|
| 459 |
+
|
| 460 |
+
rr.init("rpx_all_modalities_visual_check", spawn=False)
|
| 461 |
+
rr.save(str(rrd_path))
|
| 462 |
+
return rr
|
| 463 |
+
|
| 464 |
+
|
| 465 |
+
def set_rerun_time(rr, index: int) -> None:
|
| 466 |
+
if hasattr(rr, "set_time_sequence"):
|
| 467 |
+
rr.set_time_sequence("unit", index)
|
| 468 |
+
else:
|
| 469 |
+
rr.set_time("unit", sequence=index)
|
| 470 |
+
|
| 471 |
+
|
| 472 |
+
def resize_width(image: Image.Image, width: int, *, nearest: bool = False) -> Image.Image:
|
| 473 |
+
if image.width <= width:
|
| 474 |
+
return image.copy()
|
| 475 |
+
height = max(1, round(image.height * width / image.width))
|
| 476 |
+
method = Image.Resampling.NEAREST if nearest else Image.Resampling.LANCZOS
|
| 477 |
+
return image.resize((width, height), method)
|
| 478 |
+
|
| 479 |
+
|
| 480 |
+
def log_to_rerun(
|
| 481 |
+
rr,
|
| 482 |
+
index: int,
|
| 483 |
+
unit: Unit,
|
| 484 |
+
result: dict[str, Any],
|
| 485 |
+
viz: dict[str, Image.Image],
|
| 486 |
+
image_width: int,
|
| 487 |
+
) -> None:
|
| 488 |
+
set_rerun_time(rr, index)
|
| 489 |
+
if "rgb" in viz:
|
| 490 |
+
rr.log("rpx/rgb", rr.Image(np.asarray(resize_width(viz["rgb"].convert("RGB"), image_width))))
|
| 491 |
+
if "depth" in viz:
|
| 492 |
+
depth = resize_width(viz["depth"], image_width, nearest=True)
|
| 493 |
+
try:
|
| 494 |
+
rr.log("rpx/depth", rr.DepthImage(np.asarray(depth), meter=1000.0))
|
| 495 |
+
except TypeError:
|
| 496 |
+
rr.log("rpx/depth", rr.DepthImage(np.asarray(depth)))
|
| 497 |
+
if "mask" in viz:
|
| 498 |
+
mask = resize_width(viz["mask"], image_width, nearest=True)
|
| 499 |
+
rr.log("rpx/masks", rr.SegmentationImage(np.asarray(mask)))
|
| 500 |
+
if "fisheye_left" in viz:
|
| 501 |
+
left = resize_width(viz["fisheye_left"].convert("RGB"), image_width)
|
| 502 |
+
rr.log("rpx/fisheye/left", rr.Image(np.asarray(left)))
|
| 503 |
+
if "fisheye_right" in viz:
|
| 504 |
+
right = resize_width(viz["fisheye_right"].convert("RGB"), image_width)
|
| 505 |
+
rr.log("rpx/fisheye/right", rr.Image(np.asarray(right)))
|
| 506 |
+
|
| 507 |
+
markdown = [
|
| 508 |
+
f"## {index:03d} {unit.unit_id}",
|
| 509 |
+
"",
|
| 510 |
+
f"- kind: `{unit.kind}`",
|
| 511 |
+
f"- view: `{unit.view}`",
|
| 512 |
+
f"- status: `{result['status']}`",
|
| 513 |
+
f"- expected frames: `{unit.expected_frames}`",
|
| 514 |
+
]
|
| 515 |
+
if unit.kind == "mos":
|
| 516 |
+
markdown.extend(
|
| 517 |
+
[
|
| 518 |
+
f"- scene: `{unit.scene_id}`",
|
| 519 |
+
f"- phase: `{unit.phase_index}` / `{unit.phase_name}`",
|
| 520 |
+
f"- difficulty: `{unit.difficulty}`",
|
| 521 |
+
]
|
| 522 |
+
)
|
| 523 |
+
elif unit.kind == "ego":
|
| 524 |
+
markdown.extend(
|
| 525 |
+
[
|
| 526 |
+
f"- scene: `{unit.scene_id}`",
|
| 527 |
+
"- ESD: `not applicable`",
|
| 528 |
+
]
|
| 529 |
+
)
|
| 530 |
+
else:
|
| 531 |
+
markdown.extend(
|
| 532 |
+
[
|
| 533 |
+
f"- object: `{unit.object_id}`",
|
| 534 |
+
f"- global object id: `{unit.global_object_id}`",
|
| 535 |
+
f"- object name: `{unit.object_name}`",
|
| 536 |
+
]
|
| 537 |
+
)
|
| 538 |
+
for message in result["errors"][:5]:
|
| 539 |
+
markdown.append(f"- error: {message}")
|
| 540 |
+
for message in result["warnings"][:5]:
|
| 541 |
+
markdown.append(f"- warning: {message}")
|
| 542 |
+
if hasattr(rr, "TextDocument"):
|
| 543 |
+
rr.log("rpx/metadata", rr.TextDocument("\n".join(markdown), media_type="text/markdown"))
|
| 544 |
+
|
| 545 |
+
|
| 546 |
+
def build_units(repo_root: Path, kinds: set[str]) -> tuple[list[Unit], dict[str, Any]]:
|
| 547 |
+
context: dict[str, Any] = {}
|
| 548 |
+
units: list[Unit] = []
|
| 549 |
+
|
| 550 |
+
split_rows: list[dict[str, str]] = []
|
| 551 |
+
for split in ("easy", "medium", "hard"):
|
| 552 |
+
csv_path = repo_root / "splits" / f"{split}.csv"
|
| 553 |
+
rows = read_csv_rows(csv_path)
|
| 554 |
+
for row in rows:
|
| 555 |
+
row = dict(row)
|
| 556 |
+
row["split"] = split
|
| 557 |
+
split_rows.append(row)
|
| 558 |
+
context["split_rows"] = split_rows
|
| 559 |
+
|
| 560 |
+
if "mos" in kinds:
|
| 561 |
+
for row in sorted(split_rows, key=lambda r: (r["scene_id"], int(r["phase_index"]))):
|
| 562 |
+
phase_index = int(row["phase_index"])
|
| 563 |
+
units.append(
|
| 564 |
+
Unit(
|
| 565 |
+
kind="mos",
|
| 566 |
+
unit_id=f"{row['scene_id']}.phase{phase_index}",
|
| 567 |
+
root=repo_root / "scenes" / row["scene_id"] / str(phase_index),
|
| 568 |
+
expected_frames=MOS_EXPECTED_FRAMES,
|
| 569 |
+
view="phase",
|
| 570 |
+
scene_id=row["scene_id"],
|
| 571 |
+
phase_index=phase_index,
|
| 572 |
+
phase_name=row["phase_name"],
|
| 573 |
+
difficulty=row["difficulty"],
|
| 574 |
+
)
|
| 575 |
+
)
|
| 576 |
+
|
| 577 |
+
selected_rows = read_csv_rows(repo_root / "manifest" / "selected_sos_objects_v1.csv")
|
| 578 |
+
context["selected_sos_rows"] = selected_rows
|
| 579 |
+
if "sos" in kinds:
|
| 580 |
+
for row in sorted(selected_rows, key=lambda r: int(r["global_object_id"])):
|
| 581 |
+
units.append(
|
| 582 |
+
Unit(
|
| 583 |
+
kind="sos",
|
| 584 |
+
unit_id=f"object:{row['object_id']}",
|
| 585 |
+
root=repo_root / "objects" / row["object_id"] / "0",
|
| 586 |
+
expected_frames=SOS_EXPECTED_FRAMES,
|
| 587 |
+
view="object",
|
| 588 |
+
object_id=row["object_id"],
|
| 589 |
+
global_object_id=int(row["global_object_id"]),
|
| 590 |
+
object_name=row["object_name"],
|
| 591 |
+
)
|
| 592 |
+
)
|
| 593 |
+
|
| 594 |
+
ego_rows: list[dict[str, str]] = []
|
| 595 |
+
ego_frames_csv = repo_root / "manifest" / "ego_frames_v1.csv"
|
| 596 |
+
if ego_frames_csv.exists():
|
| 597 |
+
ego_rows = read_csv_rows(ego_frames_csv)
|
| 598 |
+
context["ego_frame_rows"] = ego_rows
|
| 599 |
+
if "ego" in kinds:
|
| 600 |
+
if ego_rows:
|
| 601 |
+
grouped: dict[str, list[dict[str, str]]] = defaultdict(list)
|
| 602 |
+
for row in ego_rows:
|
| 603 |
+
grouped[row["scene_id"]].append(row)
|
| 604 |
+
for scene_id, rows in sorted(grouped.items()):
|
| 605 |
+
units.append(
|
| 606 |
+
Unit(
|
| 607 |
+
kind="ego",
|
| 608 |
+
unit_id=f"{scene_id}.ego",
|
| 609 |
+
root=repo_root / "scenes" / scene_id / "ego",
|
| 610 |
+
expected_frames=len(rows),
|
| 611 |
+
view="ego",
|
| 612 |
+
scene_id=scene_id,
|
| 613 |
+
phase_name="ego",
|
| 614 |
+
)
|
| 615 |
+
)
|
| 616 |
+
else:
|
| 617 |
+
for root in sorted((repo_root / "scenes").glob("scene*/ego")):
|
| 618 |
+
frame_count = count_tar_pngs(root / "rgb.tar", "rgb")
|
| 619 |
+
if frame_count <= 0:
|
| 620 |
+
continue
|
| 621 |
+
units.append(
|
| 622 |
+
Unit(
|
| 623 |
+
kind="ego",
|
| 624 |
+
unit_id=f"{root.parent.name}.ego",
|
| 625 |
+
root=root,
|
| 626 |
+
expected_frames=frame_count,
|
| 627 |
+
view="ego",
|
| 628 |
+
scene_id=root.parent.name,
|
| 629 |
+
phase_name="ego",
|
| 630 |
+
)
|
| 631 |
+
)
|
| 632 |
+
|
| 633 |
+
mask_map_rows = read_csv_rows(repo_root / "manifest" / "mos_mask_object_map_v1.csv")
|
| 634 |
+
mask_map_by_phase: dict[tuple[str, str], list[dict[str, str]]] = defaultdict(list)
|
| 635 |
+
for row in mask_map_rows:
|
| 636 |
+
mask_map_by_phase[(row["scene_id"], row["phase"])].append(row)
|
| 637 |
+
context["mask_map_rows"] = mask_map_rows
|
| 638 |
+
context["mask_map_by_phase"] = mask_map_by_phase
|
| 639 |
+
ego_mask_map_path = repo_root / "manifest" / "mos_ego_mask_object_map_v1.csv"
|
| 640 |
+
ego_mask_map_rows = read_csv_rows(ego_mask_map_path) if ego_mask_map_path.exists() else []
|
| 641 |
+
ego_mask_map_by_scene: dict[str, list[dict[str, str]]] = defaultdict(list)
|
| 642 |
+
for row in ego_mask_map_rows:
|
| 643 |
+
ego_mask_map_by_scene[row["scene_id"]].append(row)
|
| 644 |
+
context["ego_mask_map_rows"] = ego_mask_map_rows
|
| 645 |
+
context["ego_mask_map_by_scene"] = ego_mask_map_by_scene
|
| 646 |
+
return units, context
|
| 647 |
+
|
| 648 |
+
|
| 649 |
+
def check_global_manifests(repo_root: Path, units: list[Unit], context: dict[str, Any]) -> dict[str, Any]:
|
| 650 |
+
errors: list[str] = []
|
| 651 |
+
warnings: list[str] = []
|
| 652 |
+
summary: dict[str, Any] = {"errors": errors, "warnings": warnings}
|
| 653 |
+
|
| 654 |
+
current_path = repo_root / "manifest" / "current.json"
|
| 655 |
+
try:
|
| 656 |
+
current = load_json(current_path)
|
| 657 |
+
summary["current_json"] = {
|
| 658 |
+
"schema_version": current.get("schema_version"),
|
| 659 |
+
"label_versions": current.get("label_versions"),
|
| 660 |
+
"mos": current.get("mos"),
|
| 661 |
+
"sos": current.get("sos"),
|
| 662 |
+
}
|
| 663 |
+
expected_versions = {
|
| 664 |
+
"masks": LABEL_VERSION,
|
| 665 |
+
"masks_aux": LABEL_VERSION,
|
| 666 |
+
"sam2_meta": LABEL_VERSION,
|
| 667 |
+
"cam_pose": LABEL_VERSION,
|
| 668 |
+
}
|
| 669 |
+
if current.get("label_versions") != expected_versions:
|
| 670 |
+
errors.append(f"manifest/current.json label_versions != {expected_versions}")
|
| 671 |
+
except Exception as exc:
|
| 672 |
+
errors.append(f"could not read manifest/current.json: {exc}")
|
| 673 |
+
|
| 674 |
+
split_rows = context["split_rows"]
|
| 675 |
+
phase_ids = [row["scene_phase"] for row in split_rows]
|
| 676 |
+
difficulty_counts = Counter(row["difficulty"] for row in split_rows)
|
| 677 |
+
split_counts = Counter(row["split"] for row in split_rows)
|
| 678 |
+
summary["phase_splits"] = {
|
| 679 |
+
"rows": len(split_rows),
|
| 680 |
+
"unique_phase_ids": len(set(phase_ids)),
|
| 681 |
+
"split_counts": dict(split_counts),
|
| 682 |
+
"difficulty_counts": dict(difficulty_counts),
|
| 683 |
+
}
|
| 684 |
+
if len(split_rows) != 300 or len(set(phase_ids)) != 300:
|
| 685 |
+
errors.append("phase split CSVs should contain 300 unique scene phases")
|
| 686 |
+
for split in ("easy", "medium", "hard"):
|
| 687 |
+
if split_counts[split] != 100:
|
| 688 |
+
errors.append(f"splits/{split}.csv has {split_counts[split]} rows, expected 100")
|
| 689 |
+
mismatch = [row["scene_phase"] for row in split_rows if row["split"] == split and row["difficulty"] != split]
|
| 690 |
+
if mismatch:
|
| 691 |
+
errors.append(f"splits/{split}.csv difficulty mismatch examples: {mismatch[:5]}")
|
| 692 |
+
|
| 693 |
+
scene_splits_path = repo_root / "splits" / "scene_splits.json"
|
| 694 |
+
try:
|
| 695 |
+
scene_splits = load_json(scene_splits_path)
|
| 696 |
+
weights = scene_splits.get("provenance", {}).get("weights", {})
|
| 697 |
+
feature_names = scene_splits.get("provenance", {}).get("feature_names", [])
|
| 698 |
+
tiers = scene_splits.get("splits", {})
|
| 699 |
+
tier_ids = [scene_id for ids in tiers.values() for scene_id in ids]
|
| 700 |
+
summary["scene_splits_json"] = {
|
| 701 |
+
"n_scenes": scene_splits.get("n_scenes"),
|
| 702 |
+
"primary_method": scene_splits.get("primary_method"),
|
| 703 |
+
"scoring_version": scene_splits.get("scoring_version"),
|
| 704 |
+
"feature_count": len(feature_names),
|
| 705 |
+
"weight_count": len(weights),
|
| 706 |
+
"weight_sum": round(float(sum(weights.values())), 8) if weights else None,
|
| 707 |
+
"tier_counts": {key: len(value) for key, value in tiers.items()},
|
| 708 |
+
}
|
| 709 |
+
if len(feature_names) != 27 or len(weights) != 27:
|
| 710 |
+
errors.append("scene_splits.json should expose 27 ESD features and 27 weights")
|
| 711 |
+
if set(feature_names) != set(weights):
|
| 712 |
+
errors.append("scene_splits.json feature_names and weight keys differ")
|
| 713 |
+
if weights and not math.isclose(sum(weights.values()), 1.0, abs_tol=1e-6):
|
| 714 |
+
errors.append(f"scene_splits.json weights sum to {sum(weights.values())}, expected 1.0")
|
| 715 |
+
if len(tier_ids) != 100 or len(set(tier_ids)) != 100:
|
| 716 |
+
errors.append("scene_splits.json should contain 100 unique scene-tier IDs")
|
| 717 |
+
except Exception as exc:
|
| 718 |
+
errors.append(f"could not read splits/scene_splits.json: {exc}")
|
| 719 |
+
|
| 720 |
+
preview_csv = repo_root / "preview" / "mos_phase_preview.csv"
|
| 721 |
+
if not preview_csv.exists():
|
| 722 |
+
preview_csv = repo_root / "preview" / "data_studio_preview.csv"
|
| 723 |
+
try:
|
| 724 |
+
preview_rows = read_csv_rows(preview_csv)
|
| 725 |
+
preview_errors = 0
|
| 726 |
+
preview_sizes = Counter()
|
| 727 |
+
for row in preview_rows:
|
| 728 |
+
image_name = Path(row["image_preview_url"]).name
|
| 729 |
+
image_path = repo_root / "preview" / "image_examples" / "preview" / "images" / image_name
|
| 730 |
+
if not image_path.exists():
|
| 731 |
+
preview_errors += 1
|
| 732 |
+
continue
|
| 733 |
+
try:
|
| 734 |
+
with Image.open(image_path) as image:
|
| 735 |
+
preview_sizes[str(image.size)] += 1
|
| 736 |
+
except Exception:
|
| 737 |
+
preview_errors += 1
|
| 738 |
+
summary["data_studio_preview"] = {
|
| 739 |
+
"rows": len(preview_rows),
|
| 740 |
+
"unique_scene_phases": len({row["scene_phase"] for row in preview_rows}),
|
| 741 |
+
"image_decode_errors": preview_errors,
|
| 742 |
+
"image_sizes": dict(preview_sizes),
|
| 743 |
+
}
|
| 744 |
+
if len(preview_rows) != 300:
|
| 745 |
+
errors.append(f"preview/data_studio_preview.csv has {len(preview_rows)} rows, expected 300")
|
| 746 |
+
if preview_errors:
|
| 747 |
+
errors.append(f"Data Studio preview image decode/missing errors: {preview_errors}")
|
| 748 |
+
except Exception as exc:
|
| 749 |
+
errors.append(f"could not read preview/data_studio_preview.csv: {exc}")
|
| 750 |
+
|
| 751 |
+
selected_rows = context["selected_sos_rows"]
|
| 752 |
+
global_ids = sorted(int(row["global_object_id"]) for row in selected_rows)
|
| 753 |
+
summary["selected_sos_objects"] = {
|
| 754 |
+
"rows": len(selected_rows),
|
| 755 |
+
"unique_object_ids": len({row["object_id"] for row in selected_rows}),
|
| 756 |
+
"global_id_min": global_ids[0] if global_ids else None,
|
| 757 |
+
"global_id_max": global_ids[-1] if global_ids else None,
|
| 758 |
+
}
|
| 759 |
+
if len(selected_rows) != 70 or global_ids != list(range(1, 71)):
|
| 760 |
+
errors.append("selected_sos_objects_v1.csv should contain global IDs 1..70")
|
| 761 |
+
|
| 762 |
+
try:
|
| 763 |
+
object_catalog = load_json(repo_root / "manifest" / "object_catalog_v1.json")
|
| 764 |
+
catalog_objects = object_catalog.get("objects", [])
|
| 765 |
+
summary["object_catalog"] = {"objects": len(catalog_objects)}
|
| 766 |
+
if len(catalog_objects) != 70:
|
| 767 |
+
errors.append("object_catalog_v1.json should contain 70 selected objects")
|
| 768 |
+
except Exception as exc:
|
| 769 |
+
errors.append(f"could not read object_catalog_v1.json: {exc}")
|
| 770 |
+
|
| 771 |
+
try:
|
| 772 |
+
meta_index = load_json(repo_root / "objects_meta" / "_index.json")
|
| 773 |
+
summary["objects_meta_index"] = {
|
| 774 |
+
"selected_object_count": meta_index.get("selected_object_count"),
|
| 775 |
+
"object_ids": len(meta_index.get("object_ids", [])),
|
| 776 |
+
}
|
| 777 |
+
if meta_index.get("selected_object_count") != 70:
|
| 778 |
+
errors.append("objects_meta/_index.json selected_object_count should be 70")
|
| 779 |
+
except Exception as exc:
|
| 780 |
+
errors.append(f"could not read objects_meta/_index.json: {exc}")
|
| 781 |
+
|
| 782 |
+
mask_rows = context["mask_map_rows"]
|
| 783 |
+
summary["mos_mask_object_map"] = {
|
| 784 |
+
"rows": len(mask_rows),
|
| 785 |
+
"unique_scene_phases": len({(row["scene_id"], row["phase"]) for row in mask_rows}),
|
| 786 |
+
}
|
| 787 |
+
if len(mask_rows) != 2100:
|
| 788 |
+
errors.append(f"mos_mask_object_map_v1.csv has {len(mask_rows)} rows, expected 2100")
|
| 789 |
+
|
| 790 |
+
ego_frame_rows = context.get("ego_frame_rows", [])
|
| 791 |
+
ego_mask_rows = context.get("ego_mask_map_rows", [])
|
| 792 |
+
if ego_frame_rows:
|
| 793 |
+
summary["ego_frames"] = {
|
| 794 |
+
"rows": len(ego_frame_rows),
|
| 795 |
+
"unique_scenes": len({row["scene_id"] for row in ego_frame_rows}),
|
| 796 |
+
}
|
| 797 |
+
if ego_mask_rows:
|
| 798 |
+
summary["mos_ego_mask_object_map"] = {
|
| 799 |
+
"rows": len(ego_mask_rows),
|
| 800 |
+
"unique_scenes": len({row["scene_id"] for row in ego_mask_rows}),
|
| 801 |
+
}
|
| 802 |
+
|
| 803 |
+
ego_preview_csv = repo_root / "preview" / "ego_preview.csv"
|
| 804 |
+
if ego_preview_csv.exists():
|
| 805 |
+
try:
|
| 806 |
+
ego_preview_rows = read_csv_rows(ego_preview_csv)
|
| 807 |
+
summary["ego_preview"] = {
|
| 808 |
+
"rows": len(ego_preview_rows),
|
| 809 |
+
"unique_scenes": len({row["scene_id"] for row in ego_preview_rows}),
|
| 810 |
+
}
|
| 811 |
+
except Exception as exc:
|
| 812 |
+
errors.append(f"could not read preview/ego_preview.csv: {exc}")
|
| 813 |
+
|
| 814 |
+
for path in [repo_root / "assets" / "rpx_teaser.png", repo_root / "assets" / "rpx-jumbotron.webm"]:
|
| 815 |
+
if not path.exists() or path.stat().st_size == 0:
|
| 816 |
+
errors.append(f"missing or empty asset: {path}")
|
| 817 |
+
try:
|
| 818 |
+
with Image.open(repo_root / "assets" / "rpx_teaser.png") as image:
|
| 819 |
+
summary["teaser_image"] = {"size": list(image.size), "mode": image.mode}
|
| 820 |
+
except Exception as exc:
|
| 821 |
+
errors.append(f"could not decode assets/rpx_teaser.png: {exc}")
|
| 822 |
+
|
| 823 |
+
parquet_summary = check_parquet_manifests(repo_root, units, warnings, errors)
|
| 824 |
+
summary["parquet"] = parquet_summary
|
| 825 |
+
summary["status"] = "error" if errors else ("warning" if warnings else "ok")
|
| 826 |
+
return summary
|
| 827 |
+
|
| 828 |
+
|
| 829 |
+
def check_parquet_manifests(
|
| 830 |
+
repo_root: Path,
|
| 831 |
+
units: list[Unit],
|
| 832 |
+
warnings: list[str],
|
| 833 |
+
errors: list[str],
|
| 834 |
+
) -> dict[str, Any]:
|
| 835 |
+
summary: dict[str, Any] = {}
|
| 836 |
+
try:
|
| 837 |
+
import pyarrow.parquet as pq
|
| 838 |
+
except Exception as exc:
|
| 839 |
+
warnings.append(f"pyarrow unavailable; parquet row-count checks skipped: {exc}")
|
| 840 |
+
return {"skipped": True, "reason": str(exc)}
|
| 841 |
+
|
| 842 |
+
expected_rows = {
|
| 843 |
+
"manifest/frames_v1.parquet": 110000,
|
| 844 |
+
"preview/mos_phase_preview.parquet": 300,
|
| 845 |
+
"manifest/selected_sos_objects_v1.parquet": 70,
|
| 846 |
+
"splits/easy.parquet": 100,
|
| 847 |
+
"splits/medium.parquet": 100,
|
| 848 |
+
"splits/hard.parquet": 100,
|
| 849 |
+
}
|
| 850 |
+
if not (repo_root / "preview" / "mos_phase_preview.parquet").exists():
|
| 851 |
+
expected_rows["preview/media_preview.parquet"] = 300
|
| 852 |
+
expected_rows.pop("preview/mos_phase_preview.parquet", None)
|
| 853 |
+
ego_frames_csv = repo_root / "manifest" / "ego_frames_v1.csv"
|
| 854 |
+
ego_frame_rows = read_csv_rows(ego_frames_csv) if ego_frames_csv.exists() else []
|
| 855 |
+
if ego_frame_rows:
|
| 856 |
+
expected_rows["manifest/ego_frames_v1.parquet"] = len(ego_frame_rows)
|
| 857 |
+
expected_rows["manifest/frames_v2.parquet"] = 110000 + len(ego_frame_rows)
|
| 858 |
+
ego_mask_csv = repo_root / "manifest" / "mos_ego_mask_object_map_v1.csv"
|
| 859 |
+
if ego_mask_csv.exists():
|
| 860 |
+
expected_rows["manifest/mos_ego_mask_object_map_v1.parquet"] = len(read_csv_rows(ego_mask_csv))
|
| 861 |
+
ego_preview_csv = repo_root / "preview" / "ego_preview.csv"
|
| 862 |
+
if ego_preview_csv.exists():
|
| 863 |
+
expected_rows["preview/ego_preview.parquet"] = len(read_csv_rows(ego_preview_csv))
|
| 864 |
+
for rel, expected in expected_rows.items():
|
| 865 |
+
path = repo_root / rel
|
| 866 |
+
if not path.exists():
|
| 867 |
+
errors.append(f"missing parquet: {rel}")
|
| 868 |
+
continue
|
| 869 |
+
try:
|
| 870 |
+
pf = pq.ParquetFile(path)
|
| 871 |
+
row_count = pf.metadata.num_rows
|
| 872 |
+
summary[rel] = {"rows": row_count, "columns": pf.schema_arrow.names}
|
| 873 |
+
if row_count != expected:
|
| 874 |
+
errors.append(f"{rel} row count {row_count}, expected {expected}")
|
| 875 |
+
except Exception as exc:
|
| 876 |
+
errors.append(f"could not read {rel}: {exc}")
|
| 877 |
+
|
| 878 |
+
frames_path = repo_root / "manifest" / "frames_v1.parquet"
|
| 879 |
+
if frames_path.exists():
|
| 880 |
+
try:
|
| 881 |
+
table = pq.read_table(
|
| 882 |
+
frames_path,
|
| 883 |
+
columns=[
|
| 884 |
+
"scene_id",
|
| 885 |
+
"scene_type",
|
| 886 |
+
"phase",
|
| 887 |
+
"has_rgb",
|
| 888 |
+
"has_depth",
|
| 889 |
+
"has_fisheye",
|
| 890 |
+
"has_cam_pose",
|
| 891 |
+
"has_masks",
|
| 892 |
+
"has_masks_aux",
|
| 893 |
+
"has_sam2_meta",
|
| 894 |
+
],
|
| 895 |
+
)
|
| 896 |
+
data = {name: table[name].to_pylist() for name in table.column_names}
|
| 897 |
+
unit_counts: Counter[tuple[str, str, int]] = Counter()
|
| 898 |
+
false_counts: Counter[str] = Counter()
|
| 899 |
+
for index in range(table.num_rows):
|
| 900 |
+
unit_counts[(data["scene_type"][index], data["scene_id"][index], int(data["phase"][index]))] += 1
|
| 901 |
+
for column in (
|
| 902 |
+
"has_rgb",
|
| 903 |
+
"has_depth",
|
| 904 |
+
"has_fisheye",
|
| 905 |
+
"has_cam_pose",
|
| 906 |
+
"has_masks",
|
| 907 |
+
"has_masks_aux",
|
| 908 |
+
"has_sam2_meta",
|
| 909 |
+
):
|
| 910 |
+
if not data[column][index]:
|
| 911 |
+
false_counts[column] += 1
|
| 912 |
+
|
| 913 |
+
frame_count_mismatches = []
|
| 914 |
+
for unit in units:
|
| 915 |
+
if unit.kind == "mos":
|
| 916 |
+
key = ("multi_object", unit.scene_id or "", unit.phase_index)
|
| 917 |
+
elif unit.kind == "sos":
|
| 918 |
+
key = ("single_object", unit.object_id or "", 0)
|
| 919 |
+
else:
|
| 920 |
+
continue
|
| 921 |
+
count = unit_counts.get(key, 0)
|
| 922 |
+
if count != unit.expected_frames:
|
| 923 |
+
frame_count_mismatches.append(
|
| 924 |
+
{"unit_id": unit.unit_id, "manifest_frames": count, "expected": unit.expected_frames}
|
| 925 |
+
)
|
| 926 |
+
summary["manifest/frames_v1.parquet"]["unit_frame_count_mismatches"] = frame_count_mismatches[:20]
|
| 927 |
+
summary["manifest/frames_v1.parquet"]["false_modality_flags"] = dict(false_counts)
|
| 928 |
+
if frame_count_mismatches:
|
| 929 |
+
errors.append(f"frames_v1.parquet unit frame mismatches: {len(frame_count_mismatches)}")
|
| 930 |
+
if false_counts:
|
| 931 |
+
errors.append(f"frames_v1.parquet has false modality flags: {dict(false_counts)}")
|
| 932 |
+
except Exception as exc:
|
| 933 |
+
errors.append(f"could not validate frames_v1.parquet unit rows: {exc}")
|
| 934 |
+
return summary
|
| 935 |
+
|
| 936 |
+
|
| 937 |
+
def check_image_stream(
|
| 938 |
+
shard_path: Path,
|
| 939 |
+
names: list[str],
|
| 940 |
+
prefix: str,
|
| 941 |
+
expected_count: int,
|
| 942 |
+
expected_size: tuple[int, int],
|
| 943 |
+
policy: str,
|
| 944 |
+
errors: list[str],
|
| 945 |
+
warnings: list[str],
|
| 946 |
+
label: str,
|
| 947 |
+
require_nonzero: bool = False,
|
| 948 |
+
) -> tuple[dict[str, Any], dict[str, Image.Image]]:
|
| 949 |
+
stream_names = names_with_prefix(names, prefix, ".png")
|
| 950 |
+
sequence = numbered_sequence_summary(stream_names, prefix, ".png", expected_count, errors, label)
|
| 951 |
+
sample_names = pick_names(stream_names, policy)
|
| 952 |
+
sample_stats, sample_images = decode_images(
|
| 953 |
+
shard_path,
|
| 954 |
+
sample_names,
|
| 955 |
+
errors,
|
| 956 |
+
warnings,
|
| 957 |
+
label,
|
| 958 |
+
expected_size=expected_size,
|
| 959 |
+
require_nonzero=require_nonzero,
|
| 960 |
+
)
|
| 961 |
+
return {
|
| 962 |
+
"prefix": prefix,
|
| 963 |
+
**sequence,
|
| 964 |
+
"sampled": sample_stats,
|
| 965 |
+
}, sample_images
|
| 966 |
+
|
| 967 |
+
|
| 968 |
+
def check_masks_aux(
|
| 969 |
+
shard_path: Path,
|
| 970 |
+
names: list[str],
|
| 971 |
+
unit: Unit,
|
| 972 |
+
policy: str,
|
| 973 |
+
errors: list[str],
|
| 974 |
+
warnings: list[str],
|
| 975 |
+
) -> dict[str, Any]:
|
| 976 |
+
group_counts: Counter[str] = Counter()
|
| 977 |
+
for name in names:
|
| 978 |
+
parts = name.split("/")
|
| 979 |
+
key = "/".join(parts[:2]) if len(parts) >= 2 else name
|
| 980 |
+
group_counts[key] += 1
|
| 981 |
+
|
| 982 |
+
summary: dict[str, Any] = {"file_count": len(names), "group_counts": dict(sorted(group_counts.items()))}
|
| 983 |
+
expected = unit.expected_frames
|
| 984 |
+
frame_aligned_groups = ["sam2/contour_gt_masks", "sam2/palette", "sam2/rgb_and_mask"]
|
| 985 |
+
if unit.kind in {"mos", "ego"}:
|
| 986 |
+
frame_aligned_groups.append("sam2/masks_contour_with_hidden")
|
| 987 |
+
|
| 988 |
+
decoded_groups: dict[str, Any] = {}
|
| 989 |
+
for group in frame_aligned_groups:
|
| 990 |
+
group_names = names_with_prefix(names, group, ".png")
|
| 991 |
+
sequence = numbered_sequence_summary(
|
| 992 |
+
group_names,
|
| 993 |
+
group,
|
| 994 |
+
".png",
|
| 995 |
+
expected,
|
| 996 |
+
errors,
|
| 997 |
+
f"{unit.unit_id} masks_aux:{group}",
|
| 998 |
+
)
|
| 999 |
+
sample_stats, _ = decode_images(
|
| 1000 |
+
shard_path,
|
| 1001 |
+
pick_names(group_names, policy),
|
| 1002 |
+
errors,
|
| 1003 |
+
warnings,
|
| 1004 |
+
f"{unit.unit_id} masks_aux:{group}",
|
| 1005 |
+
expected_size=RGBD_SIZE,
|
| 1006 |
+
)
|
| 1007 |
+
decoded_groups[group] = {**sequence, "sampled": sample_stats}
|
| 1008 |
+
|
| 1009 |
+
bbox_names = names_with_prefix(names, "sam2/bbox_overlay", ".png")
|
| 1010 |
+
decoded_bbox, _ = decode_images(
|
| 1011 |
+
shard_path,
|
| 1012 |
+
bbox_names[:3],
|
| 1013 |
+
errors,
|
| 1014 |
+
warnings,
|
| 1015 |
+
f"{unit.unit_id} masks_aux:sam2/bbox_overlay",
|
| 1016 |
+
expected_size=RGBD_SIZE,
|
| 1017 |
+
)
|
| 1018 |
+
decoded_groups["sam2/bbox_overlay"] = {"count": len(bbox_names), "sampled": decoded_bbox}
|
| 1019 |
+
|
| 1020 |
+
dino_names = [name for name in names if name.startswith("sam2/dino_output/")]
|
| 1021 |
+
dino_png_names = [name for name in dino_names if name.lower().endswith(".png")]
|
| 1022 |
+
dino_json_names = [name for name in dino_names if name.lower().endswith(".json")]
|
| 1023 |
+
if unit.kind in {"mos", "ego"}:
|
| 1024 |
+
if not dino_names:
|
| 1025 |
+
warnings.append(f"{unit.unit_id} masks_aux:sam2/dino_output is missing")
|
| 1026 |
+
decoded_dino, _ = decode_images(
|
| 1027 |
+
shard_path,
|
| 1028 |
+
dino_png_names[:3],
|
| 1029 |
+
errors,
|
| 1030 |
+
warnings,
|
| 1031 |
+
f"{unit.unit_id} masks_aux:sam2/dino_output",
|
| 1032 |
+
)
|
| 1033 |
+
decoded_groups["sam2/dino_output"] = {
|
| 1034 |
+
"count": len(dino_names),
|
| 1035 |
+
"png_count": len(dino_png_names),
|
| 1036 |
+
"json_count": len(dino_json_names),
|
| 1037 |
+
"sampled": decoded_dino,
|
| 1038 |
+
}
|
| 1039 |
+
elif dino_names:
|
| 1040 |
+
decoded_dino, _ = decode_images(
|
| 1041 |
+
shard_path,
|
| 1042 |
+
dino_png_names[:3],
|
| 1043 |
+
errors,
|
| 1044 |
+
warnings,
|
| 1045 |
+
f"{unit.unit_id} masks_aux:sam2/dino_output",
|
| 1046 |
+
)
|
| 1047 |
+
decoded_groups["sam2/dino_output"] = {
|
| 1048 |
+
"count": len(dino_names),
|
| 1049 |
+
"png_count": len(dino_png_names),
|
| 1050 |
+
"json_count": len(dino_json_names),
|
| 1051 |
+
"sampled": decoded_dino,
|
| 1052 |
+
}
|
| 1053 |
+
|
| 1054 |
+
summary["decoded_groups"] = decoded_groups
|
| 1055 |
+
return summary
|
| 1056 |
+
|
| 1057 |
+
|
| 1058 |
+
def check_sam2_meta(
|
| 1059 |
+
shard_path: Path,
|
| 1060 |
+
names: list[str],
|
| 1061 |
+
unit: Unit,
|
| 1062 |
+
context: dict[str, Any],
|
| 1063 |
+
errors: list[str],
|
| 1064 |
+
warnings: list[str],
|
| 1065 |
+
) -> dict[str, Any]:
|
| 1066 |
+
summary: dict[str, Any] = {"file_count": len(names), "files": names}
|
| 1067 |
+
required = (
|
| 1068 |
+
["sam2/mask_to_object.json"]
|
| 1069 |
+
if unit.kind in {"mos", "ego"}
|
| 1070 |
+
else ["sam2/iter1_faulty.txt", "sam2/usr_bbox_prompts.npy", "sam2/verify_page.txt"]
|
| 1071 |
+
)
|
| 1072 |
+
missing = [name for name in required if name not in names]
|
| 1073 |
+
if missing:
|
| 1074 |
+
errors.append(f"{unit.unit_id} sam2_meta missing files: {missing}")
|
| 1075 |
+
|
| 1076 |
+
try:
|
| 1077 |
+
with tarfile.open(shard_path) as tar:
|
| 1078 |
+
if unit.kind in {"mos", "ego"} and "sam2/mask_to_object.json" in names:
|
| 1079 |
+
mask_to_object = read_tar_json(tar, "sam2/mask_to_object.json")
|
| 1080 |
+
summary["mask_to_object_count"] = len(mask_to_object)
|
| 1081 |
+
if unit.kind == "mos":
|
| 1082 |
+
expected_rows = context["mask_map_by_phase"].get((unit.scene_id, f"phase{unit.phase_index}"), [])
|
| 1083 |
+
else:
|
| 1084 |
+
expected_rows = context.get("ego_mask_map_by_scene", {}).get(unit.scene_id, [])
|
| 1085 |
+
expected_ids = {int(row["local_mask_id"]) for row in expected_rows}
|
| 1086 |
+
actual_ids = {int(key) for key in mask_to_object.keys()}
|
| 1087 |
+
if len(expected_rows) != len(mask_to_object):
|
| 1088 |
+
errors.append(
|
| 1089 |
+
f"{unit.unit_id} mask map row count {len(expected_rows)}, mask_to_object count {len(mask_to_object)}"
|
| 1090 |
+
)
|
| 1091 |
+
if expected_ids != actual_ids:
|
| 1092 |
+
errors.append(f"{unit.unit_id} local mask IDs differ between manifest and sam2_meta")
|
| 1093 |
+
if unit.kind in {"mos", "ego"}:
|
| 1094 |
+
line_counts = {}
|
| 1095 |
+
for name in names:
|
| 1096 |
+
if name.endswith(".txt") and name in names:
|
| 1097 |
+
text = read_tar_text(tar, name)
|
| 1098 |
+
line_counts[name] = len([line for line in text.splitlines() if line.strip()])
|
| 1099 |
+
summary["text_line_counts"] = line_counts
|
| 1100 |
+
else:
|
| 1101 |
+
if "sam2/usr_bbox_prompts.npy" in names:
|
| 1102 |
+
extracted = tar.extractfile("sam2/usr_bbox_prompts.npy")
|
| 1103 |
+
if extracted is None:
|
| 1104 |
+
errors.append(f"{unit.unit_id} could not extract usr_bbox_prompts.npy")
|
| 1105 |
+
else:
|
| 1106 |
+
bbox = np.load(io.BytesIO(extracted.read()), allow_pickle=True)
|
| 1107 |
+
summary["usr_bbox_prompts"] = {
|
| 1108 |
+
"shape": list(bbox.shape),
|
| 1109 |
+
"dtype": str(bbox.dtype),
|
| 1110 |
+
"finite": bool(np.isfinite(bbox).all()) if np.issubdtype(bbox.dtype, np.number) else None,
|
| 1111 |
+
}
|
| 1112 |
+
if bbox.ndim != 2 or bbox.shape[-1] != 4:
|
| 1113 |
+
errors.append(f"{unit.unit_id} usr_bbox_prompts.npy shape {bbox.shape}, expected Nx4")
|
| 1114 |
+
if "sam2/verify_page.txt" in names:
|
| 1115 |
+
summary["verify_page"] = read_tar_text(tar, "sam2/verify_page.txt").strip()
|
| 1116 |
+
except Exception as exc:
|
| 1117 |
+
errors.append(f"{unit.unit_id} sam2_meta could not be parsed: {exc}")
|
| 1118 |
+
return summary
|
| 1119 |
+
|
| 1120 |
+
|
| 1121 |
+
def check_questionnaire(repo_root: Path, unit: Unit, errors: list[str]) -> dict[str, Any]:
|
| 1122 |
+
if unit.kind != "sos" or unit.object_id is None:
|
| 1123 |
+
return {}
|
| 1124 |
+
meta_path = repo_root / "objects_meta" / unit.object_id / "metadata.json"
|
| 1125 |
+
questionnaire_path = repo_root / "objects_meta" / unit.object_id / "questionnaire.json"
|
| 1126 |
+
summary: dict[str, Any] = {}
|
| 1127 |
+
for label, path in [("metadata", meta_path), ("questionnaire", questionnaire_path)]:
|
| 1128 |
+
if not path.exists():
|
| 1129 |
+
errors.append(f"{unit.unit_id} missing {label}: {path}")
|
| 1130 |
+
continue
|
| 1131 |
+
try:
|
| 1132 |
+
data = load_json(path)
|
| 1133 |
+
summary[label] = {
|
| 1134 |
+
"path": as_rel(path, repo_root),
|
| 1135 |
+
"object_id": data.get("object_id"),
|
| 1136 |
+
"global_object_id": data.get("global_object_id"),
|
| 1137 |
+
}
|
| 1138 |
+
if data.get("object_id") != unit.object_id:
|
| 1139 |
+
errors.append(f"{unit.unit_id} {label} object_id mismatch")
|
| 1140 |
+
if data.get("global_object_id") != unit.global_object_id:
|
| 1141 |
+
errors.append(f"{unit.unit_id} {label} global_object_id mismatch")
|
| 1142 |
+
if label == "questionnaire":
|
| 1143 |
+
questions = data.get("questions", {})
|
| 1144 |
+
summary[label]["question_count"] = len(questions)
|
| 1145 |
+
if not questions:
|
| 1146 |
+
errors.append(f"{unit.unit_id} questionnaire has no questions")
|
| 1147 |
+
except Exception as exc:
|
| 1148 |
+
errors.append(f"{unit.unit_id} could not parse {label}: {exc}")
|
| 1149 |
+
return summary
|
| 1150 |
+
|
| 1151 |
+
|
| 1152 |
+
def check_unit(
|
| 1153 |
+
repo_root: Path,
|
| 1154 |
+
unit: Unit,
|
| 1155 |
+
context: dict[str, Any],
|
| 1156 |
+
policy: str,
|
| 1157 |
+
) -> tuple[dict[str, Any], dict[str, Image.Image]]:
|
| 1158 |
+
errors: list[str] = []
|
| 1159 |
+
warnings: list[str] = []
|
| 1160 |
+
root = unit.root
|
| 1161 |
+
result: dict[str, Any] = {
|
| 1162 |
+
"unit_id": unit.unit_id,
|
| 1163 |
+
"kind": unit.kind,
|
| 1164 |
+
"view": unit.view,
|
| 1165 |
+
"root": as_rel(root, repo_root),
|
| 1166 |
+
"expected_frames": unit.expected_frames,
|
| 1167 |
+
"errors": errors,
|
| 1168 |
+
"warnings": warnings,
|
| 1169 |
+
"shards": {},
|
| 1170 |
+
}
|
| 1171 |
+
viz: dict[str, Image.Image] = {}
|
| 1172 |
+
if not root.exists():
|
| 1173 |
+
errors.append(f"missing unit directory: {root}")
|
| 1174 |
+
|
| 1175 |
+
shard_paths = {
|
| 1176 |
+
"rgb": root / "rgb.tar",
|
| 1177 |
+
"depth": root / "depth.tar",
|
| 1178 |
+
"fisheye": root / "fisheye.tar",
|
| 1179 |
+
"masks": root / "labels" / "masks" / f"{LABEL_VERSION}.tar",
|
| 1180 |
+
"masks_aux": root / "labels" / "masks_aux" / f"{LABEL_VERSION}.tar",
|
| 1181 |
+
"sam2_meta": root / "labels" / "sam2_meta" / f"{LABEL_VERSION}.tar",
|
| 1182 |
+
"cam_pose": root / "labels" / "cam_pose" / f"{LABEL_VERSION}.tar",
|
| 1183 |
+
}
|
| 1184 |
+
|
| 1185 |
+
tar_names: dict[str, list[str]] = {}
|
| 1186 |
+
for key, path in shard_paths.items():
|
| 1187 |
+
names = tar_file_names(path, errors)
|
| 1188 |
+
tar_names[key] = names
|
| 1189 |
+
result["shards"][key] = {
|
| 1190 |
+
"path": as_rel(path, repo_root),
|
| 1191 |
+
"file_count": len(names),
|
| 1192 |
+
}
|
| 1193 |
+
|
| 1194 |
+
rgb_summary, rgb_images = check_image_stream(
|
| 1195 |
+
shard_paths["rgb"],
|
| 1196 |
+
tar_names["rgb"],
|
| 1197 |
+
"rgb",
|
| 1198 |
+
unit.expected_frames,
|
| 1199 |
+
RGBD_SIZE,
|
| 1200 |
+
policy,
|
| 1201 |
+
errors,
|
| 1202 |
+
warnings,
|
| 1203 |
+
f"{unit.unit_id} rgb",
|
| 1204 |
+
)
|
| 1205 |
+
result["shards"]["rgb"].update(rgb_summary)
|
| 1206 |
+
if rgb_images:
|
| 1207 |
+
viz["rgb"] = rgb_images[pick_names(names_with_prefix(tar_names["rgb"], "rgb", ".png"), "middle")[0]]
|
| 1208 |
+
|
| 1209 |
+
depth_summary, depth_images = check_image_stream(
|
| 1210 |
+
shard_paths["depth"],
|
| 1211 |
+
tar_names["depth"],
|
| 1212 |
+
"depth",
|
| 1213 |
+
unit.expected_frames,
|
| 1214 |
+
RGBD_SIZE,
|
| 1215 |
+
policy,
|
| 1216 |
+
errors,
|
| 1217 |
+
warnings,
|
| 1218 |
+
f"{unit.unit_id} depth",
|
| 1219 |
+
require_nonzero=True,
|
| 1220 |
+
)
|
| 1221 |
+
result["shards"]["depth"].update(depth_summary)
|
| 1222 |
+
if depth_images:
|
| 1223 |
+
viz["depth"] = depth_images[pick_names(names_with_prefix(tar_names["depth"], "depth", ".png"), "middle")[0]]
|
| 1224 |
+
|
| 1225 |
+
mask_summary, mask_images = check_image_stream(
|
| 1226 |
+
shard_paths["masks"],
|
| 1227 |
+
tar_names["masks"],
|
| 1228 |
+
"sam2/masks",
|
| 1229 |
+
unit.expected_frames,
|
| 1230 |
+
RGBD_SIZE,
|
| 1231 |
+
policy,
|
| 1232 |
+
errors,
|
| 1233 |
+
warnings,
|
| 1234 |
+
f"{unit.unit_id} masks",
|
| 1235 |
+
require_nonzero=True,
|
| 1236 |
+
)
|
| 1237 |
+
result["shards"]["masks"].update(mask_summary)
|
| 1238 |
+
mask_sample_stats = result["shards"]["masks"].get("sampled", [])
|
| 1239 |
+
for item in mask_sample_stats:
|
| 1240 |
+
# Mask PNGs are integer maps; count nonzero IDs on sampled frames.
|
| 1241 |
+
name = item["name"]
|
| 1242 |
+
image = mask_images.get(name)
|
| 1243 |
+
if image is not None:
|
| 1244 |
+
values = np.unique(np.asarray(image))
|
| 1245 |
+
item["nonzero_instance_ids"] = int(np.count_nonzero(values))
|
| 1246 |
+
if mask_images:
|
| 1247 |
+
viz["mask"] = mask_images[pick_names(names_with_prefix(tar_names["masks"], "sam2/masks", ".png"), "middle")[0]]
|
| 1248 |
+
|
| 1249 |
+
fisheye_left_summary, fisheye_left_images = check_image_stream(
|
| 1250 |
+
shard_paths["fisheye"],
|
| 1251 |
+
tar_names["fisheye"],
|
| 1252 |
+
"fisheye/left",
|
| 1253 |
+
unit.expected_frames,
|
| 1254 |
+
FISHEYE_SIZE,
|
| 1255 |
+
policy,
|
| 1256 |
+
errors,
|
| 1257 |
+
warnings,
|
| 1258 |
+
f"{unit.unit_id} fisheye_left",
|
| 1259 |
+
)
|
| 1260 |
+
fisheye_right_summary, fisheye_right_images = check_image_stream(
|
| 1261 |
+
shard_paths["fisheye"],
|
| 1262 |
+
tar_names["fisheye"],
|
| 1263 |
+
"fisheye/right",
|
| 1264 |
+
unit.expected_frames,
|
| 1265 |
+
FISHEYE_SIZE,
|
| 1266 |
+
policy,
|
| 1267 |
+
errors,
|
| 1268 |
+
warnings,
|
| 1269 |
+
f"{unit.unit_id} fisheye_right",
|
| 1270 |
+
)
|
| 1271 |
+
result["shards"]["fisheye"].update(
|
| 1272 |
+
{
|
| 1273 |
+
"left": fisheye_left_summary,
|
| 1274 |
+
"right": fisheye_right_summary,
|
| 1275 |
+
}
|
| 1276 |
+
)
|
| 1277 |
+
left_names = names_with_prefix(tar_names["fisheye"], "fisheye/left", ".png")
|
| 1278 |
+
right_names = names_with_prefix(tar_names["fisheye"], "fisheye/right", ".png")
|
| 1279 |
+
if fisheye_left_images and left_names:
|
| 1280 |
+
viz["fisheye_left"] = fisheye_left_images[pick_names(left_names, "middle")[0]]
|
| 1281 |
+
if fisheye_right_images and right_names:
|
| 1282 |
+
viz["fisheye_right"] = fisheye_right_images[pick_names(right_names, "middle")[0]]
|
| 1283 |
+
|
| 1284 |
+
cam_pose_names = names_with_prefix(tar_names["cam_pose"], "cam_pose", ".npz")
|
| 1285 |
+
cam_sequence = numbered_sequence_summary(
|
| 1286 |
+
cam_pose_names,
|
| 1287 |
+
"cam_pose",
|
| 1288 |
+
".npz",
|
| 1289 |
+
unit.expected_frames,
|
| 1290 |
+
errors,
|
| 1291 |
+
f"{unit.unit_id} cam_pose",
|
| 1292 |
+
)
|
| 1293 |
+
result["shards"]["cam_pose"].update(
|
| 1294 |
+
{
|
| 1295 |
+
**cam_sequence,
|
| 1296 |
+
"sampled": decode_npz_samples(
|
| 1297 |
+
shard_paths["cam_pose"],
|
| 1298 |
+
pick_names(cam_pose_names, policy),
|
| 1299 |
+
errors,
|
| 1300 |
+
warnings,
|
| 1301 |
+
f"{unit.unit_id} cam_pose",
|
| 1302 |
+
),
|
| 1303 |
+
}
|
| 1304 |
+
)
|
| 1305 |
+
|
| 1306 |
+
result["shards"]["masks_aux"].update(
|
| 1307 |
+
check_masks_aux(shard_paths["masks_aux"], tar_names["masks_aux"], unit, policy, errors, warnings)
|
| 1308 |
+
)
|
| 1309 |
+
result["shards"]["sam2_meta"].update(
|
| 1310 |
+
check_sam2_meta(shard_paths["sam2_meta"], tar_names["sam2_meta"], unit, context, errors, warnings)
|
| 1311 |
+
)
|
| 1312 |
+
if unit.kind == "sos":
|
| 1313 |
+
result["object_metadata"] = check_questionnaire(repo_root, unit, errors)
|
| 1314 |
+
|
| 1315 |
+
frame_counts = {
|
| 1316 |
+
"rgb": result["shards"]["rgb"].get("count"),
|
| 1317 |
+
"depth": result["shards"]["depth"].get("count"),
|
| 1318 |
+
"masks": result["shards"]["masks"].get("count"),
|
| 1319 |
+
"cam_pose": result["shards"]["cam_pose"].get("count"),
|
| 1320 |
+
"fisheye_left": result["shards"]["fisheye"].get("left", {}).get("count"),
|
| 1321 |
+
"fisheye_right": result["shards"]["fisheye"].get("right", {}).get("count"),
|
| 1322 |
+
}
|
| 1323 |
+
if any(count != unit.expected_frames for count in frame_counts.values()):
|
| 1324 |
+
errors.append(f"{unit.unit_id} frame count alignment failed: {frame_counts}")
|
| 1325 |
+
result["frame_counts"] = frame_counts
|
| 1326 |
+
result["status"] = "error" if errors else ("warning" if warnings else "ok")
|
| 1327 |
+
return result, viz
|
| 1328 |
+
|
| 1329 |
+
|
| 1330 |
+
def write_markdown_summary(summary: dict[str, Any], out_path: Path) -> None:
|
| 1331 |
+
lines = [
|
| 1332 |
+
"# RPX All-Modality QA Summary",
|
| 1333 |
+
"",
|
| 1334 |
+
f"- Status: `{summary['status']}`",
|
| 1335 |
+
f"- Units checked: `{summary['units_checked']}`",
|
| 1336 |
+
f"- MOS units: `{summary['unit_counts'].get('mos', 0)}`",
|
| 1337 |
+
f"- Ego units: `{summary['unit_counts'].get('ego', 0)}`",
|
| 1338 |
+
f"- SOS units: `{summary['unit_counts'].get('sos', 0)}`",
|
| 1339 |
+
f"- Errors: `{summary['error_count']}`",
|
| 1340 |
+
f"- Warnings: `{summary['warning_count']}`",
|
| 1341 |
+
f"- Rerun recording: `{summary.get('rrd_path')}`",
|
| 1342 |
+
f"- Contact sheet: `{summary.get('contact_sheet_path')}`",
|
| 1343 |
+
"",
|
| 1344 |
+
"## Coverage",
|
| 1345 |
+
"",
|
| 1346 |
+
"- RGB, depth, masks, fisheye left/right, camera poses, masks_aux, and SAM2 metadata shards.",
|
| 1347 |
+
"- MOS split tables, scene ESD weights/tier JSON, Data Studio preview images, ego previews, and mask-object manifest joins.",
|
| 1348 |
+
"- SOS selected-object table, object catalog, object metadata, and questionnaires.",
|
| 1349 |
+
"- Parquet row counts and frame-manifest unit counts when pyarrow is available.",
|
| 1350 |
+
"",
|
| 1351 |
+
]
|
| 1352 |
+
if summary["errors_by_unit"]:
|
| 1353 |
+
lines.extend(["## Error Examples", ""])
|
| 1354 |
+
for item in summary["errors_by_unit"][:20]:
|
| 1355 |
+
lines.append(f"- `{item['unit_id']}`: {item['errors'][0]}")
|
| 1356 |
+
lines.append("")
|
| 1357 |
+
if summary["warnings_by_unit"]:
|
| 1358 |
+
lines.extend(["## Warning Examples", ""])
|
| 1359 |
+
for item in summary["warnings_by_unit"][:20]:
|
| 1360 |
+
lines.append(f"- `{item['unit_id']}`: {item['warnings'][0]}")
|
| 1361 |
+
lines.append("")
|
| 1362 |
+
out_path.write_text("\n".join(lines), encoding="utf-8")
|
| 1363 |
+
|
| 1364 |
+
|
| 1365 |
+
def main() -> None:
|
| 1366 |
+
args = parse_args()
|
| 1367 |
+
repo_root = args.repo_root.resolve()
|
| 1368 |
+
out_dir = repo_path(repo_root, args.out_dir)
|
| 1369 |
+
out_dir.mkdir(parents=True, exist_ok=True)
|
| 1370 |
+
kinds = {item.strip() for item in args.kinds.split(",") if item.strip()}
|
| 1371 |
+
invalid_kinds = kinds - {"mos", "sos", "ego"}
|
| 1372 |
+
if invalid_kinds:
|
| 1373 |
+
raise SystemExit(f"invalid --kinds values: {sorted(invalid_kinds)}")
|
| 1374 |
+
|
| 1375 |
+
units, context = build_units(repo_root, kinds)
|
| 1376 |
+
if args.limit is not None:
|
| 1377 |
+
units = units[: args.limit]
|
| 1378 |
+
|
| 1379 |
+
report_path = out_dir / "all_modalities_report.json"
|
| 1380 |
+
markdown_path = out_dir / "all_modalities_summary.md"
|
| 1381 |
+
contact_sheet_path = out_dir / "all_modalities_contact_sheet.jpg"
|
| 1382 |
+
rrd_path = out_dir / "rpx_all_modalities_visual_check.rrd"
|
| 1383 |
+
|
| 1384 |
+
global_summary = check_global_manifests(repo_root, units, context)
|
| 1385 |
+
rr = None if args.skip_rerun else open_rerun(rrd_path)
|
| 1386 |
+
tiles: list[Image.Image] = []
|
| 1387 |
+
results: list[dict[str, Any]] = []
|
| 1388 |
+
for index, unit in enumerate(tqdm(units, desc="checking RPX units")):
|
| 1389 |
+
result, viz = check_unit(repo_root, unit, context, args.sample_policy)
|
| 1390 |
+
results.append(result)
|
| 1391 |
+
if not args.skip_contact_sheet:
|
| 1392 |
+
rendered_viz = dict(viz)
|
| 1393 |
+
if "depth" in rendered_viz:
|
| 1394 |
+
rendered_viz["depth"] = depth_to_uint8(rendered_viz["depth"])
|
| 1395 |
+
if "mask" in rendered_viz:
|
| 1396 |
+
rendered_viz["mask"] = colorize_mask(rendered_viz["mask"])
|
| 1397 |
+
tiles.append(make_unit_tile(unit, result, rendered_viz, args.contact_thumb_width))
|
| 1398 |
+
if rr is not None:
|
| 1399 |
+
log_to_rerun(rr, index, unit, result, viz, args.image_width)
|
| 1400 |
+
|
| 1401 |
+
if tiles:
|
| 1402 |
+
make_contact_sheet(tiles, contact_sheet_path, args.contact_cols)
|
| 1403 |
+
|
| 1404 |
+
unit_counts = Counter(result["kind"] for result in results)
|
| 1405 |
+
errors_by_unit = [
|
| 1406 |
+
{"unit_id": result["unit_id"], "errors": result["errors"]}
|
| 1407 |
+
for result in results
|
| 1408 |
+
if result["errors"]
|
| 1409 |
+
]
|
| 1410 |
+
warnings_by_unit = [
|
| 1411 |
+
{"unit_id": result["unit_id"], "warnings": result["warnings"]}
|
| 1412 |
+
for result in results
|
| 1413 |
+
if result["warnings"]
|
| 1414 |
+
]
|
| 1415 |
+
error_count = sum(len(result["errors"]) for result in results) + len(global_summary["errors"])
|
| 1416 |
+
warning_count = sum(len(result["warnings"]) for result in results) + len(global_summary["warnings"])
|
| 1417 |
+
status = "error" if error_count else ("warning" if warning_count else "ok")
|
| 1418 |
+
summary = {
|
| 1419 |
+
"repo_root": str(repo_root),
|
| 1420 |
+
"sample_policy": args.sample_policy,
|
| 1421 |
+
"status": status,
|
| 1422 |
+
"units_checked": len(results),
|
| 1423 |
+
"unit_counts": dict(unit_counts),
|
| 1424 |
+
"error_count": error_count,
|
| 1425 |
+
"warning_count": warning_count,
|
| 1426 |
+
"global": global_summary,
|
| 1427 |
+
"errors_by_unit": errors_by_unit,
|
| 1428 |
+
"warnings_by_unit": warnings_by_unit,
|
| 1429 |
+
"rrd_path": str(rrd_path) if rr is not None else None,
|
| 1430 |
+
"contact_sheet_path": str(contact_sheet_path) if tiles else None,
|
| 1431 |
+
"results": results,
|
| 1432 |
+
}
|
| 1433 |
+
report_path.write_text(json.dumps(summary, indent=2), encoding="utf-8")
|
| 1434 |
+
write_markdown_summary(summary, markdown_path)
|
| 1435 |
+
|
| 1436 |
+
print(f"status: {status}")
|
| 1437 |
+
print(f"units checked: {len(results)}")
|
| 1438 |
+
print(f"errors: {error_count}")
|
| 1439 |
+
print(f"warnings: {warning_count}")
|
| 1440 |
+
print(f"wrote {report_path}")
|
| 1441 |
+
print(f"wrote {markdown_path}")
|
| 1442 |
+
if tiles:
|
| 1443 |
+
print(f"wrote {contact_sheet_path}")
|
| 1444 |
+
if rr is not None:
|
| 1445 |
+
print(f"wrote {rrd_path}")
|
| 1446 |
+
if error_count or (warning_count and args.fail_on_warnings):
|
| 1447 |
+
raise SystemExit(1)
|
| 1448 |
+
|
| 1449 |
+
|
| 1450 |
+
if __name__ == "__main__":
|
| 1451 |
+
main()
|
rerun_check/download_ego.py
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Download RPX egocentric MOS shards through the Hugging Face Hub API."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
def parse_args() -> argparse.Namespace:
|
| 11 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 12 |
+
parser.add_argument("--repo-id", default="IRVLUTD/RPX")
|
| 13 |
+
parser.add_argument(
|
| 14 |
+
"--scenes",
|
| 15 |
+
nargs="+",
|
| 16 |
+
default=None,
|
| 17 |
+
help="Scene IDs to download, e.g. scene001 scene002. Default: all ego scene shards.",
|
| 18 |
+
)
|
| 19 |
+
parser.add_argument("--local-dir", type=Path, default=Path("rpx_ego_download"))
|
| 20 |
+
parser.add_argument(
|
| 21 |
+
"--include-preview",
|
| 22 |
+
action="store_true",
|
| 23 |
+
help="Also download ego preview/Data Studio files.",
|
| 24 |
+
)
|
| 25 |
+
return parser.parse_args()
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
def main() -> None:
|
| 29 |
+
args = parse_args()
|
| 30 |
+
|
| 31 |
+
from huggingface_hub import snapshot_download
|
| 32 |
+
|
| 33 |
+
scene_patterns = (
|
| 34 |
+
[f"scenes/{scene_id}/ego/**" for scene_id in args.scenes]
|
| 35 |
+
if args.scenes
|
| 36 |
+
else ["scenes/*/ego/**"]
|
| 37 |
+
)
|
| 38 |
+
allow_patterns = [
|
| 39 |
+
"README.md",
|
| 40 |
+
"manifest/current.json",
|
| 41 |
+
"manifest/ego_frames_v1.csv",
|
| 42 |
+
"manifest/ego_frames_v1.parquet",
|
| 43 |
+
"manifest/frames_v2.parquet",
|
| 44 |
+
"manifest/mos_ego_mask_object_map_v1.csv",
|
| 45 |
+
"manifest/mos_ego_mask_object_map_v1.parquet",
|
| 46 |
+
*scene_patterns,
|
| 47 |
+
]
|
| 48 |
+
if args.include_preview:
|
| 49 |
+
allow_patterns.extend(
|
| 50 |
+
[
|
| 51 |
+
"preview/ego_preview.csv",
|
| 52 |
+
"preview/ego_preview.parquet",
|
| 53 |
+
"preview/image_examples/ego_preview/**",
|
| 54 |
+
]
|
| 55 |
+
)
|
| 56 |
+
|
| 57 |
+
local_dir = snapshot_download(
|
| 58 |
+
repo_id=args.repo_id,
|
| 59 |
+
repo_type="dataset",
|
| 60 |
+
local_dir=args.local_dir,
|
| 61 |
+
allow_patterns=allow_patterns,
|
| 62 |
+
)
|
| 63 |
+
print(local_dir)
|
| 64 |
+
print("downloaded ego patterns:")
|
| 65 |
+
for pattern in allow_patterns:
|
| 66 |
+
print(f" {pattern}")
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
if __name__ == "__main__":
|
| 70 |
+
main()
|
rerun_check/download_rgbd_segmentation.py
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Download RPX RGB-D segmentation shards through the published Quick Start API."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def parse_args() -> argparse.Namespace:
|
| 10 |
+
parser = argparse.ArgumentParser(
|
| 11 |
+
description="Download RPX rgbd_segmentation shards for all difficulty splits."
|
| 12 |
+
)
|
| 13 |
+
parser.add_argument("--repo-id", default="IRVLUTD/RPX")
|
| 14 |
+
parser.add_argument(
|
| 15 |
+
"--splits",
|
| 16 |
+
nargs="+",
|
| 17 |
+
default=["easy", "medium", "hard"],
|
| 18 |
+
choices=["easy", "medium", "hard"],
|
| 19 |
+
)
|
| 20 |
+
return parser.parse_args()
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def main() -> None:
|
| 24 |
+
args = parse_args()
|
| 25 |
+
|
| 26 |
+
from rpx_benchmark.dataset_hub import download_for_task
|
| 27 |
+
|
| 28 |
+
for split in args.splits:
|
| 29 |
+
result = download_for_task(
|
| 30 |
+
task="rgbd_segmentation",
|
| 31 |
+
split=split,
|
| 32 |
+
repo_id=args.repo_id,
|
| 33 |
+
)
|
| 34 |
+
print(f"{split}: {result.local_dir}")
|
| 35 |
+
print(f" matched scenes: {len(result.matched_scenes)}")
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
if __name__ == "__main__":
|
| 39 |
+
main()
|
| 40 |
+
|
rerun_check/make_rerun_check.py
ADDED
|
@@ -0,0 +1,379 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Build a Rerun visual QA recording for RPX RGB/depth/mask samples.
|
| 3 |
+
|
| 4 |
+
The default run checks one representative middle frame for every MOS
|
| 5 |
+
scene-phase listed in preview/data_studio_preview.csv: 100 scenes x 3 phases.
|
| 6 |
+
It writes:
|
| 7 |
+
|
| 8 |
+
- out/rpx_visual_check.rrd: Rerun recording for interactive inspection.
|
| 9 |
+
- out/rpx_visual_contact_sheet.jpg: overview grid using the preview composites.
|
| 10 |
+
- out/visual_check_report.json: structural and per-sample QA summary.
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
from __future__ import annotations
|
| 14 |
+
|
| 15 |
+
import argparse
|
| 16 |
+
import csv
|
| 17 |
+
import json
|
| 18 |
+
import tarfile
|
| 19 |
+
from dataclasses import asdict, dataclass
|
| 20 |
+
from pathlib import Path
|
| 21 |
+
from typing import Iterable
|
| 22 |
+
|
| 23 |
+
import numpy as np
|
| 24 |
+
from PIL import Image, ImageDraw, ImageFont
|
| 25 |
+
from tqdm import tqdm
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
@dataclass
|
| 29 |
+
class SampleResult:
|
| 30 |
+
index: int
|
| 31 |
+
scene_phase: str
|
| 32 |
+
scene_id: str
|
| 33 |
+
phase_index: int
|
| 34 |
+
difficulty: str
|
| 35 |
+
rgb_path: str
|
| 36 |
+
depth_path: str
|
| 37 |
+
mask_path: str
|
| 38 |
+
rgb_frames: int
|
| 39 |
+
depth_frames: int
|
| 40 |
+
mask_frames: int
|
| 41 |
+
frame_index: int
|
| 42 |
+
rgb_size: tuple[int, int]
|
| 43 |
+
depth_size: tuple[int, int]
|
| 44 |
+
mask_size: tuple[int, int]
|
| 45 |
+
depth_min: int
|
| 46 |
+
depth_max: int
|
| 47 |
+
depth_nonzero_fraction: float
|
| 48 |
+
mask_instance_count: int
|
| 49 |
+
mask_nonzero_fraction: float
|
| 50 |
+
status: str
|
| 51 |
+
notes: list[str]
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def parse_args() -> argparse.Namespace:
|
| 55 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 56 |
+
parser.add_argument(
|
| 57 |
+
"--repo-root",
|
| 58 |
+
type=Path,
|
| 59 |
+
default=Path(__file__).resolve().parents[1],
|
| 60 |
+
help="RPX dataset repository root or downloaded local_dir.",
|
| 61 |
+
)
|
| 62 |
+
parser.add_argument(
|
| 63 |
+
"--rows-csv",
|
| 64 |
+
type=Path,
|
| 65 |
+
default=Path("preview/data_studio_preview.csv"),
|
| 66 |
+
help="CSV containing scene_phase and source shard paths.",
|
| 67 |
+
)
|
| 68 |
+
parser.add_argument("--out-dir", type=Path, default=Path("rerun_check/out"))
|
| 69 |
+
parser.add_argument("--limit", type=int, default=None)
|
| 70 |
+
parser.add_argument(
|
| 71 |
+
"--one-per-scene",
|
| 72 |
+
action="store_true",
|
| 73 |
+
help="Sample only the first listed phase for each scene instead of all 300 scene-phases.",
|
| 74 |
+
)
|
| 75 |
+
parser.add_argument(
|
| 76 |
+
"--frame-index",
|
| 77 |
+
type=int,
|
| 78 |
+
default=None,
|
| 79 |
+
help="Frame index to inspect. Default: middle frame of each RGB tar.",
|
| 80 |
+
)
|
| 81 |
+
parser.add_argument("--image-width", type=int, default=480)
|
| 82 |
+
parser.add_argument("--contact-thumb-width", type=int, default=220)
|
| 83 |
+
parser.add_argument("--skip-rerun", action="store_true")
|
| 84 |
+
return parser.parse_args()
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
def repo_path(repo_root: Path, value: str | Path) -> Path:
|
| 88 |
+
path = Path(value)
|
| 89 |
+
return path if path.is_absolute() else repo_root / path
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
def load_rows(csv_path: Path, *, one_per_scene: bool, limit: int | None) -> list[dict[str, str]]:
|
| 93 |
+
rows: list[dict[str, str]] = []
|
| 94 |
+
seen_scenes: set[str] = set()
|
| 95 |
+
with csv_path.open(newline="") as handle:
|
| 96 |
+
for row in csv.DictReader(handle):
|
| 97 |
+
if one_per_scene and row["scene_id"] in seen_scenes:
|
| 98 |
+
continue
|
| 99 |
+
seen_scenes.add(row["scene_id"])
|
| 100 |
+
rows.append(row)
|
| 101 |
+
if limit is not None and len(rows) >= limit:
|
| 102 |
+
break
|
| 103 |
+
return rows
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
def tar_png_names(path: Path) -> list[str]:
|
| 107 |
+
with tarfile.open(path) as tar:
|
| 108 |
+
return sorted(
|
| 109 |
+
member.name
|
| 110 |
+
for member in tar.getmembers()
|
| 111 |
+
if member.isfile() and member.name.lower().endswith(".png")
|
| 112 |
+
)
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
def read_png_from_tar(path: Path, index: int) -> tuple[Image.Image, int, str]:
|
| 116 |
+
with tarfile.open(path) as tar:
|
| 117 |
+
names = sorted(
|
| 118 |
+
member.name
|
| 119 |
+
for member in tar.getmembers()
|
| 120 |
+
if member.isfile() and member.name.lower().endswith(".png")
|
| 121 |
+
)
|
| 122 |
+
if not names:
|
| 123 |
+
raise ValueError(f"no PNG frames in {path}")
|
| 124 |
+
safe_index = min(max(index, 0), len(names) - 1)
|
| 125 |
+
extracted = tar.extractfile(names[safe_index])
|
| 126 |
+
if extracted is None:
|
| 127 |
+
raise ValueError(f"could not read {names[safe_index]} from {path}")
|
| 128 |
+
image = Image.open(extracted).copy()
|
| 129 |
+
return image, len(names), names[safe_index]
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
def resize_width(image: Image.Image, width: int, *, nearest: bool = False) -> Image.Image:
|
| 133 |
+
if image.width <= width:
|
| 134 |
+
return image.copy()
|
| 135 |
+
height = max(1, round(image.height * width / image.width))
|
| 136 |
+
method = Image.Resampling.NEAREST if nearest else Image.Resampling.LANCZOS
|
| 137 |
+
return image.resize((width, height), method)
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
def depth_to_uint8(depth: Image.Image) -> Image.Image:
|
| 141 |
+
arr = np.asarray(depth).astype(np.float32)
|
| 142 |
+
valid = arr > 0
|
| 143 |
+
if not valid.any():
|
| 144 |
+
return Image.fromarray(np.zeros(arr.shape, dtype=np.uint8), mode="L")
|
| 145 |
+
lo, hi = np.percentile(arr[valid], [2, 98])
|
| 146 |
+
if hi <= lo:
|
| 147 |
+
hi = lo + 1
|
| 148 |
+
norm = np.clip((arr - lo) / (hi - lo), 0, 1)
|
| 149 |
+
norm[~valid] = 0
|
| 150 |
+
return Image.fromarray((norm * 255).astype(np.uint8), mode="L")
|
| 151 |
+
|
| 152 |
+
|
| 153 |
+
def colorize_mask(mask: Image.Image) -> Image.Image:
|
| 154 |
+
arr = np.asarray(mask)
|
| 155 |
+
rgb = np.zeros((*arr.shape, 3), dtype=np.uint8)
|
| 156 |
+
palette = np.asarray(
|
| 157 |
+
[
|
| 158 |
+
[244, 103, 83],
|
| 159 |
+
[79, 210, 154],
|
| 160 |
+
[255, 184, 77],
|
| 161 |
+
[180, 101, 255],
|
| 162 |
+
[64, 182, 255],
|
| 163 |
+
[255, 99, 179],
|
| 164 |
+
[141, 224, 83],
|
| 165 |
+
[255, 226, 102],
|
| 166 |
+
[102, 232, 232],
|
| 167 |
+
[231, 91, 116],
|
| 168 |
+
[161, 135, 255],
|
| 169 |
+
[76, 217, 100],
|
| 170 |
+
],
|
| 171 |
+
dtype=np.uint8,
|
| 172 |
+
)
|
| 173 |
+
for value in np.unique(arr):
|
| 174 |
+
if value == 0:
|
| 175 |
+
continue
|
| 176 |
+
rgb[arr == value] = palette[(int(value) - 1) % len(palette)]
|
| 177 |
+
return Image.fromarray(rgb, mode="RGB")
|
| 178 |
+
|
| 179 |
+
|
| 180 |
+
def sample_status(
|
| 181 |
+
row: dict[str, str],
|
| 182 |
+
rgb: Image.Image,
|
| 183 |
+
depth: Image.Image,
|
| 184 |
+
mask: Image.Image,
|
| 185 |
+
rgb_frames: int,
|
| 186 |
+
depth_frames: int,
|
| 187 |
+
mask_frames: int,
|
| 188 |
+
frame_index: int,
|
| 189 |
+
rgb_path: Path,
|
| 190 |
+
depth_path: Path,
|
| 191 |
+
mask_path: Path,
|
| 192 |
+
) -> SampleResult:
|
| 193 |
+
notes: list[str] = []
|
| 194 |
+
if not (rgb.size == depth.size == mask.size):
|
| 195 |
+
notes.append(f"size mismatch: rgb={rgb.size} depth={depth.size} mask={mask.size}")
|
| 196 |
+
if not (rgb_frames == depth_frames == mask_frames):
|
| 197 |
+
notes.append(
|
| 198 |
+
f"frame count mismatch: rgb={rgb_frames} depth={depth_frames} mask={mask_frames}"
|
| 199 |
+
)
|
| 200 |
+
|
| 201 |
+
depth_arr = np.asarray(depth)
|
| 202 |
+
mask_arr = np.asarray(mask)
|
| 203 |
+
depth_nonzero_fraction = float(np.count_nonzero(depth_arr) / depth_arr.size)
|
| 204 |
+
mask_nonzero_fraction = float(np.count_nonzero(mask_arr) / mask_arr.size)
|
| 205 |
+
mask_values = np.unique(mask_arr)
|
| 206 |
+
mask_instance_count = int(np.count_nonzero(mask_values))
|
| 207 |
+
if depth_nonzero_fraction <= 0:
|
| 208 |
+
notes.append("depth has no nonzero values")
|
| 209 |
+
if mask_instance_count == 0:
|
| 210 |
+
notes.append("mask has no foreground instances")
|
| 211 |
+
|
| 212 |
+
return SampleResult(
|
| 213 |
+
index=-1,
|
| 214 |
+
scene_phase=row["scene_phase"],
|
| 215 |
+
scene_id=row["scene_id"],
|
| 216 |
+
phase_index=int(row["phase_index"]),
|
| 217 |
+
difficulty=row["difficulty"],
|
| 218 |
+
rgb_path=str(rgb_path),
|
| 219 |
+
depth_path=str(depth_path),
|
| 220 |
+
mask_path=str(mask_path),
|
| 221 |
+
rgb_frames=rgb_frames,
|
| 222 |
+
depth_frames=depth_frames,
|
| 223 |
+
mask_frames=mask_frames,
|
| 224 |
+
frame_index=frame_index,
|
| 225 |
+
rgb_size=rgb.size,
|
| 226 |
+
depth_size=depth.size,
|
| 227 |
+
mask_size=mask.size,
|
| 228 |
+
depth_min=int(depth_arr.min()),
|
| 229 |
+
depth_max=int(depth_arr.max()),
|
| 230 |
+
depth_nonzero_fraction=depth_nonzero_fraction,
|
| 231 |
+
mask_instance_count=mask_instance_count,
|
| 232 |
+
mask_nonzero_fraction=mask_nonzero_fraction,
|
| 233 |
+
status="ok" if not notes else "warning",
|
| 234 |
+
notes=notes,
|
| 235 |
+
)
|
| 236 |
+
|
| 237 |
+
|
| 238 |
+
def make_contact_sheet(
|
| 239 |
+
repo_root: Path,
|
| 240 |
+
rows: Iterable[dict[str, str]],
|
| 241 |
+
out_path: Path,
|
| 242 |
+
thumb_width: int,
|
| 243 |
+
) -> None:
|
| 244 |
+
rows = list(rows)
|
| 245 |
+
cols = 10
|
| 246 |
+
label_h = 34
|
| 247 |
+
thumbs: list[tuple[dict[str, str], Image.Image]] = []
|
| 248 |
+
for row in rows:
|
| 249 |
+
preview_name = Path(row["image_preview_url"]).name
|
| 250 |
+
preview_path = repo_root / "preview" / "image_examples" / "preview" / "images" / preview_name
|
| 251 |
+
image = Image.open(preview_path).convert("RGB")
|
| 252 |
+
thumb_h = round(image.height * thumb_width / image.width)
|
| 253 |
+
thumb = image.resize((thumb_width, thumb_h), Image.Resampling.LANCZOS)
|
| 254 |
+
thumbs.append((row, thumb))
|
| 255 |
+
|
| 256 |
+
if not thumbs:
|
| 257 |
+
raise ValueError("no rows to render")
|
| 258 |
+
thumb_h = thumbs[0][1].height
|
| 259 |
+
rows_count = (len(thumbs) + cols - 1) // cols
|
| 260 |
+
sheet = Image.new("RGB", (cols * thumb_width, rows_count * (thumb_h + label_h)), "white")
|
| 261 |
+
draw = ImageDraw.Draw(sheet)
|
| 262 |
+
try:
|
| 263 |
+
font = ImageFont.truetype("DejaVuSans.ttf", 12)
|
| 264 |
+
except OSError:
|
| 265 |
+
font = ImageFont.load_default()
|
| 266 |
+
|
| 267 |
+
for i, (row, thumb) in enumerate(thumbs):
|
| 268 |
+
x = (i % cols) * thumb_width
|
| 269 |
+
y = (i // cols) * (thumb_h + label_h)
|
| 270 |
+
sheet.paste(thumb, (x, y))
|
| 271 |
+
label = f"{i:03d} {row['scene_phase']} {row['difficulty']}"
|
| 272 |
+
draw.rectangle((x, y + thumb_h, x + thumb_width, y + thumb_h + label_h), fill=(245, 245, 245))
|
| 273 |
+
draw.text((x + 4, y + thumb_h + 4), label, fill=(0, 0, 0), font=font)
|
| 274 |
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 275 |
+
sheet.save(out_path, quality=90)
|
| 276 |
+
|
| 277 |
+
|
| 278 |
+
def open_rerun(rrd_path: Path):
|
| 279 |
+
import rerun as rr
|
| 280 |
+
|
| 281 |
+
rr.init("rpx_visual_check", spawn=False)
|
| 282 |
+
rr.save(str(rrd_path))
|
| 283 |
+
return rr
|
| 284 |
+
|
| 285 |
+
|
| 286 |
+
def log_to_rerun(rr, index: int, row: dict[str, str], rgb: Image.Image, depth: Image.Image, mask: Image.Image) -> None:
|
| 287 |
+
if hasattr(rr, "set_time_sequence"):
|
| 288 |
+
rr.set_time_sequence("sample", index)
|
| 289 |
+
else:
|
| 290 |
+
rr.set_time("sample", sequence=index)
|
| 291 |
+
rgb_small = resize_width(rgb.convert("RGB"), 480)
|
| 292 |
+
depth_arr = np.asarray(resize_width(depth, 480, nearest=True))
|
| 293 |
+
mask_arr = np.asarray(resize_width(mask, 480, nearest=True))
|
| 294 |
+
rr.log("rpx/rgb", rr.Image(np.asarray(rgb_small)))
|
| 295 |
+
try:
|
| 296 |
+
rr.log("rpx/depth", rr.DepthImage(depth_arr, meter=1000.0))
|
| 297 |
+
except TypeError:
|
| 298 |
+
rr.log("rpx/depth", rr.DepthImage(depth_arr))
|
| 299 |
+
rr.log("rpx/masks", rr.SegmentationImage(mask_arr))
|
| 300 |
+
markdown = (
|
| 301 |
+
f"## {index:03d} {row['scene_phase']}\n\n"
|
| 302 |
+
f"- scene: `{row['scene_id']}`\n"
|
| 303 |
+
f"- phase: `{row['phase_index']}` / `{row['phase_name']}`\n"
|
| 304 |
+
f"- difficulty: `{row['difficulty']}`\n"
|
| 305 |
+
f"- rpx_ds: `{row['rpx_ds']}`\n"
|
| 306 |
+
)
|
| 307 |
+
if hasattr(rr, "TextDocument"):
|
| 308 |
+
rr.log("rpx/metadata", rr.TextDocument(markdown, media_type="text/markdown"))
|
| 309 |
+
|
| 310 |
+
|
| 311 |
+
def main() -> None:
|
| 312 |
+
args = parse_args()
|
| 313 |
+
repo_root = args.repo_root.resolve()
|
| 314 |
+
rows_csv = repo_path(repo_root, args.rows_csv)
|
| 315 |
+
out_dir = repo_path(repo_root, args.out_dir)
|
| 316 |
+
out_dir.mkdir(parents=True, exist_ok=True)
|
| 317 |
+
rrd_path = out_dir / "rpx_visual_check.rrd"
|
| 318 |
+
report_path = out_dir / "visual_check_report.json"
|
| 319 |
+
contact_sheet_path = out_dir / "rpx_visual_contact_sheet.jpg"
|
| 320 |
+
|
| 321 |
+
rows = load_rows(rows_csv, one_per_scene=args.one_per_scene, limit=args.limit)
|
| 322 |
+
make_contact_sheet(repo_root, rows, contact_sheet_path, args.contact_thumb_width)
|
| 323 |
+
|
| 324 |
+
rr = None if args.skip_rerun else open_rerun(rrd_path)
|
| 325 |
+
results: list[SampleResult] = []
|
| 326 |
+
for index, row in enumerate(tqdm(rows, desc="checking scene-phases")):
|
| 327 |
+
rgb_path = repo_path(repo_root, row["source_rgb_shard"])
|
| 328 |
+
depth_path = repo_path(repo_root, row["source_depth_shard"])
|
| 329 |
+
mask_path = repo_path(repo_root, row["source_mask_shard"])
|
| 330 |
+
rgb_names = tar_png_names(rgb_path)
|
| 331 |
+
frame_index = args.frame_index if args.frame_index is not None else len(rgb_names) // 2
|
| 332 |
+
rgb, rgb_frames, _ = read_png_from_tar(rgb_path, frame_index)
|
| 333 |
+
depth, depth_frames, _ = read_png_from_tar(depth_path, frame_index)
|
| 334 |
+
mask, mask_frames, _ = read_png_from_tar(mask_path, frame_index)
|
| 335 |
+
result = sample_status(
|
| 336 |
+
row,
|
| 337 |
+
rgb,
|
| 338 |
+
depth,
|
| 339 |
+
mask,
|
| 340 |
+
rgb_frames,
|
| 341 |
+
depth_frames,
|
| 342 |
+
mask_frames,
|
| 343 |
+
frame_index,
|
| 344 |
+
rgb_path,
|
| 345 |
+
depth_path,
|
| 346 |
+
mask_path,
|
| 347 |
+
)
|
| 348 |
+
result.index = index
|
| 349 |
+
results.append(result)
|
| 350 |
+
if rr is not None:
|
| 351 |
+
log_to_rerun(rr, index, row, rgb, depth, mask)
|
| 352 |
+
|
| 353 |
+
warnings = [result for result in results if result.status != "ok"]
|
| 354 |
+
scene_ids = sorted({result.scene_id for result in results})
|
| 355 |
+
summary = {
|
| 356 |
+
"repo_root": str(repo_root),
|
| 357 |
+
"rows_csv": str(rows_csv),
|
| 358 |
+
"samples_checked": len(results),
|
| 359 |
+
"unique_scenes": len(scene_ids),
|
| 360 |
+
"scene_phase_mode": "one_per_scene" if args.one_per_scene else "all_scene_phases",
|
| 361 |
+
"rrd_path": str(rrd_path) if rr is not None else None,
|
| 362 |
+
"contact_sheet_path": str(contact_sheet_path),
|
| 363 |
+
"warnings": len(warnings),
|
| 364 |
+
"warning_scene_phases": [result.scene_phase for result in warnings],
|
| 365 |
+
"results": [asdict(result) for result in results],
|
| 366 |
+
}
|
| 367 |
+
report_path.write_text(json.dumps(summary, indent=2), encoding="utf-8")
|
| 368 |
+
print(f"wrote {report_path}")
|
| 369 |
+
print(f"wrote {contact_sheet_path}")
|
| 370 |
+
if rr is not None:
|
| 371 |
+
print(f"wrote {rrd_path}")
|
| 372 |
+
if warnings:
|
| 373 |
+
print(f"warnings: {len(warnings)}")
|
| 374 |
+
else:
|
| 375 |
+
print("warnings: 0")
|
| 376 |
+
|
| 377 |
+
|
| 378 |
+
if __name__ == "__main__":
|
| 379 |
+
main()
|
rerun_check/requirements.txt
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
huggingface_hub
|
| 2 |
+
numpy
|
| 3 |
+
pillow
|
| 4 |
+
pyarrow
|
| 5 |
+
rerun-sdk
|
| 6 |
+
tqdm
|