Download droid/subtask_split/README.md from rooty2020/text_audio_pretraining_for_GAN: direct link, hf CLI and curl.
- Browser
- Download file 5.25 kB
-
https://huggingface.co/datasets/rooty2020/text_audio_pretraining_for_GAN/resolve/main/droid/subtask_split/README.md
- Command line
-
hf download hf://datasets/rooty2020/text_audio_pretraining_for_GAN/droid/subtask_split/README.md
-
curl -L -o README.md https://huggingface.co/datasets/rooty2020/text_audio_pretraining_for_GAN/resolve/main/droid/subtask_split/README.md
license: cc-by-4.0
task_categories:
- robotics
tags:
- robot-manipulation
- point-tracking
- 3d
- multi-view
- subtask-segmentation
pretty_name: >-
DROID subtask split — per-subtask temporal segmentation of DROID 3D
point-track episodes
DROID subtask split
droid/subtask_split/ is a per-subtask temporal split of the DROID 3D point-track episodes. Each DROID episode is cut into its constituent subtasks along the time axis, so one episode becomes an ordered sequence of subtask clips — each with its own natural-language instruction, primitive-skill label, and its own temporally-sliced 3D point tracks, video, and calibration. Every subtask clip is a complete, self-contained sample in the exact same format as a normal DROID episode.
Coverage
- 28,308 episodes, 89,312 subtasks (avg 3.16 subtasks/episode; per-episode subtask counts range 1–39, mode 3).
- 12 tar shards
subtask_split-000.tar … subtask_split-011.tar, ~327 GB total (eleven ~29.5 GB shards + a ~2.4 GB tail). All shards are under HF's 50 GB limit, so each extracts directly — no.partreassembly. - 15 primitive skills (subtask count):
pick26,195 ·transfer25,000 ·place24,379 ·push3,116 ·press2,356 ·pull2,045 ·slide1,253 ·fold1,183 ·manipulate1,160 ·pour1,023 ·throw698 ·twist672 ·insert153 ·shake57 ·strike22.
manifest.json maps every episode → shard and lists each episode's per-subtask frame_range, primitive_skill, subtask instruction text, episode-level instruction_add, and RoboInter provenance — so you can index the whole split without untarring.
Layout
Each episode dir holds one subdir per subtask (mirrors robocasa/subtask_split/; only the subtask_XX/ folders are shipped, not the un-split episode files):
<episode_id>/
subtask_00/ view1.mp4 view2.mp4 robot.npz gripper.npz meta.json
subtask_01/ ...
...
<episode_id> is the DROID id (<lab>+<hash>+<timestamp>). Every subtask_XX/ is a complete sample in the standard format:
view1.mp4,view2.mp4— the two exterior ZED views, re-encoded per subtask (libx264, crf 18, visually lossless).robot.npz—points:(T, 512, 3)float32, Franka Panda arm (non-gripper) CAD surface points from joint FK.gripper.npz—points:(T, 256, 3)float32, Robotiq 2F-85 CAD surface points.- All 3D points are in the
view1camera frame (OpenCV convention: +x right, +y down, +z forward; meters), identical to the parent dataset.world_frameis the DROID robot base;T_cam_worldmaps base-frame points into the camera. meta.jsoncarries the standard DROID calibration (per-viewintrinsicsandT_cam_world4×4 withextrinsics_convention: "cam_from_world"), plus asubtaskblock:subtask_idx,n_subtasks,lang(the subtask instruction),primitive_skill,frame_range([start, end)into the original episode),instruction_add(the whole-episode instruction),orig_id,orig_n_frames, and RoboInter provenance (roboint_index,roboint_key,annotation_source). The top-levelmeta.json → langis the subtask instruction andn_framesis the subtask lengthT. DROID cameras are a static rig, so the singleT_cam_worldper view is exact at every frame.
Lossless reconstruction
The subtasks tile the original episode's [0, n_frames) contiguously — no gaps, no overlap. Concatenating an episode's subtask_00 … subtask_k in order exactly reconstructs the original: the .npz point arrays are byte-identical (np.array_equal) to the un-split episode, and Σ subtask n_frames == original n_frames. This was verified per-episode at build time (a build marker was written only after the concatenation matched the original byte-for-byte). Videos are re-encoded per subtask at crf 18 (visually lossless; the point tracks + calibration are the exact, bit-preserved data).
Rebuild an original episode's tracks:
import numpy as np, glob
sds = sorted(glob.glob(f"{ep}/subtask_*"))
robot = np.concatenate([np.load(f"{s}/robot.npz")["points"] for s in sds]) # == original robot.npz
gripper = np.concatenate([np.load(f"{s}/gripper.npz")["points"] for s in sds]) # == original gripper.npz
Annotation source
The per-subtask segmentation (time boundaries, subtask instruction, primitive-skill label) comes from InternRobotics/RoboInter-Data (InternRobotics; MIT license), Annotation_pure. Please cite RoboInter-Data if you use these subtask annotations. Each subtask's meta.json → subtask records the exact roboint_index and roboint_key it came from.
Join key: annotations are joined 1:1 to DROID episodes on the DROID lab + timestamp (i.e. the episode id).
Base data & licenses
The underlying episodes, video, calibration, and 3D point tracks are the DROID split of this dataset (derived from DROID, CC-BY-4.0). The subtask segmentation adds the RoboInter-Data annotations (MIT) on top. See the top-level README.md for the full point-track format and the visualizer (tools/visualize_episode.py).