Dataset#
- class hybrid_aif.data.Dataset[source]#
Bases:
objectBase class for episode-based datasets.
- Args:
lengths: per-episode step counts. offsets: per-episode start offsets in the flat underlying storage. num_steps: observation frames per clip. frameskip: stride between observation frames within a clip.
A clip spans
num_steps * frameskipraw steps.__getitem__strides every column byframeskipexceptaction, which stays dense and is reshaped to(num_steps, frameskip * action_dim)whenframeskip > 1so each observation frame carries the actions taken until the next one.