Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ecm200 opened this issue Aug 10, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ecm200
Copy link
Owner

ecm200 commented Aug 10, 2021

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()
@ecm200 ecm200 added the bug Something isn't working label Aug 10, 2021
@ecm200 ecm200 self-assigned this Aug 10, 2021
@ecm200 ecm200 added this to To do in CUB Tools Refactoring via automation Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant