Torchvision's variant of crop a random part of the input and rescale it to some size.
icevision_RandomResizedCrop(
height,
width,
scale = list(0.08, 1),
ratio = list(0.75, 1.33333333333333),
interpolation = 1,
always_apply = FALSE,
p = 1
)
Arguments
- height
height
- width
width
- scale
scale
- ratio
ratio
- interpolation
interpolation
- always_apply
always_apply
- p
p
Targets
image, mask, bboxes, keypoints
Image types
uint8, float32