Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"flip_left_right" in input_pipeline_tf2_or_jax.py #62

Open
exiarepairii opened this issue Sep 12, 2021 · 0 comments
Open

"flip_left_right" in input_pipeline_tf2_or_jax.py #62

exiarepairii opened this issue Sep 12, 2021 · 0 comments

Comments

@exiarepairii
Copy link

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 exiarepairii changed the title "flip_left_right" in input_pipeline_tf2_or_jax "flip_left_right" in input_pipeline_tf2_or_jax.py Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant