--- pretty_name: SyncSim RoboTwin 2.0 license: mit tags: - robotics - world-model - bimanual - counterfactual - simulation task_categories: - robotics size_categories: - 10K__.jsonl same, with per-counterfactual details data///____NNNN.tar episodes, uncompressed tar shards of <= 2 GB meta/dropped/__.json seeds dropped during generation, with reasons ``` An episode is never split across shards. Inside a shard, files keep their original paths: ``` //episode_/ instructions.json natural-language instructions (seen / unseen) release.json provenance in the RoboTwin 2.0 release camera_poses_0/ base_init.json scene, embodiment, fps, action layout, generation config views.json camera intrinsics / extrinsics (third-person and wrist) expert_stream.npz expert control stream expert/ calibration/ counterfactual_000..003/ metadata.json rollout metadata (success, frames, fps, mode, ...) actions.npy [T, 16] per arm: TCP xyz, quat xyzw, gripper opening joints.npy joint positions pose.pkl per-frame TCP and gripper poses object_poses.npz per-frame object poses contacts.json / contacts.npz per-frame part-pair contacts and held windows masks.json mask label table agentview_rgb/ agentview_rgb_1/ wrist_left_rgb/ wrist_right_rgb/ video.mp4 RGB mask.mkv lossless FFV1 gray8, pixel value = part id (0 = none) ``` Conventions: quaternions on disk are **xyzw**; poses are in the world frame; the gripper value is the commanded opening in [0, 1] (1 = open). The exact action layout is in `base_init.json["action_layout"]`. Absolute paths from the generation machine are replaced with placeholders such as ``. ## Usage Pick episodes with the index, download only the shards you need, and read them with `tarfile`: ```python import tarfile import pandas as pd from huggingface_hub import hf_hub_download REPO = "ohthatjeff/syncsim-rt2" eps = pd.read_parquet(hf_hub_download(REPO, "episodes.parquet", repo_type="dataset")) sel = eps[(eps.robot == "franka") & (eps.task == "hanging_mug")] shard = hf_hub_download(REPO, sel.shard.iloc[0], repo_type="dataset") with tarfile.open(shard) as tar: tar.extractall("syncsim") # -> syncsim///episode_/... ``` To download everything (about 2 TB): ```bash hf download ohthatjeff/syncsim-rt2 --repo-type dataset --local-dir syncsim_rt2 for t in syncsim_rt2/data/*/*/*.tar; do tar -xf "$t" -C syncsim_rt2/extracted; done ``` ## Acknowledgements Scenes, assets, tasks and expert trajectories come from [RoboTwin 2.0](https://github.com/RoboTwin-Platform/RoboTwin); please also cite and follow the licenses of RoboTwin and its assets.