Skip to content
This repository was archived by the owner on Oct 2, 2025. It is now read-only.
This repository was archived by the owner on Oct 2, 2025. It is now read-only.

"flip_left_right" in input_pipeline_tf2_or_jax.py #62

@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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions