Skip to content

Migrate AutoAugment and RandAugment to TensorFlow Addons. #1226

Closed
@dynamicwebpaige

Description

@dynamicwebpaige

Describe the feature and the current behavior/state.
RandAugment and AutoAugment are both policies for enhanced image preprocessing that are included in EfficientNet, but are still using tf.contrib.

https://github.com/tensorflow/tpu/blob/master/models/official/efficientnet/autoaugment.py

The only tf.contrib image operations that they use, however, are rotate, translate and transform - all of which have been included in TensorFlow Addons.

Relevant information

  • Are you willing to contribute it (yes/no):
    No, but am hoping that someone from the community will pick it up (potentially a Google Summer of Code student)?

  • Are you willing to maintain it going forward? (yes/no):
    Yes

  • Is there a relevant academic paper? (if so, where):
    AutoAugment Reference: https://arxiv.org/abs/1805.09501
    RandAugment Reference: https://arxiv.org/abs/1909.13719

  • Is there already an implementation in another framework? (if so, where):
    See link above; this would be a standard migration from tf.contrib.

  • Was it part of tf.contrib? (if so, where):
    Yes

Which API type would this fall under (layer, metric, optimizer, etc.)
Image

Who will benefit with this feature?
Anyone doing image preprocessing, especially for EfficientNet.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions