mlr_pipeopsaugment_color_jitter function

Color Jitter Augmentation

Color Jitter Augmentation

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

Format

R6Class inheriting from PipeOpTaskPreprocTorch.

Parameters

IdTypeDefaultLevelsRange
brightnessnumeric0[0,Inf)[0, Inf)
contrastnumeric0[0,Inf)[0, Inf)
saturationnumeric0[0,Inf)[0, Inf)
huenumeric0[0,Inf)[0, Inf)
stagescharacter-train, predict, both-
affect_columnsuntypedselector_all()-