File size: 12,729 Bytes
ccf1863
 
 
 
 
 
 
 
 
 
 
 
 
4597807
ccf1863
4597807
 
 
 
 
 
33b1c40
4597807
bcade1b
4597807
 
 
ccf1863
0a82958
2be4b43
33b1c40
 
2be4b43
 
 
 
 
 
0a82958
b216eaf
2be4b43
4597807
 
 
 
 
 
bcade1b
4597807
 
 
bcade1b
2be4b43
a5c2803
 
4597807
 
 
a5c2803
 
 
2be4b43
 
 
 
 
 
 
f0c5431
 
2be4b43
 
 
 
 
 
 
 
 
 
 
 
 
 
b216eaf
2be4b43
 
 
 
 
 
ccf1863
0a82958
ccf1863
 
 
 
 
 
 
 
 
 
 
 
 
 
f0c5431
 
ccf1863
 
 
 
 
 
0a82958
 
ccf1863
 
 
 
 
 
 
 
 
f0c5431
ccf1863
 
 
 
f0c5431
ccf1863
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2be4b43
 
b216eaf
2be4b43
 
 
ccf1863
2be4b43
ccf1863
 
4597807
 
 
bcade1b
4597807
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
---
license: other
license_name: research-only
task_categories:
- image-to-video
tags:
- world-model
- video-generation
- game
size_categories:
- 10K<n<100K
---

# Wizard Dataset

This repository contains the redistributable raw training data for the Wizard world model, including target videos, visual proxies, camera and depth data, character references, and memory metadata. Training uses 121-frame windows cropped to 832×480.

