code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Convert Cityscapes annotations to COCO format"
      )
      parser.add_argument(
          "cityscapes_path", help="cityscapes data path"
      )
      parser.add_argument("--img-dir", default="leftImg8bit", type=str)
      parser.add_argument("--gt-dir", default="gtFine", type=str)
      parser.add_argument("-o", "--out-dir", help="output path")
      parser.add_argument(
          "--nproc", default=1, type=int, help="number of process"
      )
      args = parser.parse_args()
      return args
  
file_path: mmdetection/tools/dataset_converters/cityscapes.py
imports: import argparse
  import glob
  import os.path
  import cityscapesscripts.helpers.labels
  import mmcv
  import numpy
  import pycocotools.mask
  from mmengine.fileio import dump
  from mmengine.utils import Timer, mkdir_or_exist, track_parallel_progress, track_progress
label_desc: Use image node_id 5 for calling a global function with example usage: parse_args() and returns: args