code: def parse_args():
      parser = argparse.ArgumentParser(
          description="MMDet test (and eval) a model"
      )
      parser.add_argument("config", help="test config file path")
      parser.add_argument("checkpoint", help="checkpoint file")
      parser.add_argument(
          "--cpu",
          action="store_true",
          default=False,
          help="Use cpu inference",
      )
      parser.add_argument(
          "--shape",
          type=int,
          nargs="+",
          default=[480, 640],
          help="input image size",
      )
      args = parser.parse_args()
  
      return args
  
file_path: insightface/detection/scrfd/tools/benchmark.py
imports: import argparse
  import os
  import os.path
  import pickle
  import numpy
  import datetime
  import warnings
  import mmcv
  import torch
  from mmcv import Config, DictAction
  from mmcv.cnn import fuse_conv_bn
  from mmcv.parallel import MMDataParallel, MMDistributedDataParallel
  from mmcv.runner import get_dist_info, init_dist, load_checkpoint, wrap_fp16_model
  from mmdet.apis import multi_gpu_test, single_gpu_test
  from mmdet.datasets import build_dataloader, build_dataset, replace_ImageToTensor
  from mmdet.models import build_detector
  from mmdet.core.evaluation import wider_evaluation, get_widerface_gts
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args