Datasets:
dataset card
Browse files
README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- video-to-video
|
| 5 |
+
tags:
|
| 6 |
+
- layer-decomposition
|
| 7 |
+
- video-object-removal
|
| 8 |
+
- harmonization
|
| 9 |
+
- latents
|
| 10 |
+
pretty_name: LayerGen Eval-Set Latents (encoded)
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# LayerGen — Eval-Set Latents (VAE latents + baked text embeddings)
|
| 14 |
+
|
| 15 |
+
Pre-encoded **evaluation-set inputs** for the LayerGen layer-decomposition / harmonization models,
|
| 16 |
+
so inference can run **anywhere (off-AIP)** without the raw video → VAE-encode → umT5-encode pipeline.
|
| 17 |
+
|
| 18 |
+
Each `*.parquet` is **one clip** and is fully self-contained:
|
| 19 |
+
|
| 20 |
+
| column group | contents |
|
| 21 |
+
|---|---|
|
| 22 |
+
| `{composite,mask,fg,bg}_latent_bytes` (+ `_shape`, `_dtype`) | 4-stream Wan-VAE latents, 81f/21 latent-T, fp16, `[16,21,60,104]` |
|
| 23 |
+
| `text_embedding_bytes` (+ `_shape`, `_dtype`) | **baked umT5 edit-instruction embedding** (Wan text encoder, 512-token) |
|
| 24 |
+
| `caption`, `source`, `id`, `width`, `height`, `num_frames`, `fps` | metadata |
|
| 25 |
+
|
| 26 |
+
Because the umT5 embedding is baked in, **no text encoder is needed at inference** — read with
|
| 27 |
+
`data_format: latents` and the per-clip `text_embedding` comes straight from the parquet.
|
| 28 |
+
|
| 29 |
+
## Pools (latest **editcap** captioning scheme)
|
| 30 |
+
|
| 31 |
+
| pool | clips | task | notes |
|
| 32 |
+
|---|---|---|---|
|
| 33 |
+
| `_val_latents_81f_editcap_dec_combined/all` | 678 | decompose | full eval: RORD50 / PROVE-M/H / VOR-Eval/Wild / ROSE-Bench + synthetic |
|
| 34 |
+
| `_val_latents_81f_editcap_har_combined/all` | 458 | harmonize | full harmonize eval |
|
| 35 |
+
| `_val_latents_81f_editcap_dec_pvix/all` | 76 | decompose | PVIX (no-GT) |
|
| 36 |
+
| `_val_latents_xcompv2_editcap_har/all` | 75 | harmonize | cross-composition (harmonize-hard-v1) |
|
| 37 |
+
| `prompt_fix_pool/all` | 306 | decompose | CFG expt — 34 clips × 3 prompt-fixes × 3 seeds (no-CFG) |
|
| 38 |
+
| `prompt_fix_pool_cfg/all` | 171 | decompose | CFG expt — CFG-2 subset |
|
| 39 |
+
| `prompt_fix_pool_har/all` | 180 | harmonize | CFG expt — 20 xcomp clips × 3 × 3 (CFG + no-CFG) |
|
| 40 |
+
|
| 41 |
+
Crop to 41f/61f at load via `num_latent_t` (11 / 16 / 21). Type-4 harmonize checkpoints require
|
| 42 |
+
`FASTVIDEO_FG_CORRUPT_TYPE_ID=4`; combined checkpoints need `COMBINED_INFER=1`.
|
| 43 |
+
|
| 44 |
+
## Off-AIP inference (recipe)
|
| 45 |
+
|
| 46 |
+
```python
|
| 47 |
+
from huggingface_hub import snapshot_download
|
| 48 |
+
# pull one pool locally
|
| 49 |
+
snapshot_download("cs-mshah/layergen-eval-latents", repo_type="dataset",
|
| 50 |
+
allow_patterns="_val_latents_81f_editcap_dec_combined/**",
|
| 51 |
+
local_dir="evals")
|
| 52 |
+
# then point the inference config's validation.data_path at
|
| 53 |
+
# evals/_val_latents_81f_editcap_dec_combined/all (data_format: latents)
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
DiT checkpoints are public under [`cs-mshah`](https://huggingface.co/cs-mshah); decode uses the public
|
| 57 |
+
Wan2.2-14B VAE. Companion output-viewer datasets: `cs-mshah/layergen-evals` (+ `-baselines`).
|