tf.contrib.gan.eval.add_gan_model_image_summaries

Adds image summaries for real and fake images.

Aliases:

  • tf.contrib.gan.eval.add_gan_model_image_summaries
  • tf.contrib.gan.eval.summaries.add_gan_model_image_summaries
tf.contrib.gan.eval.add_gan_model_image_summaries(
    gan_model,
    grid_size=4,
    model_summaries=True
)

Defined in contrib/gan/python/eval/python/summaries_impl.py.

Args:

  • gan_model: A GANModel tuple.
  • grid_size: The size of an image grid.
  • model_summaries: Also add summaries of the model.

Raises:

  • ValueError: If real and generated data aren't images.