Dihedral: Dihedral

Description Usage Arguments Value

View source: R/image_ops.R View source: R/vision_augment.R

Description

Apply a random dihedral transformation to a batch of images with a probability 'p'

Apply a random dihedral transformation to a batch of images with a probability 'p'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
Dihedral(
  p = 0.5,
  draw = NULL,
  size = NULL,
  mode = "bilinear",
  pad_mode = "reflection",
  align_corners = NULL,
  batch = FALSE
)

Dihedral(
  p = 0.5,
  draw = NULL,
  size = NULL,
  mode = "bilinear",
  pad_mode = "reflection",
  align_corners = NULL,
  batch = FALSE
)

Arguments

p

probability

draw

draw

size

size

mode

mode

pad_mode

padding mode

align_corners

align corners

batch

batch

Value

None

None


fastai documentation built on July 28, 2021, 5:06 p.m.