Skip to content

schola.scripts.common.add_checkpoint_args

Function Definition

schola.scripts.common.add_checkpoint_args(parser)

Add checkpoint arguments to the parser.

Parameters

parser

Type: argparse.ArgumentParser
The parser to which the arguments will be added.

Returns

Return type: argparse._ArgumentGroup

The checkpoint group that was added to the parser. Can be used to add more arguments