nemo_automodel.components.datasets.wam.episode_windows
nemo_automodel.components.datasets.wam.episode_windows
Training windows from recorded single-arm episodes (.npz files).
An episode file holds canvas (frames, height, width, 3) uint8, obs8 and cmd8 (frames, 8)
float32 flange poses [xyz, quat_wxyz, grip] and prompt. A window is window_frames
consecutive frames; its actions are the commanded poses relative to the observed pose at the start of
each chunk, and its proprio the observed pose at each chunk start, the same layout as the reference
DROID windows. The LIBERO tutorial’s convert_libero_demos.py writes such files.
Module Contents
Classes
Functions
API
Bases: IterableDataset
Endless random windows over a directory of recorded episodes.
Parameters:
Directory with *.npz episodes.
The checkpoint’s config.json; its chunking section gives the chunk geometry
and its video section the canvas size the episodes must have been rendered at.
Base seed; the draws also depend on the rank and the loader worker.
This data-parallel rank; episodes are split round-robin across ranks.
Number of data-parallel ranks.