code: def parse_args():
      parser = argparse.ArgumentParser(description="Train a detector")
      parser.add_argument("config", help="train config file path")
      parser.add_argument(
          "--shape",
          type=int,
          nargs="+",
          # default=[1280, 800],
          default=[640, 640],
          help="input image size",
      )
      args = parser.parse_args()
      return args
  
imports: import argparse
  import torch
  from mmcv import Config
  from mmdet.models import build_detector
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args