Skip to content

Instantly share code, notes, and snippets.

@Juanmontenegro99
Last active August 24, 2021 17:02
Show Gist options
  • Save Juanmontenegro99/4a8f67b193d3b9cc0b0798694508b9bc to your computer and use it in GitHub Desktop.
Save Juanmontenegro99/4a8f67b193d3b9cc0b0798694508b9bc to your computer and use it in GitHub Desktop.
# Transformer element
transform_objects = [
flip.transformers.data_augmentation.Rotate(mode='random'),
flip.transformers.data_augmentation.Flip(mode='x'),
flip.transformers.data_augmentation.RandomResize(
mode='symmetric_w',
relation=’none’,
w_percentage_min=0.3,
w_percentage_max=0.7
)
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment