What does scale do in RandomResizedCrop? #1291
Answered
by
Dipet
alejopaullier96
asked this question in
Q&A
-
Could you further explain what
|
Beta Was this translation helpful? Give feedback.
Answered by
Dipet
Sep 20, 2022
Replies: 1 comment
-
Yes, you correctly described how it is works. Implementaion is here: https://github.com/albumentations-team/albumentations/blob/master/albumentations/augmentations/crops/transforms.py#L351 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alejopaullier96
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
scale
- Specifies the lower and upper bounds for the random area of the crop, before resizing. The scale is defined with respect to the area of the original image.Yes, you correctly described how it is works. Implementaion is here: https://github.com/albumentations-team/albumentations/blob/master/albumentations/augmentations/crops/transforms.py#L351