code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Download datasets for training"
      )
      parser.add_argument(
          "--dataset-name",
          type=str,
          help="dataset name",
          default="coco2017",
      )
      parser.add_argument(
          "--save-dir",
          type=str,
          help="the dir to save dataset",
          default="data/coco",
      )
      parser.add_argument(
          "--unzip",
          action="store_true",
          help="whether unzip dataset or not, zipped files will be saved",
      )
      parser.add_argument(
          "--delete",
          action="store_true",
          help="delete the download zipped files",
      )
      parser.add_argument(
          "--threads", type=int, help="number of threading", default=4
      )
      args = parser.parse_args()
      return args
  
file_path: mmdetection/tools/misc/download_dataset.py
imports: import argparse
  import tarfile
  from itertools import repeat
  from multiprocessing.pool import ThreadPool
  from pathlib import Path
  from tarfile import TarFile
  from zipfile import ZipFile
  import torch
  from mmengine.utils.path import mkdir_or_exist
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args