def preproc(image_bytes):
    image_jpg = tf.image.decode_jpeg(image_bytes, channels=3)
    image_jpg = tf.image.resize_images(image_jpg, IMAGE_SIZE)
    image_jpg = (tf.to_float(image_jpg) / 255.0)
    image_jpg = tf.reshape(image_jpg, [IMAGE_SIZE[0], IMAGE_SIZE[1], 3], name='Reshape_Preproc')
    return image_jpg
def preproc(image_bytes):
    image_jpg = tf.image.decode_jpeg(image_bytes, channels=3)
    image_jpg = tf.image.resize_images(image_jpg, IMAGE_SIZE)
    image_jpg = (tf.to_float(image_jpg) / 255.0)
    image_jpg = tf.reshape(image_jpg, [IMAGE_SIZE[0], IMAGE_SIZE[1], 3], name='Reshape_Preproc')
    return image_jpg