mlr_pipeops_augment_center_crop: Center Crop Augmentation

mlr_pipeops_augment_center_cropR Documentation

Center Crop Augmentation

Description

Calls torchvision::transform_center_crop, see there for more information on the parameters. The preprocessing is applied to each element of a batch individually.

Format

R6Class inheriting from PipeOpTaskPreprocTorch.

Construction

po("augment_center_crop"")

Parameters

Id Type Default Levels
size untyped -
stages character - train, predict, both
affect_columns untyped selector_all()

mlr-org/mlr3torch documentation built on April 17, 2025, 8:22 p.m.