physics-probe-artifacts / GENESIS_DATA.md
Agnoto's picture
Initial clean release
84f95c6 verified
|
Raw History Blame Contribute Delete
5.39 kB

Reading the released Genesis data

Download guide · Reproduction guide

Select the inputs for your experiment

Archive Videos Original package directory under data/genesis/
raw-genesis-main-001.zip 1332 Genesis_受控实验对应包_20261009
raw-genesis-viewpoints-001.zip 840 Genesis_四套扩展数据补充包_20261024
raw-genesis-new-shapes-001.zip 840 Genesis_新形状补充包_方块与圆柱_20261107
raw-genesis-materials-001.zip 1440 Genesis_材质补充包_20261109
raw-genesis-decorrelated-friction-001.zip 128 Genesis_P1-4去相关补充包_20261106

All five ZIPs extract at the code repository root. Use SAMPLES.csv within each package, or the combined GENESIS_SAMPLES.csv, to locate clips and their states. These indexes use paths relative to the repository root. The three split_91801, split_91802 and split_91803 columns retain the experimental grouped partitions.

The viewpoint package contains the paper's mass/friction/constant-velocity subset. Its saved clips contain the observation prefix; associated simulator states are copied from their main-set trajectories. The shape package includes its 200-video mass supplement under 05_质量批补充_20261108/. The decorrelated package contains the 128 friction videos used by the paper.

Load a clip with NumPy

Run from the code repository root after installing raw-genesis-main-001.zip:

import csv
from pathlib import Path
import numpy as np

root = Path.cwd()
index = root / "data/genesis/Genesis_受控实验对应包_20261009/SAMPLES.csv"
with index.open(encoding="utf-8", newline="") as stream:
    sample = next(csv.DictReader(stream))

with np.load(root / sample["video_path"], allow_pickle=False) as video:
    rgb = video["rgb"]
    target_mask = video["target_mask"]
    print(sample["episode_id"], rgb.shape, rgb.dtype, target_mask.shape)

with np.load(root / sample["states_path"], allow_pickle=False) as states:
    print("State arrays:", states.files)

print("First partition:", sample["split_91801"])

rgb uses (time, height, width, channels) and target_mask uses (time, height, width). State-array names and trajectory duration depend on the scenario. The completion JSON files alongside each video record contain the physical/rendering parameters.

Input windows and labels

Use the corresponding experiment's sampling protocol. The observation-control labels distinguish w32 (frames 0–31) and w33 (frames 0–32). Their label files and condition_frame_indices.json accompany the main/viewpoint/new-shape packages where applicable and also remain in manifests-001.zip.

The main-set state/parameter pipeline has its own prefix lengths and sampling rules, including the shorter free-fall observations. The observation-control w32/w33 convention is specific to those controls.

Connect raw data to the archived pipelines

For the main state/parameter pipeline, set DATA_ROOT to the absolute data/genesis/ path. Its loader expects:

DATA_ROOT/
  Genesis_受控实验对应包_20261009/
    01_数据/<task>/<episode_id>/video.npz
    01_数据/<task>/<episode_id>/states.npz
    04_索引与验收/原始锁定清单.json

The existing main-set run commands also describe placing/linking the code checkout's code/genesis_states_dynamics/data_generation/ at 03_代码与协议/ when needed by the original pipeline.

Observation-control scripts use the prepared project layout described in their run commands. The raw package names map as follows:

Released package Archived project alias
Genesis_受控实验对应包_20261009 genesis_controlled_pack
Genesis_四套扩展数据补充包_20261024 genesis_extension_pack
Genesis_新形状补充包_方块与圆柱_20261107 genesis_new_shapes_pack
Genesis_材质补充包_20261109 genesis_material_pack

That project uses 01_data, 02_labels_and_splits, 03_code_and_protocol and 04_index_and_audit aliases for the corresponding original subdirectories. Its DATA_ROOT points to the prepared project root, including code and feature/result outputs. Resolve raw sample locations through SAMPLES.csv when constructing those aliases. Resource paths in the release are relative to the corresponding package root. Use the released indexes to locate samples.

The raw data and trained heads support feature extraction and inference. Generate predictions and evaluation results with the experiment code. Full feature extraction also needs the official model checkpoints and experiment environments. The downloadable code documents each setup separately.

Material dataset notes

The material package keeps all 1440 videos used in the experiment, including twelve cylinder clips exceeding the original internal angular-speed threshold (nine rubber and three stone). It includes small source texture/mesh assets alongside the original data layout. The five sets each contain 288 videos; orig/yaw35/elev15 are three views of design A, and box/cylinder use paired design-B conditions.