code: def download_datasets(output_path):
      """Helper tool to download datasets
  
      Args:
          output_path (str): path where to download and unzip the dataset
      """
      from torchvision.datasets.sbd import SBDataset
      from torchvision.datasets.voc import VOCSegmentation
  
      output_path = Path(output_path)
      output_path.mkdir(parents=True, exist_ok=True)
  
      print("Download Pascal VOC 2012 - Training")
      VOCSegmentation(
          output_path.as_posix(), image_set="train", download=True
      )
      print("Download Pascal VOC 2012 - Validation")
      VOCSegmentation(
          output_path.as_posix(), image_set="val", download=True
      )
      print(
          "Download SBD - Training without Pascal VOC validation part"
      )
      sbd_path = output_path / "SBD"
      sbd_path.mkdir(exist_ok=True)
      SBDataset(
          sbd_path.as_posix(),
          image_set="train_noval",
          mode="segmentation",
          download=True,
      )
      print("Done")
      print(
          f"Pascal VOC 2012 is at : {(output_path / 'VOCdevkit').as_posix()}"
      )
      print(f"SBD is at : {sbd_path.as_posix()}")
  
imports: import os
  from functools import partial
  from pathlib import Path
  import fire
  import torch
  import dataflow
  import utils
  import vis
  from py_config_runner import ConfigObject, get_params, InferenceConfigSchema, TrainvalConfigSchema
  import ignite.distributed
  from ignite.contrib.engines import common
  from ignite.engine import Engine, Events
  from ignite.handlers import Checkpoint
  from ignite.metrics import ConfusionMatrix, IoU, mIoU
  from ignite.utils import manual_seed, setup_logger
label_desc: Use image node_id 1 for calling a global function with example usage: download_datasets(output_path) without return types