OneOf

Select one of transforms to apply. Selected transform will be called with force_apply=True. Transforms probabilities will be normalized to one 1, so in this case transforms probabilities works as weights.

Arguments
transforms
list[BasicTransform | BaseCompose]

list of transformations to compose.

p
float
0.5

probability of applying selected transform. Default: 0.5.