code: def load_data(
      dirname="17flowers",
      resize_pics=(224, 224),
      shuffle=True,
      one_hot=False,
  ):
      dataset_file = os.path.join(dirname, "17flowers.pkl")
      if not os.path.exists(dataset_file):
          tarpath = maybe_download(
              "17flowers.tgz",
              "http://www.robots.ox.ac.uk/~vgg/data/flowers/17/",
              dirname,
          )
  
      X, Y = build_image_dataset_from_dir(
          os.path.join(dirname, "jpg/"),
          dataset_file=dataset_file,
          resize=resize_pics,
          filetypes=[".jpg", ".jpeg"],
          convert_gray=False,
          shuffle_data=shuffle,
          categorical_Y=one_hot,
      )
  
      return X, Y
  
file_path: tflearn/tflearn/datasets/oxflower17.py
imports: from __future__ import absolute_import, print_function
  import os
  import sys
  from six.moves import urllib
  import tarfile
  import numpy
  import pickle
  from ..data_utils import *
label_desc: Use image node_id 1 for calling a global function with example usage: load_data(dirname, resize_pics, shuffle, one_hot) and returns: X,  Y