Skip to content

Instantly share code, notes, and snippets.

@omarsar
Created August 31, 2019 13:47
Show Gist options
  • Save omarsar/ec8b390af49097b4b947ae9b4a3ec278 to your computer and use it in GitHub Desktop.
Save omarsar/ec8b390af49097b4b947ae9b4a3ec278 to your computer and use it in GitHub Desktop.
## dummy transform
dummy2_transform = transforms.Compose(
[transforms.RandomRotation(45), transforms.RandomVerticalFlip()])
dummy2_result = dummy2_transform(image)
plt.imshow(dummy2_result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment