Datasets:
- 1. The problem this fixes
- 2. How the states were built
- 3. What is in it β file by file
- 4.
meta/camera/β the ego camera model - 5. What was checked
- 6. The contributed masks
- Instruction correction (v5)
gtdepth_s0/β the initial-frame ground-truth depth (v6)- 7. Known limits
- 8. Versions
- 9. Attribution
ActionNet 3k β original resolution, corrected state mapping
3,027 Fourier GR1-T1 episodes as LeRobot v2.1: the camera at its native 1280x800, and the robot state resampled onto the video's own clock with the offset measured rather than guessed.
This is a re-derivation of an existing subset, not new data. It exists because the two conversions people were using each lose something this one keeps β and because the state/video alignment in both of them is wrong in a way that is invisible until you look for it.
lerobot/action_net |
..._3k_15fps_og_resol |
this | |
|---|---|---|---|
| episodes | 30,120 | 3,013 | 3,027 |
| resolution | 192x288 | 768x432 (resized and centre-cropped, β48 px height) | 1280x800, untouched |
| fps | 30 | 15 (stride 2) | 30 |
| stateβframe mapping | wrong | same | corrected & measured |
| per-episode provenance | none | none | meta/source.jsonl |
| camera calibration | none | none | meta/camera/ |
from datasets import load_dataset
ds = load_dataset("glory-hyeok/actionnet-3k-og-lerobot") # private: needs a token
1. The problem this fixes
The existing LeRobot conversion pairs 30 fps video frame k with 59.8 Hz robot row k. The state stream therefore advances at half the video's rate and is half an episode behind by the end.
It hid for a long time because a joint that is not moving matches under any alignment. Measured
against the dataset's own /state/pose, the moving arm lands a median 7.59 cm from where the
state says it is, while the idle arm sits at 0.33 cm. Averaged over both arms it looks fine.
The diagnostic is the hdf5 row index chosen per video frame:
this dataset slope 2.000 (median) 0/3,027 episodes off their own rate
the conversion slope 1.0
The expected slope is not a constant 2.0 β it is that episode's own hdf5 rate over its own video fps. Across this batch the robot logs at 53.7β60.4 Hz and the video runs at 29.55β29.91 fps, so a check that compares every episode against one number reports failures that are not there.
2. How the states were built
States are resampled from the original hdf5 (not from any LeRobot conversion) onto the video's
timestamps.json clock. Nearest row, never interpolated β the 12 hand channels are raw Fourier
DexHand units (0β10.3) in discrete steps, and an interpolated value is one the robot never
reported.
The offset is measured, not assumed: shift_s = -0.176
timestamps.json records something closer to save time than exposure, so the video's clock runs
late and the state must be read earlier. How much later was measured from the data itself, with
no masks and no calibration: take the end-effector speed from the hdf5 /state/pose, take the
frame-to-frame image change from the video, slide one against the other, and find the lag that
maximises their correlation.
400 episodes, 4 ms grid pooled peak -184 ms per-episode median -176 ms
1200 episodes, 1 ms grid pooled peak -171 ms per-episode median -176 ms
One constant is enough, and that was tested, not assumed. Splitting each episode in half and estimating the offset on each half separately gives an estimator noise of sd 65 ms; the observed spread of per-episode means is 44 ms, smaller than the 46 ms the noise alone predicts. There is no detectable session-to-session variation, so a per-episode offset would buy nothing.
The offset is applied in seconds, not in rows. 3.1 % of the hdf5 intervals are 20β30 ms rather
than the nominal 16.7, so row + k displaces the state by a different amount on every frame and
clipping at row 0 pins the opening frames to one sample. In seconds, the nearest-row choice is
provably optimal on every one of the 1,536,458 frames.
The one residual: 0.91 % of frames
Reading the state 176 ms earlier means the opening frames of an episode would need a state from before the recording began. 13,953 frames at the head and 14 at the tail β 13,967 of 1,536,458 (0.909 %) β fall outside the state stream, and there the nearest row is the first one, repeated. No offset removes this; the robot did not record a state at those instants.
Those rows are flagged, not deleted: state_valid = false. Deleting them was considered and
rejected β the video is a byte-for-byte copy of the original, so dropping rows would slide every
later row off its frame, and the frames themselves are fine (only the state is stale), which
matters if you use the first frame as a visual anchor.
Using it: keep only windows whose frames are all valid. Every episode has exactly 5 invalid frames at the head (max 5, no exceptions) and one episode has 14 at the tail; no episode has more than 30.
| window length | start positions lost |
|---|---|
| 8 | 0.92 % |
| 16 | 0.94 % |
| 32 | 0.97 % |
| 64 | 1.04 % |
| 128 | 1.21 % |
The loss barely grows with window length because the invalid frames are all at the very front, not scattered through the episode.
3. What is in it β file by file
meta/info.json v2.1 schema, fps 30, [800, 1280, 3], plus state_coverage and extra_dirs
meta/episodes.jsonl {episode_index, tasks, length, video_id} -- video_id is the session ULID
meta/tasks.jsonl {task_index, task} -- 1,665 distinct strings
meta/source.jsonl per episode: ULID, the ActionNet tar it came from, the three member paths,
source byte sizes, resolution, fps, shift_s, n_clamped_head/tail
meta/stats.json per-feature mean/std/min/max, plus q01/q99
meta/modality.json the 44-dim block layout
meta/camera/ the ego camera model -- see section 4
data/chunk-{000..003}/episode_{000000..003026}.parquet
videos/chunk-{000..003}/observation.images.ego_view/episode_*.mp4
target_mask/, target_mask_episode/ contributed, not ours -- see section 6
data/*.parquet β 8 columns:
| column | type | |
|---|---|---|
observation.state |
float32[44] | joint positions, from /state/{robot,hand} |
action |
float32[44] | commanded, from /action/{robot,hand} |
timestamp |
float32 | frame_index / 30 |
frame_index |
int64 | index within the episode |
episode_index |
int64 | |
index |
int64 | globally contiguous across the whole dataset |
task_index |
int64 | into tasks.jsonl |
state_valid |
bool | false on the 0.91 % described above |
observation.state and action are different streams, not copies. The first version of the
packer wrote state into both and passed a 5-episode smoke test, because shapes, counts and layout
were all correct. The validator now asserts they differ, per episode. A tell that they really are
different: the neck and waist channels move in state (range 0.05 and 0.22) but are flat in
action, because teleoperation does not command them.
meta/modality.json β the 44 dimensions, read from the packer's own BLOCKS table rather
than retyped:
left_arm 0..7 left_hand 7..13 left_leg 13..19 neck 19..22
right_arm 22..29 right_hand 29..35 right_leg 35..41 waist 41..44
18 of the 44 action channels are constant (legs 12 + neck 3 + waist 3) β the operator drives arms and hands only.
meta/stats.json β computed here, not carried over: the ActionNet tars hold only rgb.mp4,
depth.mkv, timestamps.json and the hdf5, so normalisation statistics are a derived artefact of
whatever subset you build. mean/std/min/max are exact over all 1,536,458 rows. q01/q99 come
from a 5,000-bin per-channel histogram in the manner of openpi's RunningStats, which sees every
row in 1.8 MB of state instead of the 1.08 GB the raw columns would need; a first pass fixes the
bin edges from min/max so they never move, and the result is clamped back into [min, max] so the
1e-10 edge padding cannot leak out as a quantile the data never reached.
meta/source.jsonl β exists so a number computed here can be traced to a byte range in a
published tar. The other conversions share no identifier with the originals, so rebuilding that
link needs a two-stage join on (prompt, frame count) plus a state-matching tie-break. 23 keys per
episode, og_tar populated for all 3,027, drawn from 300 ActionNet tars.
4. meta/camera/ β the ego camera model
Added because the 3D work needs it and it was previously reachable only by np.load-ing an npz.
| file | |
|---|---|
actionnet_gr1t1_ego_calibration.yaml |
the calibrated values, generated from the npz and md5-bound to it |
align_camera_hullfit_20260820.npz |
the fit itself (md5 f4ffb3c5β¦, asserted by the YAML) |
PROVENANCE.md |
which numbers are measured, derived, or assumed |
Intrinsics. The pinhole block is chosen β undistort_fisheye.py --hfov 90 re-renders the
video to satisfy it, so image and K agree by construction: at 1280x800, fx = fy = 640.0,
cx = 639.5, cy = 399.5. The fisheye block is derived from the sensor's quoted FOV
(equidistant, f_native_px = 577.4693 at 1280 px); its principal point and distortion are
assumed, not fitted.
Extrinsics. base_T_cam(t) = FK(t)[head_pitch_link] @ head_pitch_T_cam. The head moves, so the
constant sits on the right; composing it the other way is a sub-degree error that survives every
sanity check. The camera centre sits at [+11.60, -2.95, -8.42] cm in the head frame, tilted
44.37Β° below horizontal, yaw β4.75Β°, roll β6.99Β°. Fitted by multistart silhouette over 267,300
candidates on 10 episodes / 2,199 frames.
Quote the held-out number: IoU 0.6545 (interleaved 0.6139). The training-window figures are not evidence of generalisation.
Two cautions. This is the camera before per-session correction β the arm-zero offsets and the
rigid hand shift (~6 cm median) are applied downstream and are not folded in. And it was fitted
on the synthetic Stage-5 batch, not on these 3,027 episodes; PROVENANCE.md argues the extrinsics
are the dominant error term (Β±5β10 cm) and are improvable from the episodes themselves, since the
robot's own hand is visible in the ego view. That improvement has not been done yet, and this
dataset is the natural place to do it.
5. What was checked
Every episode, not a sample, and nothing is judged on an average. An earlier revision of the checker compared the median slope over episodes and the standard deviation of their median lags β both aggregates, under which one episode mapped at slope 1.0 passes unseen. Every line below counts offending episodes or frames.
1280x800 @30 0/3027 violations
video bytes identical to source 0/3027 md5 mismatches (no re-encode)
state != action 0/3027 identical
state/action finite 0/3027 with NaN/Inf
per-episode slope == own rate 0/3027 off (median 2.000)
row index monotone, in range 0 violations
nearest row provably optimal 0/1,536,458 frames took a worse row than an available one
state_valid == clamped counts 0/3027 episodes disagree (13,967 frames flagged)
published values == the hdf5 0 mismatches, max abs diff 0.000e+00 <- rebuilt from source
parquet schema == v2.1 0/3027 off
index globally contiguous 0 gaps
timestamp == frame_index/fps 0 mismatches
total_frames declared == actual 1,536,458
stats values == recomputed max abs diff 0.000e+00 over all rows
quantiles min<=q01<=q99<=max 0 channels violating
modality blocks cover 0..44 no gap, 8 blocks
contributed masks 3027/3027 paired, two namings md5-identical, all valid PNG
hub == local 12,115 files, 0 missing either way, 0 size mismatches
The check that closes the loop is published values == the hdf5: every episode is rebuilt from
the original hdf5 and compared against what was written, so the published bytes are tied back to
the source rather than to the packer's own idea of it.
6. The contributed masks
target_mask/ and target_mask_episode/ hold 3,027 PNGs each β the same images under two names,
one keyed by ULID and one by episode index, md5-identical on all 3,027 pairs. They cover
3,027/3,027 episodes with nothing missing and nothing extra; all 3,027 are distinct, binary
{0,255}, 720x480 8-bit grey, median foreground 0.62 %.
They are bound to the right episodes, and that was tested rather than assumed: shuffling the masks between episodes raises the within-task spread of mask centroid-x from 0.041 to 0.102 Β± 0.002, so the real assignment sits 40 standard deviations below chance (area 6.3Ο, centroid-y 15.3Ο).
They came from a colleague's work in the same output directory and were published along with it; this packing did not derive them and does not document how they were produced. Two things to know before using them: 720x480 is 1.50 wide where the video is 1.60 (1280x800), so they are not a rescaling of these frames and will not overlay without knowing the crop they belong to; and there is one mask per episode with no record of which frame it corresponds to. Ask their author.
Instruction correction (v5)
30 episodes named the wrong hand in their instruction ("use the left hand" while the right arm is the
one that moves, or vice versa). A colleague checked the hand the instruction names against which arm actually
travels in the state stream and re-annotated the mismatches by eye (meta/episodes_fixed.jsonl, 2026-09-02).
Those corrections are merged into meta/episodes.jsonl / meta/tasks.jsonl and the task_index of the
30 affected parquets; 8 task strings were new and were appended (total_tasks 1665 -> 1673). Nothing
else differs from v4 -- every other parquet, every video, and the stats are byte-identical. The list of
changed episodes is recorded in meta/info.json (instruction_correction).
This matters for anything that reads the acting hand from the instruction -- Pre-Contact does -- and it is a reminder that the captions are generated text (section 7), not ground truth.
gtdepth_s0/ β the initial-frame ground-truth depth (v6)
The ActionNet depth sensor's frame 0 for every episode, re-rendered into the undistorted pinhole
space the masks and the camera fit already live in. 3,027/3,027 episodes, one
episode_{episode_index:06d}.npz each, 107 MB. It is a measurement, not a model output: an
episode whose depth could not be produced has no file, because a zero-filled map reads as a 2 cm
surface right at the camera and no downstream check catches that. Nothing is missing here.
gtdepth_s0/README.md carries the full detail β the per-session valid-pixel table, the counts, the
regeneration command. The short version:
The space. Undistorted pinhole, hfov 90Β°, not the raw fisheye. The release ships depth as a
lossless FFV1 gray16le mkv at 1280x800 in the fisheye frame, in millimetres. Each frame 0 is
decoded at 16 bits (OpenCV silently truncates that video to 8), remapped through the mask's own
cv2.fisheye.initUndistortRectifyMap (equidistant f = 577.4693 at 1280 wide, D = 0) with
INTER_NEAREST β a merely similar map puts the object edge a pixel off the mask, and interpolating
across a depth edge invents surface β then mm β m, strided by 2, and gated to 0.05 m < z β€ 2.6 m.
Outside that gate the sensor is returning noise, and the pixel is set to 0.0 (no return), not kept.
K_full = [[640.0, 0.0, 639.5], K_ds = [[320.0, 0.0, 319.75],
[ 0.0, 640.0, 399.5], [ 0.0, 320.0, 199.75],
[ 0.0, 0.0, 1.0]] [ 0.0, 0.0, 1.0]]
1280x800, hfov 90 640x400 β what `depth` is actually stored at
This is the same pinhole space as source_mask_merge/ and as the intrinsics block of section 4, so
a depth map and a mask of the same episode overlay with no resampling. It is not the fisheye
sensor space that meta/camera/actionnet_gr1t1_ego_calibration.yaml describes.
Which frame, and why that one. depth.mkv frame 0 == rgb.mp4 frame 0 == LeRobot
frame_index == 0. One rule, no search: the two streams share the one clock
<ULID>/top/timestamps.json, the packer copied the video byte-for-byte, and it ran without
--trim-uncovered, so LeRobot row 0 is the original video's frame 0. The β0.176 s of section 2 is
a STATE shift and must not be applied to the image clock β it moves hdf5 rows onto the video's
clock, it does not move the video onto anything. That the two streams share one clock is checked,
not assumed: len(timestamps.json) equals the packer's n_video_frames in 3,027/3,027 episodes.
The npz keys. depth (1, 400, 640) float32, metres along the optical axis, 0.0 = no return Β·
frame_indices (1,) = [0] Β· K_ds (3,3) β intrinsics for depth as stored Β· ds = 2 Β·
K_full (3,3) β the same camera at 1280x800 Β· hfov_deg 90.0 Β· space
undistorted_pinhole_hfov90 Β· units m Β· valid_px, total_px, valid_frac Β·
depth_frame_index, video_frame_index, lerobot_frame_index, all 0 Β· provenance ulid,
episode_index, og_tar, og_member, member_bytes, member_read, tar_source, timestamp0,
n_timestamps Β· and the packer's own n_video_frames, state_shift_s, alignment, maker,
made_utc. The first four are exactly the contract tools/synth100/gtdepth/depth_<ULID>.npz uses,
so a Stage-5 reader takes these files unmodified; the rest are additions no reader has to know about.
How it was made. tools/gtdepth3k.py, straight out of the 300 published ActionNet tars: FFV1 is
all-intra, so frame 0 needs only the first 4 MB of each depth.mkv member, fetched with HTTP range
requests (2,975 episodes read that way, 52 from a tar already local; 0 needed the whole member). Ten
cpu shards, idempotent β an episode whose npz exists is skipped.
What was checked. The 100 episodes this dataset shares with the Stage-5 synth100 batch were
compared array-to-array against tools/synth100/gtdepth, which a different code path produced
from a pre-extracted intermediate: max |Ξ| = 0 m over all 100 maps β bit-identical. An exact
match there checks the frame rule, the undistort map and the gate at once. Coverage is 3,027/3,027
with no failures, and the valid-pixel fraction has median 78.4 % (min 56.2 %, max 95.1 %); a low
session median is a property of the capture β a far or glossy scene β not of this conversion.
7. Known limits
- 0.91 % of frames carry a stale state (section 2). Flagged, not deleted.
- The offset's accuracy is not verified, only its precision. Two independent runs agreeing at
β176 ms shows the estimator is repeatable; the statistical uncertainty on the constant is
~1.4 ms. What is not bounded is systematic bias: the instant of peak image change is not
exactly the instant of peak hand speed (motion blur, shutter integration, objects moving with the
hand). Settling that means rendering the FK hand and scoring it against the imagery β which the
camera model in
meta/camera/now makes possible, and which has not been done. - The language instructions are generated captions, not the original task labels. The source
hdf5 carries no natural-language instruction at all β only
task_namein its attrs (242 distinct codes such asfactory_02_14_npnpapple7). The strings intasks.jsonlwere written per episode by someone else and every one is prefixed"The robot arm is performing a task."; there are 1,665 of them for 3,027 episodes, so the same task gets many different wordings (one task_name has 136). Content agrees with the original task in 84.3 % of the episodes where the object is identifiable, contradicts it in 0.7 % (5 episodes, all infactory_2_18andfactory_2_19β e.g. a rubik's cube described as "potatoes"), and is too vague to judge in 15 %. Treat them as captions, not as ground-truth instructions. - The fisheye distortion coefficients are not calibrated (assumed zero), and the extrinsics are fitted on a different batch (section 4).
- 1280x800 is kept because downscaling later is always possible and recovering it is not.
8. Versions
Every earlier state is retrievable; the tags name what changed.
| tag | |
|---|---|
v1-rowshift-10 |
first release. Offset applied as a fixed row count (β10 rows β β167 ms). |
v2-shift-18ms |
shift_s = -0.018. Wrong β that number is the two clocks' origin difference, which is a different quantity from the recording latency. Off by about five video frames. Kept for reference. |
v3-shift-176ms |
Offset measured from the imagery (section 2), applied in seconds. The state mapping has not changed since. |
v4-camera-readme |
meta/camera/ published (section 4) β the ego camera model, previously reachable only by np.load-ing an npz β and this README rewritten. No episode payload changed. |
v5-instructions-fixed |
30 wrong-hand instructions corrected (section above): the task_index of 30 parquets, meta/episodes.jsonl, meta/tasks.jsonl (1,665 -> 1,673 strings). |
v6-gtdepth-s0 |
current. gtdepth_s0/ added β the initial-frame sensor depth, 3,027 npz in the undistorted pinhole space (section above). Purely additive: every v5 file is byte-identical except this README and meta/info.json. |
snapshot_download("glory-hyeok/actionnet-3k-og-lerobot", repo_type="dataset",
revision="v1-rowshift-10")
9. Attribution
Episodes are re-derived from
FourierIntelligence/ActionNet
(Fourier Intelligence). The upstream terms govern the episode payload; if they disallow this
redistribution, tell us and it comes down. The derivation β state resampling, offset measurement,
provenance index, packing, validation β is ours. The masks in target_mask* are a colleague's.
Robot: Fourier GR1-T1, 6-DoF Fourier DexHands, single head-mounted fisheye camera.
- Downloads last month
- 139