()
| 20 | from tasks import interactive_infer_image_idino_m2m_auto, prompt_switch |
| 21 | |
| 22 | def parse_option(): |
| 23 | parser = argparse.ArgumentParser('SemanticSAM Demo', add_help=False) |
| 24 | parser.add_argument('--conf_files', default="configs/semantic_sam_only_sa-1b_swinL.yaml", metavar="FILE", help='path to config file', ) |
| 25 | parser.add_argument('--ckpt', default="", metavar="FILE", help='path to ckpt', ) |
| 26 | args = parser.parse_args() |
| 27 | |
| 28 | return args |
| 29 | |
| 30 | ''' |
| 31 | build args |
no outgoing calls
no test coverage detected