angkul07 commited on
Commit
da70ed4
·
verified ·
1 Parent(s): dd423de

Add files using upload-large-folder tool

Browse files
Files changed (5) hide show
  1. README.md +143 -0
  2. mrfood1.tar +3 -0
  3. mrfood3.tar +3 -0
  4. piper_ego.tar +3 -0
  5. piper_stera_plate.tar +3 -0
README.md ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - robotics
5
+ tags:
6
+ - robotics
7
+ - lerobot
8
+ - agilex-piper
9
+ - retargeting
10
+ - co-training
11
+ ---
12
+
13
+ # piper-single-arm-cotrain
14
+
15
+ Four **LeRobot v2.1** datasets on an **AgileX Piper** arm, put on one schema so
16
+ they can be mixed without a rename map: two built by retargeting human
17
+ demonstrations, two from real teleoperation, balanced to the same duration.
18
+
19
+ | archive | size | episodes | frames | duration | tasks | provenance |
20
+ |---|---|---|---|---|---|---|
21
+ | `piper_ego.tar` | 172 MB | 1,574 | 109,730 | 1 h 31 m | 30 | EgoDex-derived egocentric pick-and-place, retargeted |
22
+ | `piper_stera_plate.tar` | 75 MB | 226 | 20,385 | 17 m | 127 | stera-10m plate handling, retargeted |
23
+ | `mrfood1.tar` | 1.62 GB | 294 | 61,709 | 51 m | 1 | real teleop |
24
+ | `mrfood3.tar` | 1.74 GB | 285 | 68,271 | 57 m | 1 | real teleop |
25
+
26
+ Retargeted **130,115** frames vs teleop **129,980** — 1 h 48 m per side, 135
27
+ frames apart.
28
+
29
+ ## Schema
30
+
31
+ Every archive is a self-contained LeRobot v2.1 dataset:
32
+
33
+ ```
34
+ <dataset>/data/chunk-000/episode_NNNNNN.parquet
35
+ <dataset>/videos/chunk-000/observation.images.top/episode_NNNNNN.mp4
36
+ <dataset>/videos/chunk-000/observation.images.right-arm/episode_NNNNNN.mp4
37
+ <dataset>/meta/{info,episodes,tasks,episodes_stats}.jsonl + info.json
38
+ ```
39
+
40
+ | | |
41
+ |---|---|
42
+ | `codebase_version` | `v2.1` |
43
+ | `robot_type` | `agilex_piper` (single arm) |
44
+ | rate | 20 Hz / 20 fps |
45
+ | `observation.state`, `action` | `float32[7]` = `[j1…j6 in degrees, gripper ∈ {0,1}]` |
46
+ | cameras | `observation.images.top`, `observation.images.right-arm` |
47
+
48
+ Gripper is `0` = closed, `1` = open. Joint angles are **degrees**, within the
49
+ Piper limits (±150, 0–180, −155–0, ±105, ±70, ±180).
50
+
51
+ `meta/source_episodes.jsonl` maps each episode back to its index in the
52
+ pre-trim dataset; `meta/source_clips.jsonl` (retargeted) and
53
+ `meta/episode_quality.jsonl` (teleop) are carried through where the source had
54
+ them.
55
+
56
+ ## How these were unified
57
+
58
+ The sources did not agree, in ways that raise no error at load time:
59
+
60
+ - **Left arm dropped.** It was a constant park pose in the retargeted sets and
61
+ exactly zero in the teleop sets — no signal either way. This also moves the
62
+ gripper to index 6 everywhere; it had been at index 6 in the retargeted sets
63
+ and index **12** in teleop.
64
+ - **Radians → degrees** on the retargeted sets. Teleop was already degrees.
65
+ - **Gripper binarized.** Teleop was already effectively binary (one transition
66
+ per clip), so a plain 0.4 threshold applies. The retargeted gripper is a
67
+ continuous hand-aperture signal that never reaches either stop; a plain
68
+ threshold on it yields a median of 3–4 transitions per clip — phantom
69
+ grasp/release events inside a single pick-and-place. It instead gets per-clip
70
+ min/max normalisation and a Schmitt trigger (0.40 ±0.15, 8-frame dwell),
71
+ giving a median of 2 transitions (grasp + release).
72
+ - **20 Hz.** The retargeted sets were resampled from 30 Hz by linear
73
+ interpolation onto a uniform 50 ms grid (30→20 is a 2/3 ratio, so decimation
74
+ would leave alternating 33/67 ms gaps), with the action recomputed afterwards.
75
+
76
+ Gripper open-fraction after binarization: 0.64 / 0.49 (retargeted) against
77
+ 0.56 / 0.51 (teleop).
78
+
79
+ ## Known limits
80
+
81
+ **The retargeted views are synthetic, and share one camera.** `top` and
82
+ `right-arm` are both crops of a *single* egocentric frame — `top` is the square
83
+ centre crop, `right-arm` a zoom window tracking a MediaPipe-detected grasp
84
+ point. They carry no parallax, unlike the teleop sets' two physical cameras.
85
+ Video is 224×224 upright for the retargeted sets and 480×640 portrait
86
+ (rotated ~90°) for teleop.
87
+
88
+ **Action means slightly different things.** The retargeted action is exactly
89
+ `state[t+1]` — a perfect next-frame target, because it is constructed that way.
90
+ The teleop action is a separately recorded controller command that leads the
91
+ state by one frame with a real tracking residual (~0.08°). Both are absolute
92
+ next-step position targets.
93
+
94
+ **Joint envelopes only partly overlap.** The retargeted trajectories reach every
95
+ Piper joint limit; the teleop trajectories occupy a narrow interior band. About
96
+ 73% of the retargeted saturation is wrist-driven (joint4/joint5; joint5's range
97
+ is only ±1.22 rad, the tightest on the arm).
98
+
99
+ **`piper_stera_plate` is the weakest set.** Its retargeting FK error is
100
+ substantially higher than `piper_ego`'s, and 10% of its clips still show more
101
+ than four gripper transitions after debouncing.
102
+
103
+ **Grasp events are inferred, not labelled.** The retargeted gripper signal comes
104
+ from hand pose, not from a recorded gripper command.
105
+
106
+ ## Provenance and attribution
107
+
108
+ - `piper_ego`, `piper_stera_plate` — retargeted with the Fidelity Dynamics
109
+ dt-pipeline (stage 6) from
110
+ [`angkul07/piper-retargeted`](https://huggingface.co/datasets/angkul07/piper-retargeted),
111
+ itself derived from EgoDex-style egocentric recordings and stera-10m.
112
+ - `mrfood1` — from [`PranayTest/pick-right-2026-08-14to15-2cam`](https://huggingface.co/datasets/PranayTest/pick-right-2026-08-14to15-2cam)
113
+ - `mrfood3` — from [`PranayTest/pick-right-2026-08-11-2cam-prxxx`](https://huggingface.co/datasets/PranayTest/pick-right-2026-08-11-2cam-prxxx)
114
+
115
+ The teleop sources are LeRobot v3.0 and were converted to v2.1 here (v3.0 packs
116
+ many episodes per parquet and concatenates episodes into shared video files;
117
+ splitting those requires a re-encode, since the cut points are not
118
+ keyframe-aligned). A third teleop set,
119
+ [`PranayTest/pick-right-2026-08-19-2cam`](https://huggingface.co/datasets/PranayTest/pick-right-2026-08-19-2cam),
120
+ was converted but excluded from this release. `mrfood1` and `mrfood3` were then
121
+ trimmed by dropping whole episodes in a golden-ratio order — so the cut spreads
122
+ evenly across each run rather than concentrating on one session — to match the
123
+ retargeted duration.
124
+
125
+ All upstream datasets are Apache-2.0.
126
+
127
+ ## Validation
128
+
129
+ Every episode in all four archives passes: parquet row count against declared
130
+ length, contiguous `frame_index`, timestamps against the declared rate,
131
+ globally continuous `index`, and a frame count for each declared camera key.
132
+ Zero errors.
133
+
134
+ ## Usage
135
+
136
+ ```bash
137
+ tar xf piper_ego.tar
138
+ ```
139
+
140
+ ```python
141
+ from lerobot.common.datasets.lerobot_dataset import LeRobotDataset
142
+ ds = LeRobotDataset("piper_ego", root="piper_ego")
143
+ ```
mrfood1.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fce2210c592935fba6d0e161b55f1a0cd96f657aa7bc9457ac43a627813253db
3
+ size 1623326720
mrfood3.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:217199da420c32da7f7c5db0687ad81beeb1bfd8bf0f92b2e4753043c262d0c1
3
+ size 1736755200
piper_ego.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0530d817fd8f4fb06581fb4fce57fe7c7b349af19b1af3a515842e0bcd8160d
3
+ size 171765760
piper_stera_plate.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3512a657d8614365c3e1649ac588dd0e21bf62a36600eabe5c729faa388df79a
3
+ size 75417600