JingwuLuo commited on
Commit
0be36e2
·
verified ·
1 Parent(s): a7de223

Add dataset card / usage README

Browse files
Files changed (1) hide show
  1. README.md +39 -14
README.md CHANGED
@@ -35,28 +35,53 @@ actions recorded over 250 episodes.
35
  ## Composition
36
 
37
  One directory per episode, named `<language_prompt>_<YYYYMMDD_HHMMSS>/`.
38
- Each directory holds, per autoregressive chunk index `i` (`i = 0, 2, 4, …`):
39
 
40
  ```
41
  <episode>/
42
- obs_data_<i>.pt # raw observation fed to the WAM at chunk i (multi-camera RGB + proprio), pre-VAE
43
- latents_<i>.pt # VAE video latents at chunk i
44
- actions_<i>.pt # predicted action chunk at chunk i
45
  ```
46
 
47
- - `obs_data_<i>.pt` — the raw observation recorded at chunk `i`, before VAE
48
- encoding (multi-camera RGB frames + robot proprioceptive state).
49
- - `latents_<i>.pt` — the VAE-encoded video latents at chunk `i`.
50
- - `actions_<i>.pt` — the action chunk the model produced at chunk `i`.
51
-
52
  Counts: 2079 files of each type (obs_data / latents / actions), across 250
53
- episodes. The number of chunks per episode varies with task horizon.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
- All tensors are saved with `torch.save`; load with
56
- `torch.load(path, weights_only=False, map_location="cpu")`.
57
 
58
- Episode directories are flattened at the repo root (the upload tool did not
59
- preserve a parent prefix); each prompt+timestamp directory name is unique.
 
 
 
 
60
 
61
  ## Download
62
 
 
35
  ## Composition
36
 
37
  One directory per episode, named `<language_prompt>_<YYYYMMDD_HHMMSS>/`.
38
+ Each directory holds three tensor types per autoregressive chunk index `i`:
39
 
40
  ```
41
  <episode>/
42
+ obs_data_<i>.pt # raw observation window fed to the model at chunk i (pre-VAE)
43
+ latents_<i>.pt # VAE-encoded video latents at chunk i
44
+ actions_<i>.pt # model-predicted action chunk at chunk i
45
  ```
46
 
 
 
 
 
 
47
  Counts: 2079 files of each type (obs_data / latents / actions), across 250
48
+ episodes. All tensors are saved with `torch.save`; load with
49
+ `torch.load(path, weights_only=False, map_location="cpu")`. NumPy arrays load
50
+ without torch. Image arrays are `uint8`; latents / actions are `bfloat16`.
51
+
52
+ ### `obs_data_<i>.pt` — `list` of per-frame observation records
53
+
54
+ Each list element is one frame, a dict in the RoboTwin / aloha-agilex layout:
55
+
56
+ | key | type / shape | meaning |
57
+ |---|---|---|
58
+ | `observation.images.cam_high` | `uint8 [240, 320, 3]` | head camera RGB (HWC) |
59
+ | `observation.images.cam_left_wrist` | `uint8 [240, 320, 3]` | left-wrist camera RGB |
60
+ | `observation.images.cam_right_wrist` | `uint8 [240, 320, 3]` | right-wrist camera RGB |
61
+ | `observation.state` | `float64 [14]` | proprioceptive state (dual 7-DoF arms) |
62
+ | `task` | `str` | language instruction |
63
+
64
+ The list is **cumulative** — it grows as the rollout proceeds (4 records at
65
+ chunk 0, 8 at chunk 2, … i.e. the full observation history up to chunk `i`).
66
+
67
+ ### `latents_<i>.pt` — `bfloat16 [1, 48, 2, 24, 20]`
68
+
69
+ `[batch, latent_channels=48, temporal_frames=2, H_lat=24, W_lat=20]` — the WAN
70
+ VAE-encoded video latent for the 2 frames generated at chunk `i`.
71
+
72
+ ### `actions_<i>.pt` — `bfloat16 [1, 30, 2, 16, 1]`
73
+
74
+ `[batch, action_dim=30, temporal_frames=2, steps=16, 1]` — the model-predicted
75
+ action chunk for chunk `i` (fixed shape per chunk, not cumulative).
76
 
77
+ ### Chunk indexing
 
78
 
79
+ Chunk indices are **even and contiguous** (`0, 2, 4, 6, …`): the WAN VAE
80
+ temporally downsamples 2:1, so each autoregressive step emits 2 latent frames,
81
+ and `<i>` is the frame-start id of that step (hence the step of 2). The set of
82
+ indices present per episode runs `0 … 2·(num_chunks − 1)`; episode length varies
83
+ with task horizon. Episode directories are flattened at the repo root (the
84
+ upload tool did not preserve a parent prefix); each name is unique.
85
 
86
  ## Download
87