Skip to content

FSB3ResumeSettings

A struct to hold resume settings for an SB3 training script.

struct FSB3ResumeSettings

Methods

GenerateTrainingArgs

void GenerateTrainingArgs(FScriptArgBuilder &ArgBuilder) const

Appends resume-related arguments for Stable Baselines 3 training scripts.

Parameters

  • ArgBuilder (FScriptArgBuilder)

FSB3ResumeSettings

virtual ~FSB3ResumeSettings()

Attributes

bLoadModel

bool bLoadModel = false

Whether to load a model from a file.


ModelPath

FFilePath ModelPath

The path to the model to load, if we are loading a model.


bLoadReplayBuffer

bool bLoadReplayBuffer = false

Whether to load a replay buffer from a file.


ReplayBufferPath

FFilePath ReplayBufferPath

The path to the replay buffer to load, if we are loading a replay buffer.


bLoadVecNormalize

bool bLoadVecNormalize = false

Whether to load VecNormalize parameters from a file.


VecNormalizePath

FFilePath VecNormalizePath

The path to the VecNormalize parameters to load, if we are loading them.


bResetTimestep

bool bResetTimestep = false

When resuming, reset the internal timestep counter to 0 (passes —reset-timestep to the script).

Source: Source/ScholaTraining/Public/TrainingSettings/StableBaselines/SB3ResumeSettings.h