dicepilot_l3_sim_v2 / README.md
weiwei23's picture
Dataset card: absent dice are zeros
f07a498 verified
|
Raw History Blame Contribute Delete
7.82 kB
metadata
license: apache-2.0
task_categories:
  - robotics
language:
  - en
  - zh
tags:
  - LeRobot
  - so101
  - isaac-sim
  - simulation
  - dice
  - language-conditioned
  - spatial-reasoning
pretty_name: DicePilot Level 3 pose tasks, sim v2
size_categories:
  - 100K<n<1M
configs:
  - config_name: default
    data_files: data/*/*.parquet

DicePilot Level 3 pose tasks (sim, scene v2)

Scripted-expert demonstrations of an SO-101 arm putting one numbered die into a small taped slot ("slot P") with a given number on top and a given number facing the robot, in Isaac Sim. Recorded for the DicePilot project (TRC 2026 Robot Learning track) as training data for a spatial-reasoning VLA: every episode carries the true pose of every die, per-frame status labels, and a text explanation of how the hidden faces follow from what the side camera sees.

All data is simulated. No real-robot footage is included.

Scenarios

Id Episodes What happens
S0 34 already correct: the die is in slot P with the goal pose; the robot does nothing (status done)
S1 177 the goal top face is visible from the side camera at the first frame; the die is outside P
S2 160 the goal top face is hidden from the side camera (bottom, or a side face turned away)
S4 101 position only: the die already has the goal pose but is outside P
S5 46 target absent: no die on the mat fits the description; the robot does nothing (status target_absent)
S6 82 failure recovery: one deliberate mistake (wrong turn 37, missed placement 22, slip 15, wrong flip 8), then the expert re-plans from the true state and finishes

S3 ("several dice") is not a separate kind: each episode has 1, 2, 3 or 5 dice on the mat (106 / 117 / 177 / 200 episodes); unused dice are parked outside the lightbox. The expert combines pick-and-place, quarter turns (pick, turn, put down) and tilt-release flips at a flip station.

Contents

Episodes 600 (two recording shards of 300, seeds 21 and 22)
Frames 359,694 at 30 fps (200 min); episode length median 699 frames, longest 1,335
Cameras side (fixed, RealSense D455 pose on the lightbox wall), wrist (gripper camera), 640 x 480
Instructions 326 English, 274 Traditional Chinese, one sampled wording per episode; target named by colour (313), top number (105) or both (182)
Format LeRobot dataset v3.0, robot type so101_follower

Example instructions: "Put the yellow die in slot P with 6 on top and 5 facing the robot." / "將黃骰子放入小方框,使 6 朝上且 五 朝向機械手臂。"

Scene

Scene v2 (dicepilot_scene_v2): five rounded 29 mm wooden numeral dice (red, yellow, green, blue, natural; this order is the die index in every privileged.* field), orange SO-ARM101, black EVA mat, a white taped zone at (0.130, -0.145) and slot P (40 mm inner edge) at (0.130, +0.145), inside the NVIDIA Sim-to-Real SO-101 Workshop lightbox. The dice are numbered like the real wooden dice: opposite faces sum to 7, and with 1 on top and 2 facing you, 4 is on the right ("left-handed", mirror of Western pip dice). Dice positions and orientations, die mass (13-17 g) and friction, light exposure, side-camera mount (about 1.5 cm and 2 deg) and the arm's start pose are randomised per episode. In Level 3 every die on the mat starts where the side camera can see it.

Success (checked from simulator state, every recorded episode passed): the goal number on top, the goal number facing the robot, the die centre within 5.5 mm of slot P's centre and its yaw within 15 deg, no other die moved; for S0 and S5 nothing moved at all.

Features

Feature Shape Meaning
observation.images.side / wrist 480 x 640 x 3 video camera images
observation.state 6 measured joints in LeRobot SO-101 units (arm -100..100, gripper 0..100)
action 6 joint targets for the next 1/30 s, same units
task text the instruction for this episode
privileged.dice_pos 15 xyz of the five dice in metres (robot base at (-0.05, 0, 0), +x away from the robot, +y towards the side camera, z up); all zeros for a die that is not on the mat in this episode (also in dice_quat and dice_faces)
privileged.dice_quat 20 orientation of the five dice, (w, x, y, z)
privileged.dice_faces 30 number on (top, bottom, front, back, left, right) of each die; front faces the robot, left faces the side camera
privileged.ee_pos 3 grip point between the fingers, metres
annotation.level, target_index, goal_face, goal_front 1 each the episode's task: level 3, target die index (-1 in S5), number to put on top, number to face the robot
annotation.scenario 1 index into scenarios in dicepilot/vocab.json (S0..S6)
annotation.status 1 index into status: working, done, target_absent
annotation.injected 1 1 on every frame of the deliberately wrong op in S6
annotation.phase, skill 1 each index into the lists in dicepilot/vocab.json; skills are grasp, move, place, rotate, flip, home, stop
annotation.subtask 1 index into the episode's subtasks list in dicepilot/episodes.jsonl

Frame t is the observation before action t is applied. privileged.* and annotation.* come from the simulator and are meant for labels, relabelling and evaluation, not as policy inputs. For behaviour cloning, leave the frames with annotation.injected = 1 out of the loss (or cut S6 episodes at the error's end frame): they show a mistake on purpose.

The dicepilot/ folder holds extra metadata:

  • episodes.jsonl: one record per episode with the task (scenario, goal top and front, dice on the mat), the instruction (text, canonical English form, language, template id), dice layout, expert operations and plan, randomisation values, success report, subtask segments (text, skill, start, end frame), the injected error for S6, visible_side (numbers the side camera sees on the target at the first frame), and reasoning: the visible and hidden faces, the inferred slots, the symbolic plan and a text explanation such as "The side camera sees the yellow die: 5 on top, 3 on the left. The dice are left-handed, so the hidden faces are 2 on the bottom, 1 on the front, 6 on the back, 4 on the right. Goal: 6 on top and 5 facing the robot, inside slot P. ..."
  • vocab.json: phase, skill, scenario and status names, face axes, die numbering, units.
  • scene.json: scene spec and camera intrinsics and poses.

Loading

from lerobot.datasets.lerobot_dataset import LeRobotDataset

ds = LeRobotDataset("weiwei23/dicepilot_l3_sim_v2")
frame = ds[0]
print(frame["task"], frame["observation.state"], frame["observation.images.side"].shape)

LeRobotDataset downloads the whole repository, including dicepilot/.

Related

  • weiwei23/dicepilot_l12_sim_v2: Level 1 pick-and-place and Level 2 flips in the same scene.
  • weiwei23/dicepilot_rot_sim_v2: quarter turns in the same scene.
  • weiwei23/dicepilot_l12_sim_v1: the older scene v1 (sharp 30 mm cubes, other numbering, three cameras).

Known limitations

  • Visible / hidden faces are decided by the angle between a face and the side camera at the first frame; occlusion by other dice or the arm is not considered. In 2 of 600 episodes the stored scenario (S1 / S2) differs from the kind the episode was sampled as, because the label is taken from the settled first frame.
  • The S6 slip is a stop-and-open drop, not a slip while moving.
  • All instructions use training wordings; no held-out wordings are included.
  • Friction, die mass and camera poses are assumed values, not measured on the real hardware. The real robot's cameras and table may differ.