Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

icevision_Normalize

Normalize


Description

Divide pixel values by 255 = 2**8 - 1, subtract mean per channel and divide by std per channel.

Usage

icevision_Normalize(
  mean = list(0.485, 0.456, 0.406),
  std = list(0.229, 0.224, 0.225),
  max_pixel_value = 255,
  always_apply = FALSE,
  p = 1
)

Arguments

mean

mean

std

std

max_pixel_value

max_pixel_value

always_apply

always_apply

p

p

Value

None

Targets

image

Image types

uint8, float32


fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.