Spaces:
Sleeping

O2LaF-Demo / README.md
blanchon's picture
Showcase: PH2D human<->H1 outputs (12 steps); README notes
c223b70
|
Raw History Blame Contribute Delete
3.02 kB

A newer version of the Gradio SDK is available: 6.33.0

Upgrade
metadata
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): 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.

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

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.