The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: ArrowNotImplementedError
Message: Cannot write struct type 'unchanged_files_bad' with no child field to Parquet. Consider adding a dummy child field.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1876, in _prepare_split_single
num_examples, num_bytes = writer.finalize()
~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 830, in finalize
self.write_rows_on_file()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 690, in write_rows_on_file
self._write_table(table)
~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 817, in _write_table
self._build_writer(inferred_schema=pa_table.schema)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 861, in _build_writer
self.pa_writer = pq.ParquetWriter(
~~~~~~~~~~~~~~~~^
self.stream,
^^^^^^^^^^^^
...<3 lines>...
**get_parquet_column_options(self._features, self._schema),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/pyarrow/parquet/core.py", line 1115, in __init__
self.writer = _parquet.ParquetWriter(
~~~~~~~~~~~~~~~~~~~~~~^
sink, schema,
^^^^^^^^^^^^^
...<20 lines>...
max_rows_per_page=max_rows_per_page,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**options)
^^^^^^^^^^
File "pyarrow/_parquet.pyx", line 2430, in pyarrow._parquet.ParquetWriter.__cinit__
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
return check_status(status)
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowNotImplementedError: Cannot write struct type 'unchanged_files_bad' with no child field to Parquet. Consider adding a dummy child field.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
unchanged_files_checked int64 | unchanged_files_bad dict | rows int64 | errors dict | mismatch_examples dict | per_arm_selected int64 | per_arm_critical int64 | joint_subgoals int64 | segment_frames_p1_p10_p50_p90 list | arm_state_at_joint_subgoals_of_two_arm_episodes dict | samples_with_target int64 | progress_deciles list | progress_eq_1 dict | progress_eq_0 float64 | settled_version dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7,804 | {} | 549,787 | {
"orig_columns_changed": 0,
"schema_changed": 0,
"missing_new_columns": 0,
"info_changed": 0,
"stats_changed": 0,
"selected_changed": 0,
"critical_bad": 0,
"joint_bad": 0,
"map_bad": 0,
"current_pos_max": 5.960303606222794e-8,
"current_ang_max": 0.000005915117333884393,
"target_bad": 0,
"next... | {} | 19,683 | 18,896 | 16,590 | [
12,
14,
30,
49
] | {
"hold": 7631,
"arrive": 12528,
"stopped_at_unselected_rest": 375,
"moving": 12
} | 549,787 | [
0.002,
0.125,
0.229,
0.333,
0.44,
0.547,
0.654,
0.759,
0.867,
0.972,
1
] | {
"share": 0.08898900847055315,
"from_the_last_subgoal_on": 0.058813686027497925,
"action_reaching_a_subgoal": 0.03017532244305522
} | 0 | {
"against_revision": "3e11637739109536b03a7a9919c73f6f626754cb",
"rule": "joint subgoal on a frame where an arm is > glitch_m (0.1 m) from its commanded TCP and moves > rest_m (0.002 m) to the next frame moves to the first later settled frame before the next subgoal; a final subgoal without one moves to the last e... |
RoboTwin-Clean with TCP targets and progress
StarVLA/RoboTwin-Clean (revision 070d3b86; 50 tasks,
50 episodes each, 549,787 frames, LeRobot v2.1, one dataset per task directory) with five per-frame fields added:
the current and target TCP pose of both arms, the subgoal frames around the frame, and a per-frame 0–1 progress label.
Subgoals are the critical frames of the demonstration (gripper stops, final rests and path corners), one sequence per
episode for both arms.
Everything from RoboTwin-Clean is kept unchanged: videos, meta/ files, and every original parquet column. Only
data/**.parquet (five columns appended), meta/info.json and meta/episodes_stats.jsonl (the new features added)
differ. Training with the original StarVLA/VLAct recipe (data_mix: robotwin_wrap_32) reads exactly the same samples.
Earlier versions remain in the repository history: revision 3e116377 (before subgoals were settled, see below),
d8072014 (joint subgoals before the reduction to critical frames) and 12734cd8 (separate subgoals, targets and
progress per arm, ten columns).
Fields
Original fields (unchanged): observation.state and action (14 joint commands, [left 6, left gripper, right 6, right gripper], action[t] = state[t + 1]), observation.images.cam_high, .cam_left_wrist, .cam_right_wrist
(640×480 video), timestamp, frame_index, episode_index, index, task_index.
Added fields (t = frame_index). The episode's subgoal frames are s1 < s2 < … (annotation/subgoals.json,
key frames), with s0 = 0 the episode start; they split the episode into segments (s_i, s_i+1].
| Field | Type | Definition |
|---|---|---|
current_tcp_pose |
float32[14] | TCP pose of both arms at frame t: [left x, y, z, qx, qy, qz, qw, right x, y, z, qx, qy, qz, qw] |
target_tcp_pose |
float32[14] | current_tcp_pose at frame next_subgoal_frame_index of the same episode |
previous_subgoal_frame_index |
int64 | Last subgoal frame <= t; 0 if none |
next_subgoal_frame_index |
int64 | First subgoal frame > t: the end of the segment in which the action chunk starting at t begins (action[t] = state[t+1]). After the last subgoal there is no further target and it equals previous_subgoal_frame_index |
progress |
float32 | Progress after executing action[t] (i.e. of frame t+1) in the segment (previous, next]: (t + 1 − previous) / (next − previous); 1 for the action that reaches the target, restarting on the next row. 1 when no target is left (from the last subgoal on, the last frame) |
Both arms share one target frame, so the target describes where each arm is when the segment ends: an arm that moves in the segment has its arrival pose as target, an arm that holds still has its current pose.
Like action[t] = state[t+1], progress is aligned with the state after the action, and it describes the same segment
as the row's subgoal indices. A training sample at frame t predicting actions t … t+31 therefore takes the progress
values of rows t … t+31: the same window as the actions, padded the same way past the episode end (the last row, 1).
The tail after the last subgoal is not a new segment: the joint commands never change there, its length only reflects when recording stopped (0–93 frames), and the measured pose drifts only through gripper release and contact (p99 7 mm). The target of tail frames is therefore the last subgoal.
Pose format. Each arm's pose is [x, y, z, qx, qy, qz, qw] (metres, qw >= 0) in the RoboTwin world frame, the
TCP frame Kinex reports and accepts as target (<arm>_gripper:tcp in world:base): the flange translated 0.12 m
along its +x (approach) axis, with the flange orientation. The pose is the simulated end-effector pose (endpose) of
the source recording in TianxingChen/RoboTwin2.0
(revision 3dc3b798, dataset/<task>/aloha-agilex_clean_50.zip), not a kinematic estimate.
Source correspondence. RoboTwin-Clean is converted from those archives: every Clean episode equals one raw episode
(joint commands identical on every frame) with the raw last frame dropped, under one fixed shuffle of episode numbers
shared by all tasks. annotation/episode_map.json gives the raw episode of every Clean episode; frame t is raw frame t.
Subgoals
Candidate stops (per arm). RoboTwin demonstrations are scripted; every primitive ends with the arm at rest, and
Kinex agents also command rest-to-rest moves. An arm's candidates are the first frames of its rest intervals (all six
arm joint commands change by at most 2e-3 rad per frame; pauses shorter than 3 frames inside a motion are ignored).
Which stops are selected was decided from Kinex + rosbridge sessions on the same RoboTwin tasks
(RLE-Bench/kinex-benchmark-native-budget-with-robobridge,
revision 4d9952bb, task03):
- 38 tasks: the agent's sequence of arm targets and gripper commands is aligned to the expert's stops phase by phase (phases split at gripper changes); stops the agent did not use are dropped. Stops where the gripper acts and the final rest are always kept.
- 12 tasks (failed Kinex session or different gripper sequence): Gemini (
gemini-3.6-flash) chose among the stops from head and wrist frames, the instruction and the agent's step list, with gripper and final stops enforced.
Critical stops (per arm). Of the selected stops, an arm keeps the stops where its gripper acts, its final rest, and the corners of its path: between two kept stops (the episode start included), the stop farthest from the straight TCP path is kept if it is at least 2 cm from it or at least 10° from the interpolated orientation, and the search recurses on both sides (Douglas–Peucker; deviations from the commanded TCP). Stops on the way between their neighbours, such as pauses along an arc and repeated stops at the same pose, are dropped; a stop repeated within 1 cm and 5° counts from its first arrival. This keeps approach, lift and pre-place poses, which are corners, and removes 787 of 19,683 selected stops.
Joint subgoals. The episode's subgoals are the union of both arms' critical stops. When one arm arrives at most 5
frames after the other and the first arm stays at rest in between, the two arrivals are one subgoal at the later frame.
A segment in which no arm's TCP moves 1 cm or turns 5° is merged into the next. Subgoals come from rests of the
commanded joints, while targets are measured poses; a joint subgoal on a frame where an arm's measured TCP is more
than 0.1 m from its command and still moves more than 2 mm to the next frame moves to the first later frame where
that no longer holds, before the next subgoal (a final subgoal without one moves to the last earlier such frame). An
arm held away from its command by contact is at rest and keeps its subgoal. This moves 6 subgoals (hanging_mug
episodes 3, 5, 41: final subgoal 1–5 frames earlier; rotate_qrcode episodes 19, 24, 33: 1–2 frames later), listed
under settled in annotation/subgoals.json. The demonstrations mostly move one arm
at a time, so at a joint subgoal one arm arrives while the other has arrived as well or holds still. Over the 1,119
episodes in which both arms move (24 tasks), the arm states at joint subgoals are:
| State of the arm at the joint subgoal | Count |
|---|---|
| Arrives at one of its critical stops | 12,528 |
| Holds still through the segment | 7,631 |
| At rest at a stop that is not one of its critical stops | 375 |
| Still moving | 12 |
In single-arm episodes the joint subgoals are those of the moving arm and the other arm's target is its current pose. In total there are 16,590 joint subgoals; segments are 12 / 14 / 30 / 49 frames long at p1 / p10 / p50 / p90, and the only segments moving less than 1 cm are 22 pure rotations. Per task the median is 5 subgoals, against 6 arm targets in the Kinex sessions.
annotation/subgoals.json lists, per episode, the joint frames, the per-arm critical stops left and right, and
the per-arm selected stops before the reduction (selected); annotation/subgoal_mapping.json records the per-arm
selection method per episode; annotation/provenance/ holds the Kinex templates and the Gemini prompts and answers;
annotation/manifest.json records the rule constants and source revisions.
Validation
Independent code (annotation/validation.json):
- The 7,804 unchanged files are byte-identical to RoboTwin-Clean; the 7,500 videos and LFS meta files match the Hub
SHA-256 of revision
070d3b86. In all 2,500 parquet files the original columns are equal in values and types; the originalinfo.jsonentries and episode statistics are unchanged, and the statistics of the new fields match the data. - StarVLA/VLAct's own loader (
robotwin_wrap32, released Clean 50k config) returns identical samples (images, actions, language) from this dataset and from RoboTwin-Clean (204 samples over 6 tasks). - The selected stops equal those of the previous versions; the critical stops and joint subgoals, recomputed with an independent forward kinematics from the URDF of the rosbridge RoboTwin catalog, match in every episode.
- Current TCP vs raw
endpose+ 0.12 m recomputed with SciPy: max 6e-8 m, 6e-6°. - Settled version: against revision
3e116377, only the 6 episodes with settled subgoals differ (277 rows change their target frame, with their target pose, subgoal indices and progress, and the two tasks' episode statistics); every other column, file and annotation is identical, and no subgoal lies on a frame where an arm is in transit. Previous and next subgoal frames, target poses and per-frame progress recomputed from the definitions: 0 mismatches over 549,787 frames; progress max error 3e-8, all values in (0, 1].
Progress deciles: 0.13, 0.23, 0.33, 0.44, 0.55, 0.65, 0.76, 0.87, 0.97; it is 1 on 8.9 % of frames (5.9 % from the last subgoal on, 3.0 % actions that reach a subgoal) and never 0.
Notes
- In contact phases the measured TCP is 1–3 cm from the commanded one (the command presses into the object).
annotation/pose_glitches.jsonlists the 440 frames (25 episodes) whose rawendposeis more than 0.1 m from the commanded pose. In 15 episodes the command drifts 13–80 cm into contact while the arm is held (it moves 2–7 cm) and jumps back when the next primitive starts; in 10 the measured pose itself moves 2–25 cm in one frame. 19 joint subgoals fell on listed frames; 13 are at rest and kept, 6 were settled (above). All samples are meant for training. - Kinex templates come from one session per task; agent tool arguments were read on a best-effort basis.
- License: RoboTwin-Clean is published without a license statement; TianxingChen/RoboTwin2.0 is MIT. Cite both sources.
- Downloads last month
- 226