Replies: 1 comment
-
Your snippet looks very legit to me. You can also play with A.RandomSizedCrop to introduce some scale variance to your crops. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to implement an equivalent of Torchvision's transforms (
transforms.RandomCrop(32, padding=4)
) in albumentations.The only way I found till now is:
What are the different ways we can do this? And what is an efficient or recommended way?
Thanks in advance!! :)
Beta Was this translation helpful? Give feedback.
All reactions