Skip to content

fix(robot): OfflineARXInterface must pass keymap_mode - #574

Draft
ElmoPA wants to merge 2 commits into
mainfrom
rh/offline-keymap-fix
Draft

fix(robot): OfflineARXInterface must pass keymap_mode#574
ElmoPA wants to merge 2 commits into
mainfrom
rh/offline-keymap-fix

Conversation

@ElmoPA

@ElmoPA ElmoPA commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Eva.get_keymap() requires keymap_mode, so the bare call raised TypeError and
--offline-debug died before yielding a single observation. Present identically
on main, bf/9-rh-h264 and _integ, so the offline path has not been exercised
since get_keymap gained the argument.

Threaded as a constructor arg rather than hardcoded, since the interface is
shared across rollouts.

Eva.get_keymap() requires keymap_mode, so the bare call raised TypeError and
--offline-debug died before yielding a single observation. Present identically
on main, bf/9-rh-h264 and _integ, so the offline path has not been exercised
since get_keymap gained the argument.

Threaded as a constructor arg rather than hardcoded, since the interface is
shared across rollouts.

ElmoPA commented Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

The per-frame reader indexes images by frame; an h264 episode stores them
chunk-indexed (images.front_1 shape [5] = 5 chunks x 300 frames), so any frame
past the chunk count died with

    IndexError: index 0 is out of bounds for axis 0 with size 0

from inside the zarr layer, naming neither the dataset nor the cause. Check the
image length against total_frames up front and point at the per-frame JPEG copy
of the same episode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant