code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Convert SBD to Pascal Voc annotations to augment the train dataset of Pascal Voc"
      )
      parser.add_argument(
          "--voc_path",
          dest="voc_path",
          help="pascal voc path",
          type=str,
          default=os.path.join(DATA_HOME, "VOCdevkit"),
      )
  
      parser.add_argument(
          "--num_workers",
          dest="num_workers",
          help="How many processes are used for data conversion",
          type=int,
          default=cpu_count(),
      )
      return parser.parse_args()
  
file_path: PaddleSeg/tools/data/voc_augment.py
imports: import os
  import argparse
  from multiprocessing import Pool, cpu_count
  import cv2
  import numpy
  from scipy.io import loadmat
  import tqdm
  from paddleseg.utils.download import download_file_and_uncompress
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser