MCPcopy Create free account
hub / github.com/InternScience/SciReason / parse_args

Function parse_args

tools/prediction_merger.py:12–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11
12def parse_args():
13 parser = argparse.ArgumentParser(
14 description='Merge patitioned predictions')
15 parser.add_argument('config', help='Train config file path')
16 parser.add_argument('-w', '--work-dir', default=None, type=str)
17 parser.add_argument('-r', '--reuse', default='latest', type=str)
18 parser.add_argument('-c', '--clean', action='store_true')
19 parser.add_argument('-f', '--force', action='store_true')
20 args = parser.parse_args()
21 return args
22
23
24class PredictionMerger:

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected