Skip to content

Make command line argument configuration overrides work by using ARGS module in CUB_TOOLS package #33

@ecm200

Description

@ecm200

At the moment both the base and ignite training scripts are not using the args module of the cub_tools package.

This has certain advantages, like passing through command line arguments key value pairs to override the YACS YAML configuration file.

Use the following code to in the scripts to create the argument parser with some default arguments:

from cub_tools.args import get_parser

parser = get_parser()
parser.add_argument # add additional local arguments to this specific training script if needed.

args = parser.parse_args()

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions