-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
Tried upgrading to version 2.0.3 and found that command line arguments do not seem to be passed when tasks have been launched from a CLI script. Downgraded to the latest 1.x version and it all works perfectly again.
The script:
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Train a model, tracking results in ClearML.")
parser.add_argument("config", type=argparse.FileType("r"), help="path to a configuration file, can be YAML or JSON")
parser.add_argument("--overrides", nargs="*", help='eg --overrides a.1=123 a.b="hello"')
args = parser.parse_args()
...
Console output:
[info ] Command: `src/train_clearml.py` module=__main__
usage: train_clearml.py [-h] [--overrides [OVERRIDES ...]] config
train_clearml.py: error: the following arguments are required: config
Process failed, exit code 2
H4dr1en and ijmiller2
Metadata
Metadata
Assignees
Labels
No labels
