Skip to content

LoggingSettings

Full path: schola.scripts.rllib.settings.LoggingSettings

schola.scripts.rllib.settings.LoggingSettings

LoggingSettings

LoggingSettings(schola_verbosity=0, rllib_verbosity=1)

Bases: object

Dataclass for logging settings used in the RLlib training process. This class defines the verbosity levels for logging in both the Schola environment and RLlib. These settings help to control the amount of logging information generated during the training process, which can be useful for debugging and understanding the training process. Adjusting these settings can help to balance the amount of information logged against performance and readability of the logs.

Methods

ItemDescription
init

Attributes

ItemDescription
name
rllib_verbosityVerbosity level for RLlib.
schola_verbosityVerbosity level for the Schola environment.

Parameters

schola_verbosity (Annotated[int, Parameter(validator=(Number(lt=None, lte=2, gt=None, gte=0, modulo=None),))])

rllib_verbosity (Annotated[int, Parameter(validator=(Number(lt=None, lte=3, gt=None, gte=0, modulo=None),))])

init

__init__(schola_verbosity=0, rllib_verbosity=1)

Parameters

schola_verbosity (Annotated[int, Parameter(validator=(Number(lt=None, lte=2, gt=None, gte=0, modulo=None),))])

rllib_verbosity (Annotated[int, Parameter(validator=(Number(lt=None, lte=3, gt=None, gte=0, modulo=None),))])

Returns

None


name

name: str

rllib_verbosity

= 1 rllib_verbosity: Annotated[int, Parameter(validator=Number(lt=None, lte=3, gt=None, gte=0, modulo=None))]

Verbosity level for RLlib. This controls the level of detail in the logs generated by RLlib. A higher value will produce more detailed logs, which can be useful for debugging and understanding the training process. Default is 1 (standard logging).


schola_verbosity

= 0 schola_verbosity: Annotated[int, Parameter(validator=Number(lt=None, lte=2, gt=None, gte=0, modulo=None))]

Verbosity level for the Schola environment. This controls the level of detail in the logs generated by the Schola environment. A higher value will produce more detailed logs, which can be useful for debugging and understanding the training process. Default is 0 (no additional logging).