MCPcopy Create free account
hub / github.com/NVlabs/SegFormer / parse_args

Function parse_args

tools/publish_model.py:7–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected