Datasets:
Point links to YeyingLab after the repo transfer
Browse filesMaLiang and MaLiang-Data moved from 15y6u87 to YeyingLab; old links redirect.
README.md
CHANGED
|
@@ -34,15 +34,15 @@ configs:
|
|
| 34 |
|
| 35 |
<sup>\*</sup>Equal contribution · <sup>♢</sup>Corresponding author and project leader
|
| 36 |
|
| 37 |
-
[**Project page**](https://sylvana20.github.io/maliang/) · [**Code**](https://github.com/YeyingLab/MaLiang) · [**Model**](https://huggingface.co/
|
| 38 |
|
| 39 |
</div>
|
| 40 |
|
| 41 |
-
.
|
| 44 |
|
| 45 |
-

|
| 84 |
-
hf download
|
| 85 |
# one run with its index files (about 2.4 GB)
|
| 86 |
-
hf download
|
| 87 |
# one scene in both subsets (about 40–60 GB, see the table above)
|
| 88 |
-
hf download
|
| 89 |
# one subset (about 240 GB)
|
| 90 |
-
hf download
|
| 91 |
# everything (about 482 GB)
|
| 92 |
-
hf download
|
| 93 |
```
|
| 94 |
|
| 95 |
No login is needed. Downloads resume if interrupted; add `--max-workers 16` for faster transfers.
|
|
@@ -99,7 +99,7 @@ No login is needed. Downloads resume if interrupted; add `--max-workers 16` for
|
|
| 99 |
1. **Look** at a few frames in the Dataset Viewer above.
|
| 100 |
2. **Download** one run (about 2.4 GB) with the command above.
|
| 101 |
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.
|
| 102 |
-
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/
|
| 103 |
|
| 104 |
A Chinese guide is in [README.zh-CN.md](README.zh-CN.md)(中文说明).
|
| 105 |
|
|
@@ -155,7 +155,7 @@ import numpy as np
|
|
| 155 |
from PIL import Image
|
| 156 |
from huggingface_hub import hf_hub_download
|
| 157 |
|
| 158 |
-
REPO = "
|
| 159 |
subset, scene, run = "v10_real", "05_Japanese_Spring_Sanctuary", "R10_s5501"
|
| 160 |
get = lambda p: hf_hub_download(REPO, f"data/{subset}/{scene}/{run}/{p}", repo_type="dataset")
|
| 161 |
|
|
|
|
| 34 |
|
| 35 |
<sup>\*</sup>Equal contribution · <sup>♢</sup>Corresponding author and project leader
|
| 36 |
|
| 37 |
+
[**Project page**](https://sylvana20.github.io/maliang/) · [**Code**](https://github.com/YeyingLab/MaLiang) · [**Model**](https://huggingface.co/YeyingLab/MaLiang)
|
| 38 |
|
| 39 |
</div>
|
| 40 |
|
| 41 |
+

|
| 42 |
|
| 43 |
MaLiang renders a playable game world directly from the game state: the game hands a video model one integer per pixel, and the model paints the world in real time. This repository holds the paired recordings the model is trained on. A bot plays boss fights in ten Unreal Engine scenes; every frame stores the rendered RGB, a pixel-aligned integer class map, a white-box render, a condition image, the player's action and per-frame camera and character metadata. The code repository turns them into the training cache (`code/gc25d/prep_v10.py`).
|
| 44 |
|
| 45 |
+

|
| 46 |
|
| 47 |
## Quick look in the browser
|
| 48 |
|
|
|
|
| 81 |
pip install -U huggingface_hub
|
| 82 |
|
| 83 |
# try it: one tar shard, 1,600 frames (about 0.9 GB)
|
| 84 |
+
hf download YeyingLab/MaLiang-Data data/v10_real/05_Japanese_Spring_Sanctuary/R10_s5501/frames-000000.tar --repo-type dataset --local-dir MaLiang-Data
|
| 85 |
# one run with its index files (about 2.4 GB)
|
| 86 |
+
hf download YeyingLab/MaLiang-Data --repo-type dataset --include "data/v10_real/05_Japanese_Spring_Sanctuary/R10_s5501/*" --local-dir MaLiang-Data
|
| 87 |
# one scene in both subsets (about 40–60 GB, see the table above)
|
| 88 |
+
hf download YeyingLab/MaLiang-Data --repo-type dataset --include "data/*/05_Japanese_Spring_Sanctuary/*" --local-dir MaLiang-Data
|
| 89 |
# one subset (about 240 GB)
|
| 90 |
+
hf download YeyingLab/MaLiang-Data --repo-type dataset --include "data/v10_real/*" --local-dir MaLiang-Data
|
| 91 |
# everything (about 482 GB)
|
| 92 |
+
hf download YeyingLab/MaLiang-Data --repo-type dataset --local-dir MaLiang-Data
|
| 93 |
```
|
| 94 |
|
| 95 |
No login is needed. Downloads resume if interrupted; add `--max-workers 16` for faster transfers.
|
|
|
|
| 99 |
1. **Look** at a few frames in the Dataset Viewer above.
|
| 100 |
2. **Download** one run (about 2.4 GB) with the command above.
|
| 101 |
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.
|
| 102 |
+
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/YeyingLab/MaLiang) has the released checkpoints.
|
| 103 |
|
| 104 |
A Chinese guide is in [README.zh-CN.md](README.zh-CN.md)(中文说明).
|
| 105 |
|
|
|
|
| 155 |
from PIL import Image
|
| 156 |
from huggingface_hub import hf_hub_download
|
| 157 |
|
| 158 |
+
REPO = "YeyingLab/MaLiang-Data"
|
| 159 |
subset, scene, run = "v10_real", "05_Japanese_Spring_Sanctuary", "R10_s5501"
|
| 160 |
get = lambda p: hf_hub_download(REPO, f"data/{subset}/{scene}/{run}/{p}", repo_type="dataset")
|
| 161 |
|