yxma commited on
Commit
867ad12
·
verified ·
1 Parent(s): 7b386aa

README: the one-week main window, the statistics figures, the splits and what guard costs, and the Z-up calibration rule

Browse files
Files changed (1) hide show
  1. README.md +86 -10
README.md CHANGED
@@ -84,19 +84,88 @@ data/<task>/depth/<date>/episode_NNN/depth_{left,middle,right}.mkv
84
 
85
  ## Tasks
86
 
87
- | Task | Episodes | Dates | Duration | Clean segments | Calibration |
 
 
 
 
88
  |---|---|---|---|---|---|
89
- | **motherboard** | 32 | 2026-05-10/11/19 | 108 min | 76 (107 min) | **May-12** (RMSE ~5 mm) |
90
- | **pushT** | 4 | 2026-06-18 | 25 min | 17 (25 min) | **June-26** (RMSE ~0.6 px) |
 
 
 
 
 
 
 
 
 
 
 
91
 
92
- See [`tasks.json`](tasks.json) for the machine-readable registry (per-task dates, sensors, calibration epoch, world-frame offsets).
 
 
 
93
 
94
- ### Calibration epochs
95
- Cameras were **recalibrated between tasks**. Each task points to the calibration valid for its recordings:
96
- - `motherboard` → **May-12** extrinsics (`data/motherboard/calibration/`)
97
- - `pushT` → **June-26** extrinsics (`data/pushT/calibration/`)
 
 
 
 
 
 
 
 
 
98
 
99
- Camera extrinsics are used only for the projection overlay; **stored poses are OptiTrack world-frame** and independent of calibration. The 2026-05-19 motherboard session had a redefined world origin; an offset `(0.23, 0, 0.175) m` is already baked into its poses so all dates share one frame (recorded in `episodes.jsonl`).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
 
101
  ## Downloading — depth is optional
102
 
@@ -156,7 +225,14 @@ columns; poses/views/depth are unchanged. Set `tactile_latency=0` for the raw
156
  `camera_stream/measure_gelsight_latency.py`.
157
 
158
  ## Data quality
159
- Per-task `bad_frames.json` flags `intensity_spikes`, `pose_teleports_{L,R}`, `ot_loss_{L,R}` (OptiTrack track loss). Overall flagged: motherboard 0.90 %, pushT 0.67 %. `segments.json` already excludes them.
 
 
 
 
 
 
 
160
 
161
  ## Notes
162
  - **Depth** is available in the source recordings and will be added under `data/<task>/depth/` in a later upload.
 
84
 
85
  ## Tasks
86
 
87
+ `main` carries one week — 2026-09-10 onward. Earlier sessions live on
88
+ `old_data/`, and the 2026-09-09 session (different wrist cameras) ships
89
+ separately as `data/validation`.
90
+
91
+ | Task | Segments | Source recordings | Dates | Duration | Flagged frames |
92
  |---|---|---|---|---|---|
93
+ | **motherboard** | 25 | 12 | 2026-09-11/12 | 93.9 min | 0.30 % |
94
+ | **pushT** | 59 | 22 | 2026-09-10/11/12 | 62.9 min | 0.05 % |
95
+ | **rope** | 23 | 8 | 2026-09-11 | 43.8 min | 0.16 % |
96
+
97
+ Segments and source recordings are reported separately on purpose: 25 segments
98
+ is not 25 independent recordings, and reading it that way overstates the
99
+ diversity by a factor of two.
100
+
101
+ See [`tasks.json`](tasks.json) for the machine-readable registry.
102
+
103
+ ## Statistics
104
+
105
+ ![wrist-camera era](assets/stats_wrist_era.png)
106
 
107
+ Scale, contact-force distribution, contact occupancy, and tactile validity per
108
+ task. The force distribution uses **unsaturated samples only**; the fraction at
109
+ the pipeline ceiling is annotated separately rather than mixed in, because a
110
+ clipped value is not a measurement. Raw numbers: [`assets/dataset_stats.json`](assets/dataset_stats.json).
111
 
