code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Test widerface by retinaface detector"
      )
      # general
      parser.add_argument(
          "--network", help="network name", default="net3", type=str
      )
      parser.add_argument(
          "--dataset",
          help="dataset name",
          default="retinaface",
          type=str,
      )
      parser.add_argument(
          "--image-set", help="image_set name", default="val", type=str
      )
      parser.add_argument(
          "--root-path",
          help="output data folder",
          default="./data",
          type=str,
      )
      parser.add_argument(
          "--dataset-path",
          help="dataset path",
          default="./data/retinaface",
          type=str,
      )
      parser.add_argument(
          "--gpu", help="GPU device to test with", default=0, type=int
      )
      # testing
      parser.add_argument(
          "--prefix", help="model to test with", default="", type=str
      )
      parser.add_argument(
          "--epoch", help="model to test with", default=0, type=int
      )
      parser.add_argument(
          "--output", help="output folder", default="./wout", type=str
      )
      parser.add_argument("--nocrop", help="", action="store_true")
      parser.add_argument(
          "--thresh",
          help="valid detection threshold",
          default=0.02,
          type=float,
      )
      parser.add_argument(
          "--mode",
          help="test mode, 0 for fast, 1 for accurate",
          default=1,
          type=int,
      )
      # parser.add_argument('--pyramid', help='enable pyramid test', action='store_true')
      # parser.add_argument('--bbox-vote', help='', action='store_true')
      parser.add_argument("--part", help="", default=0, type=int)
      parser.add_argument("--parts", help="", default=1, type=int)
      args = parser.parse_args()
      return args
  
file_path: insightface/detection/retinaface/test_widerface.py
imports: from __future__ import print_function
  import argparse
  import sys
  import os
  import time
  import numpy
  import mxnet
  from mxnet import ndarray
  import cv2
  from rcnn.logger import logger
  from rcnn.processing.bbox_transform import nonlinear_pred, clip_boxes, landmark_pred
  from rcnn.processing.generate_anchor import generate_anchors_fpn, anchors_plane
  from rcnn.processing.nms import gpu_nms_wrapper
  from rcnn.processing.bbox_transform import bbox_overlaps
  from rcnn.dataset import retinaface
  from retinaface import RetinaFace
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args