def get_image(train):
    '\n        Randomly pick one image from training data\n    ====================\n    Args:\n        train: train data\n    ====================\n    Return:\n        image\n    '
    n = len(train)
    ind = np.random.randint(0, n)
    img_dir = train[ind]
    image = Image.open(img_dir)
    image = image.resize([208, 208])
    image = np.array(image)
    return image
Randomly pick one image from training data
====================
Args:
    train: train data
====================
Return:
    image
def get_image(train):
    '\n        Randomly pick one image from training data\n    ====================\n    Args:\n        train: train data\n    ====================\n    Return:\n        image\n    '
    n = len(train)
    ind = np.random.randint(0, n)
    img_dir = train[ind]
    image = Image.open(img_dir)
    image = image.resize([208, 208])
    image = np.array(image)
    return image