code: def parse_args():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--data-root",
          type=str,
          help="The data root of coco dataset.",
          default="./data/coco/",
      )
      parser.add_argument(
          "--out-dir",
          type=str,
          help="The output directory of coco semi-supervised annotations.",
          default="./data/coco/semi_anns/",
      )
      parser.add_argument(
          "--labeled-percent",
          type=float,
          nargs="+",
          help="The percentage of labeled data in the training set.",
          default=[1, 2, 5, 10],
      )
      parser.add_argument(
          "--fold",
          type=int,
          help="K-fold cross validation for semi-supervised object detection.",
          default=5,
      )
      args = parser.parse_args()
      return args
  
imports: import argparse
  import os.path
  import numpy
  from mmengine.fileio import dump, load
  from mmengine.utils import mkdir_or_exist, track_parallel_progress
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args