[AutoAugment] Add Rotate operation.
See original GitHub issueShort Description
Rotate is one of the operations used by AutoAugment. Currently it’s not present in keras_cv
, so AutoAugment cannot be implemented.
What it does From Tensorlfow Addons docs: Rotate image(s) counterclockwise by the passed angle(s) in radians.
Papers AutoAugment: Learning Augmentation Strategies from Data arxiv link
Existing Implementations Tensorflow addons tensorflow/tpu
Other Information
- This is different from keras
RandomRotation
as we need to be able to control the probability at which the op is applied. - Following standard Keras layer naming this could probably be called
Rotation
?
Issue Analytics
- State:
- Created a year ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
AutoAugment Explained - Papers With Code
AutoAugment is an automated approach to find data augmentation policies from data. ... The operations searched over are ShearX/Y, TranslateX/Y, Rotate, ...
Read more >AutoAugment: Learning Augmentation Policies from Data - arXiv
In this paper, we describe a simple procedure called AutoAugment to automatically search for improved data augmentation policies.
Read more >AutoAugment - Learning Augmentation Policies from Data
In this tutorial, we will be looking at how one can make use of AutoAugment as a data augmentation technique to train a...
Read more >How to improve your image classifier with Google's ...
Google's AutoAugment is automatically finding optimized data ... consider 16 operations: 14 from the Python image library PIL like rotating, ...
Read more >tfm.vision.augment.AutoAugment | TensorFlow v2.11.0
[('Invert', 0.6, 5), ('Rotate', 0.2, 9), ('ShearX', 0.1, 2)], ...] The outer-most list must be 3-d. The number of operations in a sub-policy...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@LukeWood yes - this is actually the case in AutoAugment, where you want to rotate the image by X degrees based on subpolicy’s magnitude:
@quantumalaviya Thanks for linking #407 I didn’t know about it and it looks like exactly the thing needed.
I agree that this function doesn’t need to be a KLP and is good enough as a utility function. From my perspective this issue can be closed.
Cool, let’s leave it open until we can merge @quantumalaviya ’s PR and actually include the utility to rotate an image a fixed amount