Spaces:
Sleeping
Sleeping
|
Download README.md from blanchon/O2LaF-Demo: direct link, hf CLI and curl.
- Browser
- Download file 3.02 kB
-
https://huggingface.co/spaces/blanchon/O2LaF-Demo/resolve/main/README.md
- Command line
-
hf download hf://spaces/blanchon/O2LaF-Demo/README.md
-
curl -L -o README.md https://huggingface.co/spaces/blanchon/O2LaF-Demo/resolve/main/README.md
3.02 kB
| title: O2LaF Demo | |
| emoji: 🎬 | |
| colorFrom: indigo | |
| colorTo: pink | |
| sdk: gradio | |
| sdk_version: 5.50.0 | |
| app_file: app.py | |
| pinned: false | |
| license: cc-by-nc-4.0 | |
| tags: | |
| - ml-intern | |
| # O2LaF — Interactive Demo | |
| A minimal, interactive demo of **O2LaF** ([arXiv 2511.20490](https://arxiv.org/abs/2511.20490)): a single latent action | |
| model that reads egocentric *and* third-person video, turns it into one 32-d latent action token per frame pair, and | |
| replays those actions on any first frame with a Wan2.2 TI2V-5B world model. | |
| <div style="display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 2em"><a href="https://hf.co/chat?mode=ml-intern"><img src="https://hf.co/datasets/huggingface/badges/resolve/main/built-with-ml-intern-lg.svg" alt="Built with ML Intern" style="margin:0"></a><a href="https://hf.co/chat?mode=ml-intern&prompt=Add%20more%20egocentric%20examples%20to%20blanchon%2FO2LaF-Demo" style="display:inline-flex;align-items:center;gap:5px;padding:4px 12px;border:1.5px solid #eee;border-radius:16px;background:#f9fbfc;color:#c2410c;font-weight:600;font-size:14px;text-decoration:none">Add more ego examples ›</a></div> | |
| ## What you can do here | |
| | Tab | What it shows | | |
| |---|---| | |
| | **Replay on a new scene** | Actions from a source video drive the world model from any first frame — including human ↔ robot transfer on matched PH2D scenes. | | |
| | **Actions from video (IDM)** | The latent action encoder's output tokens, their latent space (PCA), and the paper's action-query attention overlay. | | |
| | **Atomic actions** | Steer the third-person world model directly with the shipped atomic action library (idle / w / a / s / d / camera). | | |
| | **Showcase** | Precomputed results, with the real demo of the target embodiment as a reference — no GPU needed. | | |
| ## Checkpoints | |
| - **`o2laf_dit_egodexmix`** (default) — trained on EgoDex + GR-1 + PH2D; best for egocentric manipulation and human→robot transfer (24 fps). | |
| - **`o2laf_dit_mixed`** — trained on MiraData + EgoDex; handles third-person scenes and ships the atomic action library (16 fps). | |
| ## Credits | |
| - Paper: [One for All: Latent Actions for Egocentric and Third-Person Video](https://arxiv.org/abs/2511.20490) | |
| - Code: [showlab/O2LaF](https://github.com/showlab/O2LaF) · Project page: [showlab.github.io/o2laf](https://showlab.github.io/o2laf/) | |
| - Checkpoints: [YuxinJ/O2LaF](https://huggingface.co/YuxinJ/O2LaF) · Base model: Wan-AI/Wan2.2-TI2V-5B | |
| - Egocentric example clips from [EgoDex](https://huggingface.co/datasets/Wehere/EgoDex) (Apple). | |
| - Matched human / Unitree H1 clips from [PH2D](https://huggingface.co/datasets/RogerQi/PH2D) ([Humanoid Policy ~ Human Policy](https://human-as-robot.github.io/), MIT). | |
| ## Implementation notes | |
| `O2LaF/` is a trimmed, inference-only fork of the upstream package (see `O2LaF/README.md`): no | |
| `torch.compile` (the action encoder uses SDPA with a dense mask), the encoder LoRA is merged at load, and | |
| guidance runs both branches in one batched forward. Both pipelines are loaded once at startup. | |