()
return parser.parse_args()
Parse all the arguments provided from the CLI.

    Returns:
      A list of parsed arguments.
Parse all the arguments provided from the CLI.
Parse all the arguments provided from the CLI .
def get_arguments():
    """Parse all the arguments provided from the CLI.

    Returns:
      A list of parsed arguments.
    """
    parser = argparse.ArgumentParser(description="DeepLabLFOV NetworkEv")
    parser.add_argument("--pred-path", type=str, default='',
                        help="Path to predicted segmentation.")
    parser.add_argument("--gt-path", type=str, default='',
                        help="Path to the groundtruth dir.")

    return parser.parse_args()
def get_arguments ( ) : parser = argparse . ArgumentParser ( description = "DeepLabLFOV NetworkEv" ) parser . add_argument ( "--pred-path" , type = str , default = '' , help = "Path to predicted segmentation." ) parser . add_argument ( "--gt-path" , type = str , default = '' , help = "Path to the groundtruth dir." ) return parser . parse_args ( )