code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Process a checkpoint to be published"
      )
      parser.add_argument("in_file", help="input checkpoint filename")
      parser.add_argument("out_file", help="output checkpoint filename")
      parser.add_argument(
          "--save-keys",
          nargs="+",
          type=str,
          default=["meta", "state_dict"],
          help="keys to save in the published checkpoint",
      )
      args = parser.parse_args()
      return args
  
imports: import argparse
  import subprocess
  import torch
  from mmengine.logging import print_log
  from mmengine.utils import digit_version
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args