Skip to content

"flip_left_right" in input_pipeline_tf2_or_jax.py #62

Open
@exiarepairii

Description

@exiarepairii

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions