icevision_RandomResizedCrop: RandomResizedCrop

View source: R/icevision_albumentations.R

icevision_RandomResizedCropR Documentation

RandomResizedCrop

Description

Torchvision's variant of crop a random part of the input and rescale it to some size.

Usage

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

Value

None

Targets

image, mask, bboxes, keypoints

Image types

uint8, float32


fastai documentation built on June 22, 2024, 11:15 a.m.