--- license: other license_name: research-only task_categories: - image-to-video tags: - world-model - video-generation - game size_categories: - 10K` 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 / 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 .mp4 + .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 .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": "/raw/.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//shard-XXXXX.tar /rgb.mp4, first_frame.png, ref*.png, meta.json, shot.npz, slots.npz, report.json proxy/main/shard-XXXXX.tar .mp4 + .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 .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 `_<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**: `/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**: `.mp4` (832×480, 121 frames) with `.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 `.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. `.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/.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).