Spaces:
Sleeping
Sleeping
Commit History
-
Update README for the video viewer
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>fe1f76f -
Fall back to the composed side-by-side video
Rerun could not be made to work: the gradio_rerun viewer intermittently stops mid-update, reproducible in a 40-line app with synthetic data, and pinning the reference Space's gradio 6.5.1 broke the page outright. Keeps the simple single-view layout -- episode list, search, sort, PSNR/MSE -- and puts back the composed mp4, which frame-locks ground truth against the generated rollout in one player. Camera selector, optional difference panel and playback fps are retained; drops rerun-sdk and gradio_rerun. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>a9ea39e -
Revert to gradio 6.22.0
Pinning 6.5.1 to match the reference Space made things worse, not better: on the deployed Space the whole page dies with a svelte effect_orphan error -- no viewer canvas mounts and the episode list never populates. On 6.22.0 the page works and the viewer mounts; only the viewer itself is unreliable. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>498277b -
Replace the page with a Rerun-only viewer
Drops the composed-video, frame-stepper and action-plot tabs. The page is now an episode list with search, sort and PSNR/MSE, next to an embedded Rerun viewer showing ground truth and generated side by side on one frame timeline. Starts empty and assumes no dataset: the repo is typed in, nothing is loaded until Load is pressed. Two viewer bugs fixed along the way: ssr_mode must be off, since hydration re-mounts the wasm canvas, and .change() defaults to trigger_mode "always_last", which let two runs write into one viewer concurrently. Pins gradio 6.5.1 to match rerun/gradio-rerun-viewer, the reference Space known to work with gradio_rerun 0.35.0. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>2f19736
-
Add a Rerun viewer tab
Logs the window to an .rrd and renders it with gradio_rerun: each camera's GT/generated/diff as image streams and every action channel as a scalar series, all on one shared frame timeline. This is the thing the composed mp4 could not do — the action plots were a static PNG that could not be scrubbed against the video. Frames are JPEG-compressed into the recording (~1.5 MB rather than ~16 MB for a 3-camera window). The recording is built only when the tab is opened, and is evicted along with its window like the composed mp4. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>3b57e9a -
Take the dataset repo as user input and stream windows on demand
The repo is now typed into the app rather than baked in via DATASET_REPO, which becomes only the prefilled default. Accepts owner/name, a revision suffix, or a pasted dataset URL. Generalises the layout assumptions so an arbitrary repo renders: the manifest and metrics files are optional, the window list falls back to listing windows/ one level deep, per-window metadata is backfilled from meta.json, the camera count is inferred from the frame aspect ratio, and window length and critical-frame markers are no longer fixed at 33/16. Storage is now per session and bounded, so large datasets are never pulled whole: loading a repo fetches only the index, window files arrive when the window is opened, at most MAX_WINDOWS_ON_DISK stay resident, and the session's directory is deleted when the tab closes. A janitor reaps idle sessions and directories orphaned by an earlier process. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>65895ab -
Add side-by-side rollout vs. ground-truth viewer
Gradio app that reads 33-frame critical-window rollouts from a separate HF dataset repo (default OneWorld-AI/abc-critical-window-rollout). GT and generated are composed into a single frame-locked video rather than shown in two independent players, which drift apart and cannot be scrubbed together. Adds an optional absolute-difference panel, a frame stepper, the driving action chunk, and filtering/sorting by task, gripper edge, arm and critical-frame PSNR. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>738325f -
initial commit
Verified signature61d3beb