code: def get_data():
      assert args.data
      imgs = glob.glob(args.data + "/*.jpg")
      ds = ImageFromFile(imgs, channel=3, shuffle=True)
      ds = AugmentImageComponent(ds, get_augmentors())
      ds = BatchData(ds, args.batch)
      ds = MultiProcessRunnerZMQ(ds, 5)
      return ds
  
imports: import argparse
  import glob
  import numpy
  import os
  import tensorflow
  from tensorpack import *
  from tensorpack.tfutils.scope_utils import auto_reuse_variable_scope
  from tensorpack.utils.viz import stack_patches
  from GAN import GANModelDesc, GANTrainer, RandomZData
label_desc: Use image node_id 2 for calling a global function with example usage: get_data() and returns: ds