def get_data(name):
    isTrain = name == 'train'
    augmentors = fbresnet_augmentor(isTrain)
    datadir = args.data
    return get_imagenet_dataflow(datadir,
                                 name,
                                 BATCH_SIZE,
                                 augmentors,
                                 dir_structure='original')
def get_data(name, batch):
    isTrain = name == 'train'
    augmentors = fbresnet_augmentor(isTrain)
    datadir = args.data
    return get_imagenet_dataflow(datadir, name, batch, augmentors)