code: def main():
      parser = argparse.ArgumentParser(
          description="Upgrade model version"
      )
      parser.add_argument("in_file", help="input checkpoint file")
      parser.add_argument("out_file", help="output checkpoint file")
      parser.add_argument(
          "--num-classes",
          type=int,
          default=81,
          help="number of classes of the original model",
      )
      args = parser.parse_args()
      convert(args.in_file, args.out_file, args.num_classes)
  
file_path: mmdetection/tools/model_converters/upgrade_model_version.py
imports: import argparse
  import re
  import tempfile
  from collections import OrderedDict
  import torch
  from mmengine import Config
label_desc: Use image node_id 7 for calling a global function with example usage: main() without return types