Open exiarepairii opened 2 years ago
In Line 103 of input_pipeline_tf2_or_jax.py, why use tf.image.flip_left_right instead of tf.image.random_flip_left_right?
tf.image.flip_left_right
tf.image.random_flip_left_right
From tensorflow's doc, tf.image.flip_left_right will always flip the image, without any randomness. It makes more sense to use tf.image.random_flip_left_right for image augmentation.
Is this a mistake or is there another deeper meaning?
In Line 103 of input_pipeline_tf2_or_jax.py, why use
tf.image.flip_left_right
instead oftf.image.random_flip_left_right
?From tensorflow's doc,
tf.image.flip_left_right
will always flip the image, without any randomness. It makes more sense to usetf.image.random_flip_left_right
for image augmentation.Is this a mistake or is there another deeper meaning?