MCPcopy Create free account
hub / github.com/10Ring/LAA-Net / args_parser

Function args_parser

scripts/train.py:30–34  ·  view source on GitHub ↗
(args=None)

Source from the content-addressed store, hash-verified

28
29
30def args_parser(args=None):
31 parser = argparse.ArgumentParser("Training process...")
32 parser.add_argument('--cfg', help='Config file', required=True)
33 parser.add_argument('--alloc_mem', '-a', help='Pre allocating GPU memory', action='store_true')
34 return parser.parse_args(args)
35
36
37if __name__=='__main__':

Callers 1

train.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected