alexzms commited on
Commit
ae64413
·
verified ·
1 Parent(s): 2d10dba

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +55 -1
README.md CHANGED
@@ -3,4 +3,58 @@ license: apache-2.0
3
  language:
4
  - en
5
  ---
6
- Fastvideo World Model. MC dataset
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  language:
4
  - en
5
  ---
6
+ # FastvideoWorldModel-MC
7
+
8
+ This dataset contains short Minecraft (MineDojo) episodes. Each episode is a folder with a video and optional JSON action annotations.
9
+
10
+ ## File layout
11
+
12
+ ```text
13
+ <dataset_root>/
14
+ episode_<timestamp_utc>_w<worker_id>_<episode_index>_<run_name>/
15
+ manifest.json
16
+ video.mp4
17
+ mg/
18
+ mg_actions.json
19
+ data.npz # optional (advanced users)
20
+ ```
21
+
22
+ ## `video.mp4`
23
+
24
+ - H.264 (libx264)
25
+ - FPS and resolution are recorded in `manifest.json` (`fps`, `image_size_hw` where `image_size_hw = [H, W]`)
26
+ - The video has **96 frames**
27
+
28
+ ## `mg/mg_actions.json`
29
+
30
+ Per-frame action annotations (one entry per timestep).
31
+
32
+ Format:
33
+ - Top-level: JSON object (dict)
34
+ - Keys: `"0"` ... `"T-1"` (string timestep)
35
+ - Value per timestep:
36
+ - `action`: `List[int]` (raw MineDojo MultiDiscrete action vector)
37
+ - `move_action`: `str` in `{ "", "W", "A", "S", "D", "WA", "WD", "SA", "SD" }`
38
+ - `view_action`: `str` in `{ "", "up", "down", "left", "right", "up_left", "up_right", "down_left", "down_right" }`
39
+
40
+ Notes:
41
+ - `view_action` is derived from the per-frame yaw/pitch delta.
42
+ - Convention: `dyaw > 0 => right`; `dpitch > 0 => down` (common Minecraft convention).
43
+
44
+ ## Advanced (Pro): `data.npz` (optional)
45
+
46
+ Some episodes also include `data.npz` (created with `numpy.savez_compressed`). It contains **per-frame aligned** numpy arrays.
47
+
48
+ Keys (all aligned to the video frames; typically `T = 96`):
49
+
50
+ - `actions`: `int64`, shape `(T, D)`
51
+ - raw MineDojo `MultiDiscrete` action vector per frame
52
+ - `D` matches `len(manifest["action_nvec"])`
53
+ - `positions`: `float32` (sometimes `float64`), shape `(T, 3)`
54
+ - Minecraft world position `(x, y, z)`
55
+ - `yaws`: `float32` (sometimes `float64`), shape `(T,)`
56
+ - camera yaw in **degrees**
57
+ - `pitches`: `float32` (sometimes `float64`), shape `(T,)`
58
+ - camera pitch in **degrees**
59
+
60
+ If you only need video + `mg_actions.json`, you can ignore `data.npz`.