Skip to content

PPOExperiment ​

python
PPOExperiment(config: PPOExperimentConfiguration, *, for_export: bool = False) -> None

Base class for PPO experiments using PyTorch.

Initialize the PPOExperiment.

Parameters:

  • config (PPOExperimentConfiguration) – The PPO experiment configuration.
  • for_export (bool) – When True, initialize only the state needed for ONNX export.

Source

Properties ​

experiment_name ​

python
experiment_name: str

Get the name of the experiment.

Source

Methods ​

diagnose ​

python
diagnose(*, checkpoint_number: int | None = None, episodes: int = 16, max_observations: int = 8192) -> Path

Source