Skip to content

Sb3TrainingSettings

Full path: schola.scripts.sb3.train.settings.Sb3TrainingSettings

Top-level training run options for the SB3 launcher (mirrors RLlib’s TrainingSettings grouping).

Sb3TrainingSettings(timesteps = 3000, pbar = False, disable_eval = False)

Parameters

  • timesteps (Annotated)

  • pbar (bool)

  • disable_eval (bool)

Methods

init

__init__(timesteps = 3000, pbar = False, disable_eval = False)

Parameters

  • timesteps (Annotated)

  • pbar (bool)

  • disable_eval (bool)

Attributes

disable_eval

disable_eval

Whether to disable running evaluation after training. When set to True, it will skip evaluation after training completes.


pbar

pbar

Whether to display a progress bar during training. Requires TQDM and Rich to be installed.


timesteps

timesteps

Total number of timesteps to train the agent. This is the total number of environment steps that will be used for training. This should be set based on the complexity of the environment and the desired training duration. A higher value will typically lead to better performance but will also increase training time.