112
+ ![2026-09-09 session](assets/stats_arducam_session.png)
113
+
114
+ `data/validation` is drawn apart because it is not comparable: different wrist
115
+ cameras, and a session the rest of the release does not share.
116
+
117
+ ## Calibration — read `up_axis`, and use the epoch the session declares
118
+
119
+ **The published poses are Z-up.** Every calibration file on `main` says so:
120
+
121
+ ```json
122
+ { "T_mocap_to_cam": [...], "up_axis": "z",
123
+ "up_axis_note": "converted from the recorded Y-up by R_x(-90): (x,y,z)->(x,-z,y). ..." }
124
+ ```
125
 
126
+ A file with no `up_axis` key is the Y-up original. **Pairing one with these
127
+ poses raises nothing**: the two forms of the same solve differ by 1.27 in
128
+ matrix norm, so the projected point stays inside the frame and the image looks
129
+ plausible. Tactile readings are unaffected. The view-frame action is wrong by
130
+ `R_x(90)`. Refuse a file that does not declare its axis rather than assuming
131
+ one — `twm.calibration_frame.require_zup` does exactly that.
132
+
133
+ Cameras are **recalibrated between sessions**, so a recording names its epoch
134
+ and nothing infers it from the date: pushT's 2026-06-18 belongs to the June-26
135
+ solve, measured eight days later. Every session on `main` declares the
136
+ **2026-09-09** epoch, published at `data/<task>/calibration/epoch_2026-09-09/`.
137
+
138
+ Camera extrinsics are used only for projection into a view; **stored poses are
139
+ OptiTrack world-frame** and do not depend on the calibration.
140
+
141
+ ## Splits — held-out INTERVALS, not held-out episodes
142
+
143
+ `data/<task>/splits.json`. Each segment contributes a few held-out windows from
144
+ its middle; the rest of that segment trains. Holding out whole episodes would
145
+ spend the scarce resource — episodes, and with them scene layouts and lighting —
146
+ to buy an independence that a short-horizon world model does not need.
147
+
148
+ | Task | test | guard | train | intervals |
149
+ |---|---|---|---|---|
150
+ | motherboard | 11.9 % | 9.4 % | 78.8 % | 271 |
151
+ | pushT | 12.1 % | 9.6 % | 78.3 % | 119 |
152
+ | rope | 12.2 % | 9.6 % | 78.2 % | 60 |
153
+
154
+ **`guard` is the part that leaks if you ignore it.** A training window of span
155
+ S starting shortly BEFORE a held-out interval `[a, b]` still contains its
156
+ frames, so starts in `[a-(S-1), b]` must be rejected — not just `[a, b]`.
157
+ `guard_frames` is `max_train_window - 1` (63 frames at the published
158
+ `max_train_window` of 64) and it is RECORDED in the file. A loader using a
159
+ longer window must FAIL rather than silently leak: see `assert_window_fits`.
160
+ That failure mode leaves no trace in any metric until the numbers are
161
+ suspiciously good.
162
+
163
+ The guard frames are neither trained on nor tested on. That is what
164
+ independence costs; it is listed rather than folded into `train`.
165
+
166
+ An episode present in `episodes.jsonl` but absent from `splits.json` is read as
167
+ TRAIN by `ReactVideoDataset._split_filter`. Every published segment appears in
168
+ both.
169
 
170
  ## Downloading — depth is optional
171
 
 
225
  `camera_stream/measure_gelsight_latency.py`.
226
 
227
  ## Data quality
228
+ Per-task `bad_frames.json` flags `intensity_spikes`, `pose_teleports_{L,R}`,
229
+ `ot_loss_{L,R}` (OptiTrack track loss), `tactile_freeze_{L,R}` — a disconnected
230
+ sensor repeats its last frame rather than going blank, so every scalar detector
231
+ sees a perfectly steady signal — and `cam_corruption`, torn frames found by
232
+ decoding the published video, which no sidecar scalar can see.
233
+
234
+ Flagged fractions are in the task table above; `segments.json` already excludes
235
+ these spans.
236
 
237
  ## Notes
238
  - **Depth** is available in the source recordings and will be added under `data/<task>/depth/` in a later upload.