MCPcopy Create free account
hub / github.com/IceClear/CLIP-IQA / parse_args

Function parse_args

tools/get_flops.py:10–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9
10def parse_args():
11 parser = argparse.ArgumentParser(description='Train a editor')
12 parser.add_argument('config', help='train config file path')
13 parser.add_argument(
14 '--shape',
15 type=int,
16 nargs='+',
17 default=[250, 250],
18 help='input image size')
19 args = parser.parse_args()
20 return args
21
22
23def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected