Haosonnn/wan22-incontext-control-data
Wan2.2 In-Context Control — derived training data Derived metadata/pose NPZs for the in-context camera + audio control fork of DiffSynth-Studio (training Wan2.2-TI2V-5B). This repo holds only the small derived files needed to reproduce the camera and audio (e11h) runs. It does not rehost source videos — those come from the original datasets linked below. Companion code: the DiffSynth-Studio fork (see its README for the full reproduction walkthrough). Files… See the full description on the dataset page: https://huggingface.co/datasets/Haosonnn/wan22-incontext-control-data.
Wan2.2 In-Context Control — derived training data
Derived metadata/pose NPZs for the in-context camera + audio control fork of DiffSynth-Studio (training Wan2.2-TI2V-5B). This repo holds only the small derived files needed to reproduce the camera and audio (e11h) runs. It does not rehost source videos — those come from the original datasets linked below.
Companion code: the DiffSynth-Studio fork (see its README for the full reproduction walkthrough).
Files
Download (huggingface_hub 1.x CLI is hf):
hf download Haosonnn/wan22-incontext-control-data --repo-type dataset --local-dir data/This lands data/orbit_lr_first49_thr0.97.npz, data/train_data_openhumanvid_megasam_001-030_w2c.npz, and data/sa5b_200subset/*.csv.
Changed 2026-08-06 — MonST3R poses replaced by MegaSaM.train_data_openhumanvid_monst3r_001-040.npz(32,176 clips) has been removed and superseded bytrain_data_openhumanvid_megasam_001-030_w2c.npz(8,989 clips). This is not a drop-in swap — read Migrating from the MonST3R NPZ before pointing a training run at it.
NPZ schema
Both NPZs are a NumPy object array under key arr_0 — a Python list of per-clip dicts.
`orbit_lr_first49_thr0.97.npz` (camera; derived from RealCam-Vid):
5881 clips = orbit-left ∪ orbit-right, selected by motion-cosine ≥ 0.97 among clips with ≥ 49 frames ("first49" is the ≥49-frame selection filter — extrinsics are kept at full length).
`train_data_openhumanvid_megasam_001-030_w2c.npz` (audio / joint; OpenHumanVid + MegaSaM poses):
8,989 clips over parts 001–030, 935,004 keyframes, of which 850,238 (91.0 %) carry a TalkNet-speaker match. Poses come from MegaSaM (DepthAnything → UniDepth → DROID-SLAM) with whole-person masking, and are metric because UniDepth anchors the scale. camera_extrinsics[0] ≈ I (the first camera is anchored at the origin, up to BA refinement — median deviation 5e-4).
Migrating from the MonST3R NPZ
The MegaSaM file is a strict superset of the retired MonST3R schema — every key the old file had is still present with the same name, dtype and units, plus the four *_seq per-frame keys. Code that read the MonST3R NPZ will load this one unchanged. What differs materially:
- Clip count drops 72 %. The MegaSaM set is filtered to clips with real, well-conditioned camera motion (static clips and rough/incoherent trajectories are dropped); the MonST3R pack was not filtered this way. Expect fewer steps per epoch.
- Sequence length grows ~5×. Anything that hard-codes 20 keyframes, or preallocates on that assumption, needs to handle variable T.
camera_extrinsics_kf_indsremains the mapping to source frames. - `align_factor` changes from `0.0` to `1.0`. Code that multiplied translations by it produced zeros before and will now pass them through unchanged — check whether it was special-cased.
- Parts 031–040 are not yet included. They are being reconstructed with MegaSaM and can be appended later.
⚠️ sa5b_200subset CSVs are stale with respect to this NPZ
The sample column is a row index into the OpenHumanVid NPZ, and those indices were assigned against the retired MonST3R pack. They are not valid for the MegaSaM pack: the indices (0–209) all still fall inside its 8,989 rows, so a training run will not error — it will silently train on the wrong clips. Only 47 of the 200 referenced clips exist in the MegaSaM set at all.
Use these CSVs only with the retired MonST3R NPZ (recoverable from this repo's git history), or regenerate the subset against the MegaSaM pack, preserving video → row-index correspondence rather than reusing the old sample numbers. metadata_generic.csv (the one the e11h run used) replaces captions with a fixed generic prompt.
Provenance & licenses
- Camera NPZ is derived from the official RealCam-Vid dataset (MuteApo/RealCam-Vid) — the subset selection (motion-descriptor cosine similarity vs preset trajectories) is reproducible with the
tools/scripts in the code repo. RealCam-Vid in turn processes RealEstate10K, DL3DV-10K, and MiraData. Respect their licenses. The fullRealCam-Vid_train.npzis not rehosted here — get it from the official repo. - OpenHumanVid NPZ annotations were produced by running MegaSaM pose reconstruction (masked, metric) + TalkNet speaker attribution + MediaPipe face/lip detection over OpenHumanVid clips (the detection/reconstruction pipeline lives outside the code repo). Source videos are not included.
- This derived-metadata release inherits the terms of the upstream datasets; use for research.
