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

Function parse_args

segmentation/tools/convert_datasets/coco_stuff164k.py:203–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201
202
203def parse_args():
204 parser = argparse.ArgumentParser(
205 description=\
206 'Convert COCO Stuff 164k annotations to mmsegmentation format') # noqa
207 parser.add_argument('coco_path', help='coco stuff path')
208 parser.add_argument('-o', '--out_dir', help='output path')
209 parser.add_argument(
210 '--nproc', default=16, type=int, help='number of process')
211 args = parser.parse_args()
212 return args
213
214
215def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected