icevision_ToFloat: ToFloat

Description Usage Arguments Details Value See Also Targets Image types

View source: R/icevision_albumentations.R

Description

Divide pixel values by 'max_value' to get a float32 output array where all values lie in the range [0, 1.0].

Usage

1
icevision_ToFloat(max_value = NULL, always_apply = FALSE, p = 1)

Arguments

max_value

max_value

always_apply

always_apply

p

p

Details

If 'max_value' is NULL the transform will try to infer the maximum value by inspecting the data type of the input image. See Also: :class:'~albumentations.augmentations.transforms.FromFloat'

Value

None

See Also

:class:'~albumentations.augmentations.transforms.FromFloat'

Targets

image

Image types

any type


fastai documentation built on Oct. 25, 2021, 5:08 p.m.