code: def main():
      parser = argparse.ArgumentParser(
          description="Convert Detectron2 checkpoint to MMDetection style"
      )
      parser.add_argument("src", help="Detectron2 model path")
      parser.add_argument("dst", help="MMDetectron model save path")
      parser.add_argument(
          "--prefix",
          default="d2_model",
          type=str,
          help="prefix of the model",
      )
      args = parser.parse_args()
      convert(args.src, args.dst, args.prefix)
  
imports: import argparse
  from collections import OrderedDict
  import torch
  from mmengine.fileio import load
  from mmengine.runner import save_checkpoint
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types