schola.scripts.common.Sb3LauncherExtension
- class schola.scripts.common.Sb3LauncherExtension[source]
-
Bases:
object
Methods
__init__
()Adds a group of additional arguments to the parser.
Returns a list of additional KVWriter to add to the training loop.
Returns a list of additional callbacks to add to the training loop.
- classmethod add_plugin_args_to_parser()[source]
-
Adds a group of additional arguments to the parser.
- Parameters:
-
parser (argparse.ArgumentParser) – The parser to which the arguments will be added.
- get_extra_KVWriters()[source]
-
Returns a list of additional KVWriter to add to the training loop.
- Returns:
-
A list of additional KVWriters to add to the training loop.
- Return type:
-
List[KVWriter]
- get_extra_callbacks()[source]
-
Returns a list of additional callbacks to add to the training loop.
- Returns:
-
A list of additional callbacks to add to the training loop.
- Return type:
-
List[BaseCallback]