Skip to content

ensure_registered ​

python
ensure_registered(game_configuration_path: str | PathLike, model_configuration_path: str | PathLike, training_configuration_path: str | PathLike | None) -> None

Ensure that an OakEmu environment is registered with Gymnasium.

Parameters:

  • game_configuration_path (str | PathLike) – Path to the game configuration file.
  • model_configuration_path (str | PathLike) – Path to the model configuration file.
  • training_configuration_path (str | PathLike | None) – Optional path to the training configuration file.

Source