Resized Crop Augmentation
Calls torchvision::transform_resized_crop
, see there for more information on the parameters. The preprocessing is applied to each element of a batch individually.
R6Class
inheriting from PipeOpTaskPreprocTorch
.
Id | Type | Default | Levels | Range |
top | integer | - | ||
left | integer | - | ||
height | integer | - | ||
width | integer | - | ||
size | untyped | - | - | |
interpolation | integer | 2 | ||
stages | character | - | train, predict, both | - |
affect_columns | untyped | selector_all() | - |
Useful links