zoo.policies.replay_agent module

This file contains an agent used for replaying an agent.

class zoo.policies.replay_agent.ReplayAgent(save_directory, id, read: bool, internal_spec: AgentSpec)[source]

A helper agent that wraps another agent to allow replay of the agent inputs and actions Look at examples/replay/README.md on how to use this agent.

act(obs)[source]

The agent action. See documentation on observations, AgentSpec, and AgentInterface.

Expects an adapted observation and returns a raw action.