File size: 7,208 Bytes
72bb5dd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
{
  "codebase_version": "v3.0",
  "robot_type": "ego_hand",
  "total_episodes": 2,
  "total_frames": 3600,
  "total_tasks": 1,
  "chunks_size": 1000,
  "data_files_size_in_mb": 100,
  "video_files_size_in_mb": 500,
  "fps": 30,
  "splits": {
    "train": "0:2"
  },
  "data_path": "data/chunk-{chunk_index:03d}/file-{file_index:03d}.parquet",
  "video_path": "videos/{video_key}/chunk-{chunk_index:03d}/file-{file_index:03d}.mp4",
  "features": {
    "observation.camera_c2w": {
      "dtype": "float32",
      "shape": [
        4,
        4
      ],
      "names": [
        "c2w_r0c0",
        "c2w_r0c1",
        "c2w_r0c2",
        "c2w_r0c3",
        "c2w_r1c0",
        "c2w_r1c1",
        "c2w_r1c2",
        "c2w_r1c3",
        "c2w_r2c0",
        "c2w_r2c1",
        "c2w_r2c2",
        "c2w_r2c3",
        "c2w_r3c0",
        "c2w_r3c1",
        "c2w_r3c2",
        "c2w_r3c3"
      ]
    },
    "observation.state": {
      "dtype": "float32",
      "shape": [
        18
      ],
      "names": [
        "left_wrist_x_cam_m",
        "left_wrist_y_cam_m",
        "left_wrist_z_cam_m",
        "left_wrist_rot6d_0",
        "left_wrist_rot6d_1",
        "left_wrist_rot6d_2",
        "left_wrist_rot6d_3",
        "left_wrist_rot6d_4",
        "left_wrist_rot6d_5",
        "right_wrist_x_cam_m",
        "right_wrist_y_cam_m",
        "right_wrist_z_cam_m",
        "right_wrist_rot6d_0",
        "right_wrist_rot6d_1",
        "right_wrist_rot6d_2",
        "right_wrist_rot6d_3",
        "right_wrist_rot6d_4",
        "right_wrist_rot6d_5"
      ]
    },
    "action": {
      "dtype": "float32",
      "shape": [
        18
      ],
      "names": [
        "left_wrist_x_cam_m",
        "left_wrist_y_cam_m",
        "left_wrist_z_cam_m",
        "left_wrist_rot6d_0",
        "left_wrist_rot6d_1",
        "left_wrist_rot6d_2",
        "left_wrist_rot6d_3",
        "left_wrist_rot6d_4",
        "left_wrist_rot6d_5",
        "right_wrist_x_cam_m",
        "right_wrist_y_cam_m",
        "right_wrist_z_cam_m",
        "right_wrist_rot6d_0",
        "right_wrist_rot6d_1",
        "right_wrist_rot6d_2",
        "right_wrist_rot6d_3",
        "right_wrist_rot6d_4",
        "right_wrist_rot6d_5"
      ]
    },
    "observation.mano_left_pose6d": {
      "dtype": "float32",
      "shape": [
        90
      ],
      "names": null
    },
    "observation.mano_left_betas": {
      "dtype": "float32",
      "shape": [
        10
      ],
      "names": null
    },
    "observation.mano_right_pose6d": {
      "dtype": "float32",
      "shape": [
        90
      ],
      "names": null
    },
    "observation.mano_right_betas": {
      "dtype": "float32",
      "shape": [
        10
      ],
      "names": null
    },
    "observation.hand_confidence": {
      "dtype": "float32",
      "shape": [
        2
      ],
      "names": [
        "left",
        "right"
      ]
    },
    "observation.hand_valid": {
      "dtype": "float32",
      "shape": [
        2
      ],
      "names": [
        "left",
        "right"
      ]
    },
    "action_valid": {
      "dtype": "float32",
      "shape": [
        1
      ],
      "names": [
        "valid"
      ]
    },
    "observation.images.ego": {
      "dtype": "video",
      "shape": [
        1080,
        1920,
        3
      ],
      "names": [
        "height",
        "width",
        "channels"
      ],
      "info": {
        "frame_layout": "HWC",
        "channel_order": "RGB",
        "pixel_dtype": "uint8",
        "size_hw": [
          1080,
          1920
        ]
      }
    },
    "observation.images.ego_pred": {
      "dtype": "video",
      "shape": [
        1080,
        1920,
        3
      ],
      "names": [
        "height",
        "width",
        "channels"
      ],
      "info": {
        "frame_layout": "HWC",
        "channel_order": "RGB",
        "pixel_dtype": "uint8",
        "size_hw": [
          1080,
          1920
        ]
      }
    },
    "timestamp": {
      "dtype": "float32",
      "shape": [
        1
      ],
      "names": null
    },
    "frame_index": {
      "dtype": "int64",
      "shape": [
        1
      ],
      "names": null
    },
    "episode_index": {
      "dtype": "int64",
      "shape": [
        1
      ],
      "names": null
    },
    "index": {
      "dtype": "int64",
      "shape": [
        1
      ],
      "names": null
    },
    "task_index": {
      "dtype": "int64",
      "shape": [
        1
      ],
      "names": null
    }
  },
  "dataset_root": "/home/orbbec/ego_10_23_predictions/EGO",
  "hand_semantics": {
    "frames": {
      "video": "observation.images.ego is the ORIGINAL ego camera video; observation.images.ego_pred is the MINT-rendered overlay of the same frames. Both are stored as H x W x 3 uint8 (HWC), 30 FPS, and declared with that shape in info.json features",
      "video_retrieval": "LeRobotDataset[i] decodes either video back as a CHW float32 tensor (3 x H x W); permute to HWC if you need the stored layout",
      "alignment": "frame i of both videos, observation.state[i], action[i] and observation.camera_c2w[i] all refer to the same instant"
    },
    "coordinate_frames": {
      "camera_c2w": "camera-to-world 4x4 homogeneous transform, row-major float32[4,4] (OpenCV camera axes +x right, +y down, +z forward; translation in the last column [:3,3]). Frame 0 equals identity, so 'world' is the first frame's camera. Use it to lift camera-frame data to world",
      "hand": "observation.state / action stay in the CURRENT-frame camera frame, NOT in world. Lift with the same row: p_world = camera_c2w[i] @ [transl_cam; 1]",
      "warning": "Do not apply camera_c2w to hand values already converted to world, and do not train a pose head that mixes the two frames"
    },
    "hand_frame": "camera (per-frame current camera)",
    "hand_order": [
      "left",
      "right"
    ],
    "camera_axes": "OpenCV camera axes (+x right, +y down, +z forward)",
    "position_unit": "meters",
    "state": {
      "dimension": 18,
      "layout": [
        "left transl_cam[3]",
        "left orient6d[6]",
        "right transl_cam[3]",
        "right orient6d[6]"
      ],
      "meaning": "absolute two-hand wrist pose in camera frame"
    },
    "action": {
      "dimension": 18,
      "meaning": "next-frame absolute wrist-pose prediction target; not robot control",
      "final_frame": "placeholder repeats current state; action_valid=0"
    },
    "mano_aux": {
      "left_pose6d": "original hand[9:99]",
      "left_betas": "original hand[99:109]",
      "right_pose6d": "original hand[118:208]",
      "right_betas": "original hand[208:218]",
      "mano_order": "official MANO order, 15 joints x row-major rotation 6D",
      "reconstruction": "state contains both hands' transl_cam and orient6d; combine with the four MANO auxiliary features to reconstruct original hand[218]"
    },
    "hand_valid": {
      "threshold": 0.5,
      "rule": "hand_confidence >= threshold",
      "note": "heuristic; use MINT's exact filtering rule if reproducing its training"
    },
    "task": "predict next-frame absolute two-hand wrist pose"
  },
  "prediction_meta": "meta/predictions.json"
}