NoPeBench / LAYOUT.md
PeterDAI's picture
Add files using upload-large-folder tool
85d0466 verified
|
Raw History Blame Contribute Delete
12 kB
# NoPeBench layout
Every path below is relative to the dataset root (`NOPE_DATA`). Media files are the original renders, unchanged. JSON, JSONL
and YAML files carry no absolute paths: any path inside them is relative to the dataset root. Ids:
- `episode_id`: `<scene_id>__fpNNN` (full episode) or `<scene_id>__fpNNN__nwK` (near-wall clip cut from that episode's route).
- `route_id`: `<scene_id>__<n|d|v|p>NNN` (Task 1/2) or `<scene_id>__cNN_<kind>` (Task 2 open routes).
- `case_id`: `wbench_caseN` (WBench) or `wbench_dynNNN` (moving obstacles).
- `generator id`: `lingbot_world_2`, `hy_worldplay`, `echo_wm`, `evoke_turbo`, `worldplay2`, `hy_nomas`.
## Repository and extracted tree
The repository holds `README.md`, `LAYOUT.md`, `manifest/`, `text_prompts/` as plain files and everything else in
`archives/*.tar` (GNU tar, uncompressed, paths relative to the dataset root). Extracting every archive into the dataset root
gives this tree:
```
README.md
LAYOUT.md
manifest/
scenes/<scene_id>/ <- archives/scenes.tar
train/episodes/ <- archives/train-episodes-NNNNN-of-00008.tar
train/crops/ <- archives/train-crops-NNNNN-of-00025.tar
train/rows/ <- archives/train-rows.tar
val/ <- archives/val.tar
task1/ <- archives/task1.tar
task2/ <- archives/task2.tar
task3/ <- archives/task3.tar
text_prompts/
```
Shards hold whole id folders in sorted id order: an episode, crop, route or case folder is never split across two archives.
`manifest/archives.json`: `{"archives": [{"file", "bytes", "sha256", "members" (files), "extracted_bytes", "contains"
(the id-level paths in the archive, e.g. "train/episodes/AncientRuins__fp000")}]}`.
## manifest/
| file | format |
|---|---|
| `sha256.txt` | `<sha256> <path>` for every file of the extracted tree except itself and the card `README.md` |
| `archives.json` | every archive with its bytes, sha256, member count, extracted size and the id-level paths it holds |
| `files.tsv` | `<path>\t<bytes>` for every file except itself, `sha256.txt` and `README.md` |
| `train_episodes.txt` | the 729 training ids (509 full episodes, 220 near-wall clips), one per line |
| `val_episodes.txt` | the 124 validation ids (93 full episodes, 31 near-wall clips) |
| `train_crops.json` | `{"seed", "passes", "rule", "encoding", "crops": [{"id", "source", "scene", "start16", "start24", "start_s", ...}]}`: how the 1,527 crops in `train/crops/` were cut |
| `train/<generator id>.txt` | the training ids that generator's heads replayed (episodes, clips and crops), in first-seen order |
| `val/<generator id>.txt` | the validation ids that generator's head selection scored |
| `scenes_train.txt`, `scenes_val.txt`, `scenes_benchmark.txt` | scene ids per role; the three sets are disjoint |
| `task1_routes.txt` | the 100 routes (= `task2_routes.txt`) |
| `task2_routes.txt` | the 100 obstacle-bound routes |
| `task2_open_routes.txt` | the 50 open routes |
| `task3_static_first_person.txt` (53), `task3_static_third_person.txt` (28), `task3_dynamic_first_person.txt` (30), `task3_dynamic_third_person.txt` (20) | Task 3 case ids |
## scenes/<scene_id>/
Occupancy maps of the Unreal levels, for labels and for the Task 2 evaluator. One root for all scenes: training,
validation and benchmark scene ids are disjoint, and the regions the open routes use are byte-identical to the
benchmark's own copy, so no route needs a second map root.
```
scenes/<scene_id>/geometry_gpu.json region list: {"regions": [{"id", "band", ...}], ...}
scenes/<scene_id>/geometry/<region>.npz occupancy of one region (packed bits: occ, reach, ground, steep, passable; voxel, floor_z, region)
```
A region is loaded as `scenes/<scene>/geometry/<region>.npz` with its entry `id == region` in `geometry_gpu.json` (the
pipeline's `load_level(root, scene, entry)` with `root` = the dataset root).
## train/ and val/
```
train/episodes/<episode_id>/
meta.json
trajectory.npz
render/ clean.mp4 (16 fps, 1280x720), first_frame.png, poses.npy, intrinsics.npy, intrinsics_native.npy, timestamps.npy, camera.jsonl, render.json
render24/ clean.mp4 (24 fps), first_frame.png, poses.npy, interpolation.json
train/crops/<crop_id>/ later-start crops of training episodes (see below)
train/rows/<generator id>/rows.jsonl.gz decision rows the heads trained on, one JSON object per line, in file order
train/rows/<generator id>/stream.json the replay order (rounds) of the training run: {"videos": [{"id", "scene", "round", ...}], ...}
val/episodes/<episode_id>/ same files as train/episodes
val/rows/<generator id>/rows.jsonl.gz validation rows of the full episodes
val/rows/<generator id>/rows_near_wall.jsonl.gz validation rows of the near-wall clips
```
Row fields are those of the training pipeline, unchanged and in the same order, except paths: `source_video` is relative to
the dataset root, for example `train/episodes/InteriorDemo_NEW__fp026/render24/clean.mp4`. Rows of `lingbot_world_2` also
carry `directory`: the folder that holds the row's camera files (`poses.npy`, `intrinsics.npy`, `timestamps.npy`), i.e. the
folder of `source_video`. The adapters read `first_frame.png` and `poses.npy`
next to `source_video`, so each `render/` and `render24/` folder is shipped whole. Per-candidate labels are inside the rows
(`policy_target`, `collision_target`, `candidate_rim_clearance_m`, `candidate_A5`, `candidate_A_slide`, ...); there is no
separate label folder.
Crops: rows of HY-WorldPlay, Echo-WM, Evoke-Turbo and WorldPlay2 also contain crops (ids `<episode_id>__cNNN`, a later start
of a training episode), shipped as
```
train/crops/<crop_id>/
crop.json {"id", "source" (episode id), "scene", "start16", "start24", "start_s", "render": {...}, "render24": {...}, "crf", ...}
render/ clean.mp4 (16 fps), first_frame.png, poses.npy, intrinsics.npy, intrinsics_native.npy, timestamps.npy
render24/ clean.mp4 (24 fps), first_frame.png, poses.npy
```
All 1,527 crops that the four streams list are included (`manifest/train/<generator id>.txt` says which ones each run
replayed). They were cut from the episode with the parameters in `manifest/train_crops.json` (frames from `start16` /
`start24` on, one x264 pass at crf 10).
53 validation episodes have no `render24/poses.npy`, as in the source. Of the 24 fps selections only Hy-Nomas's used them,
and its adapter reads `render/poses.npy`.
Validation episodes and scenes are neither training nor benchmark scenes. `manifest/val/<generator id>.txt` lists the subset each
generator's selection used (LingBot-World 2.0 and Hy-Nomas: all; the others: an even spread of the full episodes plus all 31 clips).
## task1/
```
task1/rows/<generator id>.jsonl.gz decision rows on the 100 routes (teacher-forced replay of the true history plus the Unreal reference)
task1/replays/<generator id>/<pair_id>/render/ 16 fps replay: clean.mp4, first_frame.png, poses.npy, intrinsics*.npy, timestamps.npy, ...
task1/replays/<generator id>/<pair_id>/render24/ 24 fps replay: clean.mp4, first_frame.png, poses.npy, interpolation.json
task1/replays/<generator id>/<pair_id>/trajectory.npz
```
Each generator's replay folder is shipped whole as the pipeline built it: `render/` only for `lingbot_world_2` and
`worldplay2`, `render24/` only for `hy_worldplay` and `evoke_turbo`, both for `echo_wm` and `hy_nomas` (whose adapter reads
`render/poses.npy` beside `render24/clean.mp4`). Identical files across generators are the same bytes.
A row's `pair_id` is the route id, with the suffix `__lead` for the 51 routes whose package is the random-lead version
(`task2/routes/<route_id>/route.json` says which). Row paths: `source_video` -> `task1/replays/...`, `bench_package` ->
`task2/routes/<route_id>/fps16`, `reference_video` -> `task2/routes/<route_id>/reference/reference.mp4`, with a frame-slice
suffix `[N:]` for the routes whose reference starts at frame 0 of the history (continuation = frames N on).
## task2/
```
task2/routes/<route_id>/
route.json {"route_id", "scene", "version": "original" | "random_lead", "lead_s", "reference_starts_at": "handoff" | "history_start", "case_kind", "entity", "handoff_frame16", "pair_id_task1"}
case/ the route record the evaluator reads: case.json, trajectory.npz, render/ (render up to the hand-off: clean.mp4, poses.npy, intrinsics*.npy, timestamps.npy, first_frame.png, render.json)
fps16/ generator input at 16 fps: history.mp4, handoff.png, poses.npy, intrinsics.npy, intrinsics_native.npy, command.json, prompt.txt, prompts.json, meta.json
fps16/eval/ evaluator-only ground truth: reference_poses.npy, handoff_mask.png, handoff_instance_mask.png (93 routes), handoff_depth.npy, obstacle_object.json, meta.json
fps24/ the same package at 24 fps (eval/ without meta.json, as in the source)
reference/ Unreal Engine reference execution: reference.mp4, reference.json (83 routes)
task2/open_routes/<route_id>/
route.json {"route_id", "scene", "version": "open", "lead_s": null, "reference_starts_at": "handoff", "case_kind": "control", "control_set", "entity", "handoff_frame16"}
case/, fps16/, fps24/ as above (fps16/eval/: reference_poses.npy, meta.json, handoff_depth.npy for 38 routes; fps24/eval/ the same without meta.json; there is no obstacle)
reference/ reference.mp4, reference_true_poses.npy
```
`reference_starts_at`: `handoff` means `reference.mp4` is the 81-frame continuation after the hand-off; `history_start`
(5 routes) means it starts at frame 0 of the history and the continuation is frames `handoff_frame:`. The maps of every route
and open route are `scenes/<scene>/` (the field `scene_dataset` of the open routes' `case.json` is dropped).
The one non-English value of the source records is translated: `case.json` `rule.cls` is `through` (the route builder's
class of a commanded path that crosses the obstacle; no reader branches on it).
## task3/
```
task3/<group>/<case_id>/ group: static_first_person, static_third_person, dynamic_first_person, dynamic_third_person
case.json {"case_id", "group", "perspective", "obstacle", "actions": [{"action", "seconds"}], "action_kind", "per_frame_action", "frames": 129, "fps": 16, "image_size", "source": {"dataset": "WBench", "case_id"} | {"dataset": "generated", "image"}, "dynamic" (moving-obstacle cases)}
lingbot_world_2/ the full 8 s input (129 frames at 16 fps): handoff.png (the start image), poses.npy, intrinsics.npy, prompt.txt (scene caption), meta.json
default/ the package the other five generators read: handoff.png, poses.npy, intrinsics.npy, prompt.txt, prompts.json, command.json, meta.json
```
`default/` holds the first 5 s (81 frames) for the first-person groups and the full 8 s for the third-person groups, as in the paper's runs.
The start image is `handoff.png` (identical in both packages). The text-prompt sentence is in `text_prompts/`.
## text_prompts/
| file | content |
|---|---|
| `task2.json` | `{route_id: {"base": caption, "added": sentence, "prompt": base + " " + sentence, "name": obstacle, "side", "distance_m", "kind"}}` for the 100 routes (same structure as the pipeline's `l12.json`) |
| `task3_static.json` | `{case_id: {"base", "added", "prompt", "target", "side"}}` for the 81 static cases |
| `task3_dynamic.json` | `{case_id: {"base", "added", "prompt", "target", "side", "motion", "group"}}` for the 50 dynamic cases |
| `obstacle_names.json` | the obstacle name of each route, named by eye from the hand-off frame |
## Checking a download
`manifest/sha256.txt` lists the SHA-256 of every file of the extracted tree (`sha256sum -c --ignore-missing
manifest/sha256.txt` from the dataset root after a partial download); `manifest/files.tsv` lists their sizes.