MCPcopy Create free account
hub / github.com/alinlab/SelfPatch / parse_args

Function parse_args

segmentation/tools/publish_model.py:8–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7
8def parse_args():
9 parser = argparse.ArgumentParser(
10 description='Process a checkpoint to be published')
11 parser.add_argument('in_file', help='input checkpoint filename')
12 parser.add_argument('out_file', help='output checkpoint filename')
13 args = parser.parse_args()
14 return args
15
16
17def process_checkpoint(in_file, out_file):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected