MCPcopy Create free account
hub / github.com/cjrd/self-supervised-pretraining / parse_args

Function parse_args

OpenSelfSup/tools/count_parameters.py:7–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7def parse_args():
8 parser = argparse.ArgumentParser(description='Train a model')
9 parser.add_argument('config', help='train config file path')
10 args = parser.parse_args()
11 return args
12
13
14def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected