EpisodeRecord

class maze.core.trajectory_recorder.episode_record.EpisodeRecord(episode_id: str, renderer: Optional[maze.core.rendering.renderer.Renderer] = None)

Records and keeps trajectory record data for a complete episode.

Parameters
  • episode_id – ID of the episode. Can be used to link trajectory data from event logs and other sources.

  • renderer – Where available, the renderer object should be associated to the episode record. This ensures correct configuration of the renderer (with respect to env configuration for this episode), and makes it easier to instantiate the correct renderer for displaying the trajectory data.