MCPcopy Create free account
hub / github.com/aigc3d/LHM / get_parse

Function get_parse

engine/SegmentAPI/SAM.py:499–510  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

497
498
499def get_parse():
500 import argparse
501
502 parser = argparse.ArgumentParser(description="")
503 parser.add_argument("-i", "--input", required=True, help="input path")
504 parser.add_argument("-o", "--output", required=True, help="output path")
505 parser.add_argument("--mask", action="store_true", help="mask bool")
506 parser.add_argument(
507 "--wo_super_reso", action="store_true", help="whether using super_resolution"
508 )
509 args = parser.parse_args()
510 return args
511
512
513def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected