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

Function parse_args

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

Source from the content-addressed store, hash-verified

3
4
5def parse_args():
6 parser = argparse.ArgumentParser()
7 parser.add_argument('checkpoint', help='checkpoint file')
8 parser.add_argument(
9 '--save-path', type=str, required=True, help='destination file name')
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