Hi everyone!
It looks to me that the original image is identical – at least to the naked eye – to the augmented image. Here’s what I mean:
- my tests pass
- I run this and the plots returned are identical.
for image, ii in train_dataset.take(1):
first_image = image[0]
plt.figure(figsize=(3,3))
plt.imshow(first_image/255)
"""Take just one transformation of that original image"""
plt.figure(figsize=(3,3))
augmented_image = data_augmentation(
tf.expand_dims(first_image, 0)
)
plt.imshow(augmented_image[0] / 255)