code: def download_dataset(input_dir_path: str):
      """
      Download the iNaturalist2018 annotations and dataset
      """
      logger.info("========Downloading Annotations ========")
      download_and_extract_archive(
          url=TRAINING_ANNOTATIONS_URL, download_root=input_dir_path
      )
      download_and_extract_archive(
          url=VAL_ANNOTIATIONS_URL, download_root=input_dir_path
      )
  
      logger.info(
          "========Downloading Images. This may take awhile! ========"
      )
      download_and_extract_archive(
          url=IMAGES_URL, download_root=input_dir_path
      )
  
file_path: vissl/extra_scripts/datasets/create_inaturalist2018_data_files.py
imports: import argparse
  import json
  import logging
  import sys
  import numpy
  from iopath.common.file_io import g_pathmgr
  from vissl.utils.download import download_and_extract_archive
  from vissl.utils.io import save_file
label_desc: Use image node_id 1 for calling a global function with example usage: download_dataset(input_dir_path) without return types