ray.rllib.offline.offline_env_runner.OfflineSingleAgentEnvRunner#
- class ray.rllib.offline.offline_env_runner.OfflineSingleAgentEnvRunner(*, config: AlgorithmConfig, **kwargs)[source]#
Bases:
SingleAgentEnvRunner
The environment runner to record the single agent case.
PublicAPI (alpha): This API is in alpha and may change before becoming stable.
Methods
Calls the given function with this Actor instance.
Checks that self.__init__() has been completed properly.
Creates a new Checkpointable instance from the given location and returns it.
Creates a vectorized gymnasium env and stores it in
self.env
.Ping the actor.
Restores the state of the implementing class from the given path.
Samples from environments and writes data to disk.
Saves the state of the implementing class (or
state
) topath
.Writes the reamining samples to disk
Attributes