code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Generate COCO test image information "
          "for COCO panoptic segmentation."
      )
      parser.add_argument(
          "data_root", help="Path to COCO annotation directory."
      )
      args = parser.parse_args()
  
      return args
  
imports: import argparse
  import os.path
  from mmengine.fileio import dump, load
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args