schola.scripts.sb3.launch.SB3ScriptArgs

class schola.scripts.sb3.launch.SB3ScriptArgs(enable_checkpoints: bool = False, checkpoint_dir: str = ‘./ckpt’, save_freq: int = 100000, name_prefix_override: str = None, export_onnx: bool = False, save_final_policy: bool = False, launch_unreal: bool = False, port: Optional[int] = None, unreal_path: Optional[str] = None, headless: bool = False, map: Optional[str] = None, fps: Optional[int] = None, disable_script: bool = False, timesteps: int = 3000, pbar: bool = False, disable_eval: bool = False, enable_tensorboard: bool = False, log_dir: str = ‘./logs’, log_freq: int = 10, callback_verbosity: int = 0, schola_verbosity: int = 0, sb3_verbosity: int = 1, save_replay_buffer: bool = False, save_vecnormalize: bool = False, resume_from: str = None, load_vecnormalize: str = None, load_replay_buffer: str = None, reset_timestep: bool = False, policy_parameters: List[int] = None, critic_parameters: List[int] = None, activation: schola.scripts.common.ActivationFunctionEnum = <ActivationFunctionEnum.ReLU: ‘relu’>, algorithm_settings: Union[schola.scripts.sb3.launch.PPOSettings, schola.scripts.sb3.launch.SACSettings] = <factory>)[source]

Bases: ScriptArgs

Methods

__init__([enable_checkpoints, …])

make_unreal_connection()

Create an Unreal Engine connection based on the script arguments.

Attributes

activation

callback_verbosity

checkpoint_dir

Enable saving checkpoints.

critic_parameters

disable_eval

disable_script

Flag indicating if the autolaunch script setting in the Unreal Engine Schola Plugin should be disabled.

enable_checkpoints

Enable saving checkpoints

enable_tensorboard

export_onnx

Whether to export the model to ONNX format instead of just saving a checkpoint.

fps

Fixed FPS to use when running standalone, if None no fixed timestep is used

headless

Flag indicating if the standalone Unreal Engine process should run in headless mode

launch_unreal

Flag indicating if the script should launch a standalone Unreal Engine process

load_replay_buffer

load_vecnormalize

log_dir

log_freq

map

Map to load when launching a standalone Unreal Engine process

name_prefix

name_prefix_override

Override the name prefix for the checkpoint files (e.g. SAC, PPO, etc.).

pbar

policy_parameters

port

Port to connect to the Unreal Engine process, if None an open port will be automatically selected when running standalone.

reset_timestep

resume_from

save_final_policy

Whether to save the final policy after training is complete.

save_freq

Frequency with which to save checkpoints.

save_replay_buffer

save_vecnormalize

sb3_verbosity

schola_verbosity

timesteps

unreal_path

Path to the Unreal Engine executable, when launching a standalone Unreal Engine process

algorithm_settings

Parameters:
__init__(enable_checkpoints=False, checkpoint_dir=’./ckpt’, save_freq=100000, name_prefix_override=None, export_onnx=False, save_final_policy=False, launch_unreal=False, port=None, unreal_path=None, headless=False, map=None, fps=None, disable_script=False, timesteps=3000, pbar=False, disable_eval=False, enable_tensorboard=False, log_dir=’./logs’, log_freq=10, callback_verbosity=0, schola_verbosity=0, sb3_verbosity=1, save_replay_buffer=False, save_vecnormalize=False, resume_from=None, load_vecnormalize=None, load_replay_buffer=None, reset_timestep=False, policy_parameters=None, critic_parameters=None, activation=ActivationFunctionEnum.ReLU, algorithm_settings=<factory>)
Parameters:
Return type:

None

activation: ActivationFunctionEnum = ‘relu’
algorithm_settings: PPOSettings | SACSettings
callback_verbosity: int = 0
critic_parameters: List[int] = None
disable_eval: bool = False
enable_tensorboard: bool = False
load_replay_buffer: str = None
load_vecnormalize: str = None
log_dir: str = ‘./logs’
log_freq: int = 10
property name_prefix
pbar: bool = False
policy_parameters: List[int] = None
reset_timestep: bool = False
resume_from: str = None
save_replay_buffer: bool = False
save_vecnormalize: bool = False
sb3_verbosity: int = 1
schola_verbosity: int = 0
timesteps: int = 3000

Related pages

  • Visit the Schola product page for download links and more information.

Looking for more documentation on GPUOpen?

AMD GPUOpen software blogs

Our handy software release blogs will help you make good use of our tools, SDKs, and effects, as well as sharing the latest features with new releases.

GPUOpen Manuals

Don’t miss our manual documentation! And if slide decks are what you’re after, you’ll find 100+ of our finest presentations here.

AMD GPUOpen Performance Guides

The home of great performance and optimization advice for AMD RDNA™ 2 GPUs, AMD Ryzen™ CPUs, and so much more.

Getting started: AMD GPUOpen software

New or fairly new to AMD’s tools, libraries, and effects? This is the best place to get started on GPUOpen!

AMD GPUOpen Getting Started Development and Performance

Looking for tips on getting started with developing and/or optimizing your game, whether on AMD hardware or generally? We’ve got you covered!

AMD GPUOpen Technical blogs

Browse our technical blogs, and find valuable advice on developing with AMD hardware, ray tracing, Vulkan®, DirectX®, Unreal Engine, and lots more.

Find out more about our software!

AMD GPUOpen Effects - AMD FidelityFX technologies

Create wonder. No black boxes. Meet the AMD FidelityFX SDK!

AMD GPUOpen Samples

Browse all our useful samples. Perfect for when you’re needing to get started, want to integrate one of our libraries, and much more.

AMD GPUOpen developer SDKs

Discover what our SDK technologies can offer you. Query hardware or software, manage memory, create rendering applications or machine learning, and much more!

AMD GPUOpen Developer Tools

Analyze, Optimize, Profile, Benchmark. We provide you with the developer tools you need to make sure your game is the best it can be!