Skip to content

Instantly share code, notes, and snippets.

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