| Resource | Where to start |
|---|---|
| Raw training data | [Data sources](#data-sources) and [shard layout](#data-layout) |
| Pre-encoded training data | [`yuzhewu207/wizard-precoded`](https://huggingface.co/datasets/yuzhewu207/wizard-precoded) |
| WildWorld training-window index | [`ww_index/`](https://huggingface.co/datasets/yuzhewu207/wizard-precoded/tree/main/ww_index) |
| Prepared inference cases | [`examples/`](examples/README.md) |
| Recommended checkpoint and inference guide | [Wizard Model Repository](https://huggingface.co/YeyingLab/Wizard) |
| Training and inference code | [YeyingLab/Wizard](https://github.com/YeyingLab/Wizard) |

## Data sources

The full training set has 50,115 windows (56 h). This repository holds the 26,444 of them that can be redistributed, plus 3,606 synthetic look-back windows that were added in the causal and distillation stages. The 23,654 WildWorld windows are not included (non-commercial licence, no redistribution), nor is anything derived from them.

The WildWorld index provides the training window list and scripts to rebuild the inputs from the upstream WildWorld dataset. [Window index](https://huggingface.co/datasets/yuzhewu207/wizard-precoded/blob/main/ww_index/windows.jsonl) · [Reconstruction guide](https://huggingface.co/datasets/yuzhewu207/wizard-precoded/blob/main/ww_index/README.md)

| folder | source | windows | target video |
|---|---|---:|---|
| `synthetic/` | procedural renders: characters entering, co-existing, re-entering, fast turns | 9,386 | included (`raw/`) |
| `eldenring_combat/` | Elden Ring boss fights (`er` 6,741, `bk` 1,141) | 7,882 | included (`raw/`) |
| `eldenring_exploration/` | Elden Ring roaming (`roam`) | 3,404 | included (`raw/`) |
| `unreal/` | fights simulated in Unreal Engine (`ue`) | 2,966 | included (`raw/`) |
| `synthetic_lookback/` | procedural renders: the camera turns away from a character and back (`lookback0` / `lookback`: first / second window of a 241-frame clip); causal and distillation stages only | 3,606 | included (`raw/`) |
| `scenefly/` | SceneFly camera flights that return to earlier views (`sfly` 1,057, `sfly_replay` 1,344 reversed) | 2,401 | included (`raw/`), cut from upstream `Orange-3DV-Team/SceneFly` (Apache-2.0) |
| `worldedit/` | world-edit clips generated with LTX-2.5 (`wedit`) | 405 | included (`raw/`) |

## Prepared inference examples

The prepared cases include first frames, visual proxies, and, where applicable, character references and geometry files. The example guide describes each case and its inputs. [Example guide](examples/README.md)

```bash
hf download YeyingLab/wizard --repo-type dataset \
    --include "examples/*" --local-dir hf_wizard_data
```

Get the recommended causal DMD checkpoint and the matching commands from the model card. [Wizard Quick Start](https://huggingface.co/YeyingLab/Wizard#quick-start)

## Reproducing the model

Use the pre-encoded dataset to obtain the released training files, including Wan2.2 VAE latents. From the official code checkout, run `python scripts/data/restore_precoded.py --root <dir>` to download and restore the training layout. [Pre-encoded dataset](https://huggingface.co/datasets/yuzhewu207/wizard-precoded)

The official training guide points to the Wan2.2-TI2V-5B base model and explains the launch scripts for each stage. [Training guide](https://github.com/YeyingLab/Wizard/blob/main/docs/TRAINING.md)

## Data layout

Every folder has the same layout:

```text
<folder>/
  windows.jsonl                 one line per window: target video, caption, reference images, condition and geometry keys, origin
  shards.json                   member file -> tar shard (look-up by key)
  raw/shard-XXXXX.tar           the target videos
  proxy/main/shard-XXXXX.tar  <key>.mp4 + <key>.npz   the condition (proxy) video of the window
  proxy/{unk2,trueunk,memunk}/  the same windows with parts of the scene marked unknown (only where such a variant was trained)
  geo/shard-XXXXX.tar           <key>.npz   per-window cameras and depth
  refs/                         character reference images (fights)
  memory/                       1-fps memory-bank metadata and retrieval indices (exploration, SceneFly, world edit)
```

All bulk files are WebDataset-style tar shards (about 2 GB each). The formats of the condition video, its `.npz` and the geometry file are the same in every folder and are described below under the synthetic part.

### Target videos of the real sources

`windows.jsonl` gives `"video": "<folder>/raw/<key>.mp4"`, a 121-frame clip, and `"origin"`, where the window came from (recording, start frame).

- `eldenring_combat/`, `unreal/`: the pre-cut 121-frame, 30 fps windows the training latents were encoded from (1024×576, or 960×540 for `bk`), copied unchanged.
- `eldenring_exploration/`: frames `[start_frame, start_frame + 121)` of the recording, re-encoded (x264, CRF 14, 960×540, 30 fps).
- `worldedit/`: the generated clip as it is (1024×576, 121 frames, stored at 24 fps with the generated audio track; training used the 121 frames). `origin` holds the LTX prompt, seed and edit type. Captions are the single roaming caption used in training.
- `scenefly/`: frames `[start_frame, start_frame + 121)` of the upstream video given in `origin`, scaled from 1920×1080 to 960×540 and re-encoded (x264, CRF 14). Windows with `"reversed": true` are stored played backwards, as they were trained. See `scenefly/LICENSE_SceneFly.md`.

Training scales every target video to height 480 and crops 832 columns starting at x = 10.

### Memory

`memory/*.tar` holds, per recording segment, the 1-fps memory-bank frames (`f` frame number, `t`, `depth`, `pos`, `R`, `K`); the picture of a memory frame is frame `f` of the source video. The `*_mem_index*.json` files give, for every window and every chunk of 4 latent frames, the retrieved memory frames as `[[frame, coverage gain], ...]`. `memroam_rep_keys_both30.json` lists the roaming windows where at least 30% of the cells can only be seen in memory (repeated 8× in training).

## Synthetic renders (`synthetic/`, `synthetic_lookback/`)

9,386 windows rendered procedurally: characters entering the frame, several characters sharing a scene, leaving and re-entering, and fast turns under a follow camera.

| group | windows | content | raw clips |
|---|---:|---|---|
| `e1o` / `e1n` / `e1x` | 3,060 / 1,910 / 992 | one character enters (straight / oblique / orbit, leaves and re-enters) | `raw/entry1_v2`, `raw/entry1_v3`, `raw/entry1_v3x` |
| `e2o` / `e2n` | 1,792 / 1,424 | two characters enter, each bound to its own reference image | `raw/entry2_v2`, `raw/entry2_v3` |
| `turn` | 208 | running and turning back | `raw/turn_r2` |

```text
synthetic/
  windows.jsonl                 one line per window: raw clip, caption, reference images, condition and geometry keys
  shards.json                   member file -> tar shard (look-up by key)
  raw/<set>/shard-XXXXX.tar     <clip>/rgb.mp4, first_frame.png, ref*.png, meta.json, shot.npz, slots.npz, report.json
  proxy/main/shard-XXXXX.tar  <key>.mp4 + <key>.npz   the condition (proxy) video of the window
  proxy/{unk2,trueunk,memunk}/  alternative conditions with parts of the scene marked unknown (only some windows)
  geo/shard-XXXXX.tar           <key>.npz   per-window cameras and depth
credits/                        attribution of the 3D assets
```

All bulk files are WebDataset-style tar shards (about 2 GB each).

`synthetic_lookback/` has the same layout; its clips are named `<record>_<0|1>` (the two 121-frame windows of one 241-frame clip, the second starting at the first one's last frame), `windows.jsonl` adds `record`, `order` and `memory_prev_windows` (the window whose frames serve as memory), and the scenes are procedural terrain with Poly Haven props instead of flat ground.

### How a pair is formed

A line of `windows.jsonl`:

```json
{"key": "69eb3dab907d5fc7", "group": "e2n",
 "source": {"dir": "synthetic/raw/entry2_v3/t232_000030", "video": "rgb.mp4", "start_frame": 0, "n_frames": 121},
 "caption": "...",
 "refs": ["synthetic/raw/entry2_v3/t232_000030/ref_A.png", "synthetic/raw/entry2_v3/t232_000030/ref_B.png"],
 "proxy": {"main": "synthetic/proxy/main/69eb3dab907d5fc7"},
 "geo": "synthetic/geo/69eb3dab907d5fc7.npz"}
```

- **Target video**: `<source.dir>/rgb.mp4`, the whole clip is the 121-frame window. Rendered at 1024×576; training scales it to height 480 and crops 832 columns starting at x = 10.
- **Condition**: `<proxy.main>.mp4` (832×480, 121 frames) with `<proxy.main>.npz`.
- **Reference images**: `refs` (480×480 in training).
- **Caption**: the caption used in training, unchanged (Chinese).

Use `shards.json` to find the tar that holds a given member.

### Condition video

`<key>.mp4` is H.264 yuv444p10le, CRF 12, full-range BT.709 (decode as full range). It is the Wan2.2-VAE decode of the exact condition latent the model was trained on. Channels encode geometry, not appearance:

- **R**: world height. **B**: depth along the camera axis, `1 - clamp((z - 0.1) / 79.9)`.
- **G**: for the scene, how reliable the geometry is: sky 0, unknown 38 (R = B = 0, dark green), coarse 77, exact 153–255 (modulated by Lambert shading under a fixed world light). For characters, G separates the player from the others and encodes facing.
- Character skeletons are drawn on top with a 2 px black outline.

`<key>.npz` holds the lossless per-cell arrays on the 104×60 token grid: `dep` [121, 60, 104] float16 (metres, 0 on characters and sky), `tier` [121, 60, 104] uint8 (0 sky, 1 unknown, 2 coarse, 3 exact), and `meta` (JSON string: source and variant).

### Geometry

`geo/<key>.npz`: `depth` [121, 60, 104] float16 scene depth in metres (completed behind the characters); `pos` [121, 3] and `R` [121, 3, 3] camera (rows of `R` are right / up / forward, y up, metres); `K` [4] = fx, fy, cx, cy on the 104×60 grid of the 832×480 crop; `origin` [3] the player's root at the first frame; `hp` the player's height; `actor` [121, 60, 104] cells covered by characters.

### Raw clip files

`meta.json` records the assets, motions and timing of each character (which frames it is in view, entry frame, visible area). `shot.npz` holds per-frame skeletons and cameras, `slots.npz` the image region of each character. Absolute paths inside `meta.json` refer to the machine the data was rendered on.

## Licence and attribution

Research use only.

- **Elden Ring recordings**: gameplay footage; the game and its content are © FromSoftware / Bandai Namco. Released for non-commercial research only.
- **Unreal Engine fights**: recorded in scenes we assembled ourselves.
- **SceneFly**: Apache-2.0, Orange-3DV-Team. `scenefly/raw/` holds windows cut from their videos (changes listed in `scenefly/LICENSE_SceneFly.md`); the depth, cameras, conditions and window indices were computed by us.
- **World-edit clips**: generated with LTX-2.5 from first frames of the recordings above; subject to the LTX model licence.
- **Synthetic characters**: 140 CC-BY models from Sketchfab; author, licence and link of each are listed in `credits/sketchfab_credits.json`. Further characters come from KayKit and Quaternius (CC0). Some models ship with Mixamo animations, which are subject to Adobe's Mixamo terms. A few models are fan-made renditions of third-party characters; the rights to those characters remain with their owners.
- **Motions**: part of the synthetic clips are driven by motions retargeted from game animation data; the rights to the original animations remain with their owners.
- **Environments**: Poly Haven HDRIs and models (CC0); eight stylised panoramas are AI-generated.
- `credits/synth_assets_used.json` lists every asset path used in the synthetic renders and how often.

If you are a rights holder and want something removed, please open a discussion on this repository.

## Legacy Artifacts

- [`weights/`](weights/README.md) contains the original checkpoint release, including earlier training stages. The recommended inference checkpoint is also available from the [Wizard Model Repository](https://huggingface.co/YeyingLab/Wizard).
- [`code/`](code/README.md) preserves the code mirror. For current training and inference instructions, see [YeyingLab/Wizard](https://github.com/YeyingLab/Wizard).