schola.scripts.common.add_checkpoint_args
- schola.scripts.common.add_checkpoint_args(parser)[source]
-
Add checkpoint arguments to the parser.
- Parameters:
-
parser (argparse.ArgumentParser) – The parser to which the arguments will be added.
- Returns:
-
The checkpoint group that was added to the parser. Can be used to add more arguments
- Return type:
-
argparse._ArgumentGroup