vis4d.data.transforms.autoaugment¶
A wrap for timm transforms.
Classes
|
Apply Timm's AugMix to a image tensor. |
|
Apply Timm's AutoAugment (policy=original) to a image array. |
|
Apply Timm's AutoAugment (policy=v0) to a image array. |
|
Apply Timm's RandomAugment to a image tensor. |
- class AugMix(*, in_keys=['images'], out_keys=['images'], sensors=None, same_on_batch=True, **kwargs)[source]¶
Apply Timm’s AugMix to a image tensor.
- class AutoAugOriginal(magnitude_std=0.5)[source]¶
Apply Timm’s AutoAugment (policy=original) to a image array.
Create an instance of AutoAug.
- Parameters:
magnitude_std (float, optional) – Standard deviation of the magnitude for random autoaugment. Defaults to 0.5.