yxma commited on
Commit
fd26b94
·
verified ·
1 Parent(s): 2b2cfc6

docs/curation_pipeline.md: point at MultimodalData/twm/scripts/ now that one-shot scripts have been migrated out of /tmp/ into a versioned home.

Browse files
Files changed (1) hide show
  1. docs/curation_pipeline.md +10 -7
docs/curation_pipeline.md CHANGED
@@ -1,12 +1,15 @@
1
  # React data curation pipeline
2
 
 
 
 
3
  The procedure below is what runs between a fresh recording session and a HF
4
  push. Follow it in order; each stage produces a checkable artifact, so a bad
5
  stage doesn't silently propagate downstream.
6
 
7
  Source files referenced. The first five live in the recording-machine
8
  `MultimodalData/twm/` checkout. The rest are the curation scripts produced
9
- for this dataset; they currently live in `/tmp/` (development scratchpad)
10
  and should be moved into `MultimodalData/twm/twm/scripts/` so they're
11
  versioned alongside the rest of the codebase.
12
 
@@ -17,10 +20,10 @@ versioned alongside the rest of the codebase.
17
  | `compress_h5.py` | `MultimodalData/twm/` | BLOSC → GZIP+shuffle. |
18
  | `visualize.py` | `MultimodalData/twm/` | Interactive replay viewer / MP4 export. Projection overlay on by default, `--no_projection` to disable. Delegates panel + overlay to `twm.viz`. |
19
  | `twm.contact_index` | `MultimodalData/twm/twm/` | Tactile contact metrics → `.pt` files. |
20
- | `make_episode_gifs_v3.py` | `/tmp/` | Per-episode HF preview GIFs (canonical viewer layout). |
21
- | `freeze_diagnose.py` | `/tmp/` | Augmented freeze detector: cross-modal motion + frame-duplicate + OT-gap + rotation/translation teleport. Classifies each freeze into `pipeline_stall` / `ot_dropout` / `ot_teleport` / `real_still`. |
22
- | `inspect_freezes_v3.py` | `/tmp/` | Helper layer used by `freeze_diagnose.py` — schedules clips per freeze event, renders them via `twm.viz`. |
23
- | `freeze_cut_report.py` | `/tmp/` | Per-threshold tally of frozen-pose frames (no clip rendering). |
24
 
25
  The pipeline assumes the standard layout:
26
 
@@ -216,9 +219,9 @@ Current scripts:
216
  teleports are now caught in 5C via `freeze_diagnose.py`'s angular
217
  velocity check** but should be folded into the main `bad_frames.json`
218
  pipeline.)
219
- - pose freezes: `/tmp/freeze_diagnose.py` (cross-modal classifier;
220
  outputs per-event verdicts + per-class sample clips). Also see
221
- `/tmp/freeze_cut_report.py` for per-threshold totals across the task.
222
 
223
  **To do — consolidation.** These detectors should be merged into a single
224
  `scripts/detect_failures.py` that:
 
1
  # React data curation pipeline
2
 
3
+
4
+ > **Note (2026-05-18 update):** The one-shot scripts referenced below have been moved out of /tmp/ and into a versioned home at MultimodalData/twm/scripts/. All references in this document have been updated. The previous /tmp/ copies are stale.
5
+
6
  The procedure below is what runs between a fresh recording session and a HF
7
  push. Follow it in order; each stage produces a checkable artifact, so a bad
8
  stage doesn't silently propagate downstream.
9
 
10
  Source files referenced. The first five live in the recording-machine
11
  `MultimodalData/twm/` checkout. The rest are the curation scripts produced
12
+ for this dataset; they currently live in `MultimodalData/twm/scripts/` (development scratchpad)
13
  and should be moved into `MultimodalData/twm/twm/scripts/` so they're
14
  versioned alongside the rest of the codebase.
15
 
 
20
  | `compress_h5.py` | `MultimodalData/twm/` | BLOSC → GZIP+shuffle. |
21
  | `visualize.py` | `MultimodalData/twm/` | Interactive replay viewer / MP4 export. Projection overlay on by default, `--no_projection` to disable. Delegates panel + overlay to `twm.viz`. |
22
  | `twm.contact_index` | `MultimodalData/twm/twm/` | Tactile contact metrics → `.pt` files. |
23
+ | `make_episode_gifs_v3.py` | `MultimodalData/twm/scripts/` | Per-episode HF preview GIFs (canonical viewer layout). |
24
+ | `freeze_diagnose.py` | `MultimodalData/twm/scripts/` | Augmented freeze detector: cross-modal motion + frame-duplicate + OT-gap + rotation/translation teleport. Classifies each freeze into `pipeline_stall` / `ot_dropout` / `ot_teleport` / `real_still`. |
25
+ | `inspect_freezes_v3.py` | `MultimodalData/twm/scripts/` | Helper layer used by `freeze_diagnose.py` — schedules clips per freeze event, renders them via `twm.viz`. |
26
+ | `freeze_cut_report.py` | `MultimodalData/twm/scripts/` | Per-threshold tally of frozen-pose frames (no clip rendering). |
27
 
28
  The pipeline assumes the standard layout:
29
 
 
219
  teleports are now caught in 5C via `freeze_diagnose.py`'s angular
220
  velocity check** but should be folded into the main `bad_frames.json`
221
  pipeline.)
222
+ - pose freezes: `MultimodalData/twm/scripts/freeze_diagnose.py` (cross-modal classifier;
223
  outputs per-event verdicts + per-class sample clips). Also see
224
+ `MultimodalData/twm/scripts/freeze_cut_report.py` for per-threshold totals across the task.
225
 
226
  **To do — consolidation.** These detectors should be merged into a single
227
  `scripts/detect_failures.py` that: