FengJiaqi commited on
Add dataset card
Browse files
README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-to-video
|
| 5 |
+
pretty_name: One-Forcing Data
|
| 6 |
+
size_categories:
|
| 7 |
+
- 1K<n<10K
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# One-Forcing Data
|
| 11 |
+
|
| 12 |
+
Compact clean-latent LMDB shards for One-Forcing training.
|
| 13 |
+
|
| 14 |
+
The original ODE trajectory rows had shape `[num_denoising_steps, num_frames, channels, height, width]`.
|
| 15 |
+
This release keeps only the clean latent used by training, so each row is stored as
|
| 16 |
+
`[num_frames, channels, height, width]`.
|
| 17 |
+
|
| 18 |
+
## Layout
|
| 19 |
+
|
| 20 |
+
```text
|
| 21 |
+
ODE6KCausal_chunkwise_0/data.mdb
|
| 22 |
+
ODE6KCausal_chunkwise_0/lock.mdb
|
| 23 |
+
...
|
| 24 |
+
ODE6KCausal_chunkwise_14/data.mdb
|
| 25 |
+
ODE6KCausal_chunkwise_14/lock.mdb
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
Each shard uses the same LMDB key layout as the training code:
|
| 29 |
+
|
| 30 |
+
- `latents_shape`: stored shape for the shard, e.g. `434 21 16 60 104`
|
| 31 |
+
- `latents_source_shape`: original full trajectory shape, e.g. `434 6 21 16 60 104`
|
| 32 |
+
- `latents_clean_only`: `1`
|
| 33 |
+
- `latents_{i}_data`: float16 clean latent row
|
| 34 |
+
- `prompts_{i}_data`: UTF-8 prompt string
|
| 35 |
+
- `prompts_shape`: number of prompts in the shard
|
| 36 |
+
|
| 37 |
+
## Usage
|
| 38 |
+
|
| 39 |
+
Point One-Forcing training at the downloaded dataset directory:
|
| 40 |
+
|
| 41 |
+
```bash
|
| 42 |
+
torchrun --nproc_per_node=8 train.py \
|
| 43 |
+
--config_path chunkwise_config.yaml \
|
| 44 |
+
--data_path /path/to/One-Forcing-Data \
|
| 45 |
+
--disable-wandb \
|
| 46 |
+
--no_visualize
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
The expected `data_prefix` is `ODE6KCausal_chunkwise`.
|