code: def maybe_download(filename, work_directory):
      """Download the data from Fashion mnist repo"""
      if not os.path.exists(work_directory):
          os.mkdir(work_directory)
      filepath = os.path.join(work_directory, filename)
      if not os.path.exists(filepath):
          print("Downloading fashion MNIST...")
          filepath, _ = urllib.request.urlretrieve(
              SOURCE_URL + filename, filepath
          )
          statinfo = os.stat(filepath)
          print(
              "Succesfully downloaded",
              filename,
              statinfo.st_size,
              "bytes.",
          )
      return filepath
  
file_path: tflearn/tflearn/datasets/fashion_mnist.py
imports: from __future__ import print_function
  import gzip
  import os
  from six.moves import urllib
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: maybe_download(filename, work_directory) and returns: filepath