deep_dreamify: Dreamify an Image

Description Usage Arguments

View source: R/dreamify.R

Description

Dreamify an Image

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
deep_dreamify(
  base_image_path,
  output_image_path,
  loss_and_grads = calc_loss_and_grads(model = load_imagenet_model(),
    layer_contributions = list(mixed2 = 0.2, mixed3 = 3, mixed4 = 2, mixed5 = 1.5)),
  step = 0.01,
  num_octave = 3,
  octave_scale = 1.4,
  iterations = 20,
  max_loss = 10
)

Arguments

loss_and_grads

primaj/deepDreameR documentation built on March 12, 2020, 12:06 a.m.