15y6u87 commited on
Commit
9a3f87d
·
verified ·
1 Parent(s): b36cd55

Card: viewer preview, scene table, download tiers, getting started, Chinese guide link

Browse files
Files changed (1) hide show
  1. README.md +48 -5
README.md CHANGED
@@ -2,6 +2,8 @@
2
  pretty_name: MaLiang Data
3
  license: other
4
  license_name: research-only
 
 
5
  size_categories:
6
  - 1M<n<10M
7
  tags:
@@ -11,9 +13,14 @@ tags:
11
  - semantic-map
12
  - unreal-engine
13
  - game
14
- - action-rpg
15
  configs:
16
- - config_name: default
 
 
 
 
 
17
  data_files:
18
  - split: train
19
  path: "data/*/*/*/frames-*.tar"
@@ -49,6 +56,10 @@ MaLiang renders a playable game world directly from the game state: the game han
49
 
50
  ![Ten scenes, two looks](https://huggingface.co/datasets/15y6u87/MaLiang-Data/resolve/main/assets/scenes.jpg)
51
 
 
 
 
 
52
  ## Subsets
53
 
54
  | Subset | What it is | Runs | Frames | Game time | 81-frame clips | Size |
@@ -59,18 +70,50 @@ MaLiang renders a playable game world directly from the game state: the game han
59
 
60
  Frames are 1280×704 at 16 fps of game time, stored as WebDataset tar shards of 1,600 frames (`data/<subset>/<scene>/<run>/frames-*.tar`) with per-run index files. `summary_v10.csv` lists every run, and `previews/` shows two clips of one run per scene. For MaLiang the recordings are cut into 11,955 training clips (1,893 with boss attack effects added) and 100 held-out test clips.
61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  ## Download
63
 
64
  ```bash
65
- # one run (about 2.4 GB)
 
 
 
 
66
  hf download 15y6u87/MaLiang-Data --repo-type dataset --include "data/v10_real/05_Japanese_Spring_Sanctuary/R10_s5501/*" --local-dir MaLiang-Data
67
- # one subset
 
 
68
  hf download 15y6u87/MaLiang-Data --repo-type dataset --include "data/v10_real/*" --local-dir MaLiang-Data
69
  # everything (about 482 GB)
70
  hf download 15y6u87/MaLiang-Data --repo-type dataset --local-dir MaLiang-Data
71
  ```
72
 
73
- Then follow *Data* in the [code README](https://github.com/YeyingLab/MaLiang#-data) to build the training cache.
 
 
 
 
 
 
 
 
 
74
 
75
  ## What each run contains
76
 
 
2
  pretty_name: MaLiang Data
3
  license: other
4
  license_name: research-only
5
+ task_categories:
6
+ - image-to-video
7
  size_categories:
8
  - 1M<n<10M
9
  tags:
 
13
  - semantic-map
14
  - unreal-engine
15
  - game
16
+ - webdataset
17
  configs:
18
+ - config_name: preview
19
+ default: true
20
+ data_files:
21
+ - split: train
22
+ path: "preview/preview.parquet"
23
+ - config_name: all
24
  data_files:
25
  - split: train
26
  path: "data/*/*/*/frames-*.tar"
 
56
 
57
  ![Ten scenes, two looks](https://huggingface.co/datasets/15y6u87/MaLiang-Data/resolve/main/assets/scenes.jpg)
58
 
59
+ ## Quick look in the browser
60
+
61
+ The **Dataset Viewer** above shows the `preview` config: 100 frames (10 scenes × 2 subsets × 5 frames), each with the rendered frame, the integer map (coloured), the condition image, the white-box render and the keys held. No download needed.
62
+
63
  ## Subsets
64
 
65
  | Subset | What it is | Runs | Frames | Game time | 81-frame clips | Size |
 
70
 
71
  Frames are 1280×704 at 16 fps of game time, stored as WebDataset tar shards of 1,600 frames (`data/<subset>/<scene>/<run>/frames-*.tar`) with per-run index files. `summary_v10.csv` lists every run, and `previews/` shows two clips of one run per scene. For MaLiang the recordings are cut into 11,955 training clips (1,893 with boss attack effects added) and 100 held-out test clips.
72
 
73
+ ## Scenes
74
+
75
+ Every scene is recorded in both subsets; each run is one folder of three tar shards (about 2.4 GB) plus its index files.
76
+
77
+ | Case | Scene | Folder | Photoreal runs | Size | Stylised runs | Size |
78
+ |---|---|---|---|---|---|---|
79
+ | 01 | Sunlit Mediterranean Courtyard | `01_Sunlit_Mediterranean_Courtyard` | 12 | 28.2 GB | 15 | 28.1 GB |
80
+ | 02 | Autumn Woodland Shrine | `02_Autumn_Woodland_Shrine` | 12 | 27.1 GB | 15 | 40.1 GB |
81
+ | 03 | Desert Caravanserai | `03_Desert_Caravanserai` | 12 | 26.4 GB | 14 | 20.5 GB |
82
+ | 04 | Snowbound Mountain Outpost | `04_Snowbound_Mountain_Outpost` | 12 | 27.9 GB | 14 | 21.5 GB |
83
+ | 05 | Japanese Spring Sanctuary | `05_Japanese_Spring_Sanctuary` | 12 | 28.3 GB | 14 | 33.2 GB |
84
+ | 06 | Overgrown Tropical Water Temple | `06_Overgrown_Tropical_Water_Temple` | 12 | 27.3 GB | 14 | 28.2 GB |
85
+ | 07 | Steampunk Foundry District | `07_Steampunk_Foundry_District` | 11 | 24.9 GB | 14 | 22.0 GB |
86
+ | 08 | Gothic Cathedral Quarter | `08_Gothic_Cathedral_Quarter` | 11 | 25.4 GB | 14 | 22.1 GB |
87
+ | 09 | Dense Cyberpunk Neon District | `09_Dense_Cyberpunk_Neon_District` | 11 | 22.2 GB | 14 | 21.4 GB |
88
+ | 10 | Underwater Research Habitat | `10_Underwater_Research_Habitat` | 11 | 23.9 GB | 12 | 18.6 GB |
89
+
90
  ## Download
91
 
92
  ```bash
93
+ pip install -U huggingface_hub
94
+
95
+ # try it: one tar shard, 1,600 frames (about 0.9 GB)
96
+ hf download 15y6u87/MaLiang-Data data/v10_real/05_Japanese_Spring_Sanctuary/R10_s5501/frames-000000.tar --repo-type dataset --local-dir MaLiang-Data
97
+ # one run with its index files (about 2.4 GB)
98
  hf download 15y6u87/MaLiang-Data --repo-type dataset --include "data/v10_real/05_Japanese_Spring_Sanctuary/R10_s5501/*" --local-dir MaLiang-Data
99
+ # one scene in both subsets (about 40–60 GB, see the table above)
100
+ hf download 15y6u87/MaLiang-Data --repo-type dataset --include "data/*/05_Japanese_Spring_Sanctuary/*" --local-dir MaLiang-Data
101
+ # one subset (about 240 GB)
102
  hf download 15y6u87/MaLiang-Data --repo-type dataset --include "data/v10_real/*" --local-dir MaLiang-Data
103
  # everything (about 482 GB)
104
  hf download 15y6u87/MaLiang-Data --repo-type dataset --local-dir MaLiang-Data
105
  ```
106
 
107
+ No login is needed. Downloads resume if interrupted; add `--max-workers 16` for faster transfers.
108
+
109
+ ## Getting started
110
+
111
+ 1. **Look** at a few frames in the Dataset Viewer above.
112
+ 2. **Download** one run (about 2.4 GB) with the command above.
113
+ 3. **Read a clip**: the snippet in [Loading a clip](#loading-a-clip) returns the 81 RGB frames, integer maps, condition images and keys of one clip.
114
+ 4. **Train**: download what you need and follow *Data* in the [code README](https://github.com/YeyingLab/MaLiang#-data) to build the training cache; the [model card](https://huggingface.co/15y6u87/MaLiang) has the released checkpoints.
115
+
116
+ A Chinese guide is in [README.zh-CN.md](README.zh-CN.md)(中文说明).
117
 
118
  ## What each run contains
119