Files changed (1) hide show
  1. README.md +33 -8
README.md CHANGED
@@ -19,15 +19,40 @@ Current version: v1.1
19
  Contents of train/val_v1.1:
20
  - **video.bin** - 16x16 image patches at 30hz, each patch is vector-quantized into 2^18 possible integer values. These can be decoded into 256x256 RGB images using the provided `magvig2.ckpt` weights.
21
  - **segment_ids.bin** - for each frame `segment_ids[i]` uniquely points to the segment index that frame `i` came from. You may want to use this to separate non-contiguous frames from different videos (transitions).
22
- - **actions/** - a folder of action arrays stored in `np.float32` format. For frame `i`, the corresponding action is given by `driving_command[i]`, `joint_pos[i]`, `l_hand_closure[i]`, and so on. The shapes of the arrays are as follows (N is the number of frames):
 
 
 
 
 
 
23
  ```
24
- {
25
- joint_pos: (N, 21)
26
- driving_command: (N, 2),
27
- neck_desired: (N, 1),
28
- l_hand_closure: (N, 1),
29
- r_hand_closure: (N, 1),
30
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  ```
32
 
33
 
 
19
  Contents of train/val_v1.1:
20
  - **video.bin** - 16x16 image patches at 30hz, each patch is vector-quantized into 2^18 possible integer values. These can be decoded into 256x256 RGB images using the provided `magvig2.ckpt` weights.
21
  - **segment_ids.bin** - for each frame `segment_ids[i]` uniquely points to the segment index that frame `i` came from. You may want to use this to separate non-contiguous frames from different videos (transitions).
22
+ - **actions/** - a folder of action arrays stored in `np.float32` format. For frame `i`, the corresponding action is given by `joint_pos[i]`, `driving_command[i]`, `neck_desired[i]`, and so on. The shapes and definitions of the arrays are as follows (N is the number of frames):
23
+ - **joint_pos** `(N, 21)`: Joint positions. See `Index-to-Joint Mapping` below.
24
+ - **driving_command** `(N, 2)`: Linear and angular velocities.
25
+ - **neck_desired** `(N, 1)`: Desired neck pitch.
26
+ - **l_hand_closure** `(N, 1)`: Left hand closure state (0 = open, 1 = closed).
27
+ - **r_hand_closure** `(N, 1)`: Right hand closure state (0 = open, 1 = closed).
28
+ #### Index-to-Joint Mapping
29
  ```
30
+ {
31
+ 0: HIP_YAW
32
+ 1: HIP_ROLL
33
+ 2: HIP_PITCH
34
+ 3: KNEE_PITCH
35
+ 4: ANKLE_ROLL
36
+ 5: ANKLE_PITCH
37
+ 6: LEFT_SHOULDER_PITCH
38
+ 7: LEFT_SHOULDER_ROLL
39
+ 8: LEFT_SHOULDER_YAW
40
+ 9: LEFT_ELBOW_PITCH
41
+ 10: LEFT_ELBOW_YAW
42
+ 11: LEFT_WRIST_PITCH
43
+ 12: LEFT_WRIST_ROLL
44
+ 13: RIGHT_SHOULDER_PITCH
45
+ 14: RIGHT_SHOULDER_ROLL
46
+ 15: RIGHT_SHOULDER_YAW
47
+ 16: RIGHT_ELBOW_PITCH
48
+ 17: RIGHT_ELBOW_YAW
49
+ 18: RIGHT_WRIST_PITCH
50
+ 19: RIGHT_WRIST_ROLL
51
+ 20: NECK_PITCH
52
+ 21: LEFT_WHEEL
53
+ 22: RIGHT_WHEEL
54
+ }
55
+
56
  ```
57
 
58