big_transfer icon indicating copy to clipboard operation
big_transfer copied to clipboard

"flip_left_right" in input_pipeline_tf2_or_jax.py

Open exiarepairii opened this issue 4 years ago • 0 comments

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?

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?

exiarepairii avatar Sep 12 '21 10:09 exiarepairii