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

Rotate

Rotate


Description

Apply a random rotation of at most 'max_deg' with probability 'p' to a batch of images

Usage

Rotate(
  max_deg = 10,
  p = 0.5,
  draw = NULL,
  size = NULL,
  mode = "bilinear",
  pad_mode = "reflection",
  align_corners = TRUE,
  batch = FALSE
)

Arguments

max_deg

maximum degrees

p

probability

draw

draw

size

size of image

mode

mode

pad_mode

reflection, zeros, border as string parameter

align_corners

align corners or not

batch

batch or not

Value

None


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.