code: def get_caltech101_data():
      url = "https://s3.us-east-2.amazonaws.com/mxnet-public/101_ObjectCategories.tar.gz"
      dataset_name = "101_ObjectCategories"
      data_folder = "data"
      if not os.path.isdir(data_folder):
          os.makedirs(data_folder)
      tar_path = mx.gluon.utils.download(url, path=data_folder)
      if not os.path.isdir(
          os.path.join(data_folder, "101_ObjectCategories")
      ) or not os.path.isdir(
          os.path.join(data_folder, "101_ObjectCategories_test")
      ):
          tar = tarfile.open(tar_path, "r:gz")
          tar.extractall(data_folder)
          tar.close()
          print("Data extracted")
      training_path = os.path.join(data_folder, dataset_name)
      testing_path = os.path.join(
          data_folder, "{}_test".format(dataset_name)
      )
      return training_path, testing_path
  
imports: import os
  import random
  import tarfile
  import logging
  import tarfile
  import mxnet
  from mxnet.test_utils import get_cifar10
  from mxnet.gluon.data.vision import ImageFolderDataset
  from mxnet.gluon.data import DataLoader
  from mxnet.contrib.io import DataLoaderIter
label_desc: Use image node_id 4 for calling a global function with example usage: get_caltech101_data() and returns: training_path,  testing_path