MCPcopy Create free account
hub / github.com/AutonomousVehicleLaboratory/SemVecNet / parse_args

Function parse_args

SemVecNet/tools/misc/fuse_conv_bn.py:47–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46
47def parse_args():
48 parser = argparse.ArgumentParser(
49 description='fuse Conv and BN layers in a model')
50 parser.add_argument('config', help='config file path')
51 parser.add_argument('checkpoint', help='checkpoint file path')
52 parser.add_argument('out', help='output path of the converted model')
53 args = parser.parse_args()
54 return args
55
56
57def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected