schola.scripts.ray.settings.ResumeSettings
- class schola.scripts.ray.settings.ResumeSettings(resume_from=None)[source]
-
Bases:
object
Dataclass for resume settings used in the RLlib training process. This class defines the parameters for resuming training from a saved checkpoint. This allows you to continue training from a previously saved model checkpoint instead of starting from scratch. This is useful for long training jobs or if you want to experiment with different hyperparameters without losing progress.
Methods
__init__
([resume_from])populate_arg_group
(args_group)Attributes
Path to a checkpoint to resume training from.
- Parameters:
-
resume_from (str | None)
- __init__(resume_from=None)
-
- Parameters:
-
resume_from (str | None)
- Return type:
-
None
- property name: str
- classmethod populate_arg_group(args_group)[source]
- resume_from: str | None = None
-
Path to a checkpoint to resume training from. This allows you to continue training from a previously saved model checkpoint instead of starting from scratch. This is useful for long training jobs or if you want to experiment with different hyperparameters without losing progress. If set to None, training will start from scratch.