Add a dataset card; document the Franka pickplace tarball
Browse files
README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- robotics
|
| 5 |
+
tags:
|
| 6 |
+
- point-cloud
|
| 7 |
+
- world-model
|
| 8 |
+
- canonical-point-cloud
|
| 9 |
+
- rigid-transform
|
| 10 |
+
pretty_name: 3DWM kinder training datasets
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# 3DWM training datasets
|
| 14 |
+
|
| 15 |
+
Demonstration data converted to the point-cloud dataset format used by the 3DWM
|
| 16 |
+
world model, i.e. the layout its `maniskill` loader expects:
|
| 17 |
+
|
| 18 |
+
```
|
| 19 |
+
<dataset>/<split>/<scenario>/demo_N/
|
| 20 |
+
phases_dict.pkl {'cannonical_points': {geom: (P, 3)}} canonical local-frame points
|
| 21 |
+
0.h5 .. (T-1).h5 transforms/<geom> (4, 4), action (7,), names, tcp_pose (7,)
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
Points are stored once per geom in its local frame, with a 4x4 local-to-world
|
| 25 |
+
transform per timestep, which gives point-to-point correspondence across time,
|
| 26 |
+
clean part segmentation and complete surfaces. Velocity features are computed by
|
| 27 |
+
differencing corresponding points, so these are **not** sensor point clouds and a
|
| 28 |
+
raw depth capture cannot be substituted.
|
| 29 |
+
|
| 30 |
+
## Contents
|
| 31 |
+
|
| 32 |
+
* `StackCube-v1-demos/` — ManiSkill 3 StackCube, unpacked per-demo directories.
|
| 33 |
+
* `Franka-pickplace-1000demos-v2.tar.gz` — 74 MB,
|
| 34 |
+
md5 `23decfb43157934b6a4cfa1871dac1af`. kinder MuJoCo `FrankaPickPlace3D-o1`:
|
| 35 |
+
1000 train + 10 test demos, 111,181 files, 1.3 GB unpacked. Shipped as a
|
| 36 |
+
tarball because ~110k files of ~12 KB each is a poor fit for per-file hosting.
|
| 37 |
+
|
| 38 |
+
```bash
|
| 39 |
+
hf download Flashkernel/3dwm-kinder-data Franka-pickplace-1000demos-v2.tar.gz \
|
| 40 |
+
--repo-type dataset --local-dir .
|
| 41 |
+
tar xzf Franka-pickplace-1000demos-v2.tar.gz -C data/
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
Sanity check after extracting — part names, order and counts must match what the
|
| 45 |
+
training config lists as `env_keys`:
|
| 46 |
+
|
| 47 |
+
```python
|
| 48 |
+
import pickle
|
| 49 |
+
d = pickle.load(open('data/Franka-pickplace-1000demos-v2/train/pickplace/demo_0/phases_dict.pkl','rb'))
|
| 50 |
+
pts = d['cannonical_points']
|
| 51 |
+
print(list(pts.keys()))
|
| 52 |
+
print([v.shape[0] for v in pts.values()]) # [300, 38,38,38,38, 37,37,37,37]
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
## Franka pickplace provenance
|
| 56 |
+
|
| 57 |
+
Converted from the raw demos with
|
| 58 |
+
`data_generation/kindergarden/convert_sweep_to_3dwm.py --pads 300 --cube 300`,
|
| 59 |
+
which selects the gripper pads and the cube and sets their point budgets. Actions
|
| 60 |
+
are normalized with `pos_scale=0.1` and `rot_scale=-0.1` (note the sign) and
|
| 61 |
+
clipped to [-1, 1]; real end-effector motion is ~14 mm per step.
|
| 62 |
+
|
| 63 |
+
Earlier stages of the chain — the raw kindergarden demo pickles and the packed
|
| 64 |
+
canonical HDF5 — are under `franka_pickplace/` in
|
| 65 |
+
[`Flashkernel/Kinder-worldmodel`](https://huggingface.co/datasets/Flashkernel/Kinder-worldmodel).
|
| 66 |
+
The world model trained on this data is at
|
| 67 |
+
[`Flashkernel/3dwm-franka-pickplace-mppi`](https://huggingface.co/Flashkernel/3dwm-franka-pickplace-mppi),
|
| 68 |
+
whose card documents which kindergarden commit the environment must be pinned to
|
| 69 |
+
(it matters, and getting it wrong fails silently).
|