Skip to content

scripts.common

Full path: schola.scripts.common

schola.scripts.common

Common utility functions and classes for use in Schola scripts.

Functions

ItemDescription
get_activation_function(activation)Get the PyTorch activation function class for the specified activation type.

Classes

ItemDescription
ActivationFunctionEnum(*values)Activation functions for neural networks.
CheckpointArgs([enable_checkpoints, …])Settings for checkpoints in Schola.
EnvironmentArgs([simulator, protocol])Settings for the environment in Schola.
RLLibLauncherExtension()
Sb3LauncherExtension()
UnrealEditorSimulatorArgs()Arguments for connecting to an existing Unreal Editor instance.
UnrealExecutableCommandLinePlaceholder()A placeholder for the UnrealExecutableSimulatorArgs to allow for a default instantiation.
UnrealExecutableSimulatorArgs(executable_path)Arguments for the Unreal Engine executable simulator in Schola.
gRPCProtocolArgs([port, url, …])Settings for the gRPC protocol in Schola.