W3cubDocs

/TensorFlow Python

tf.contrib.gan.eval.add_cyclegan_image_summaries

Aliases:

  • tf.contrib.gan.eval.add_cyclegan_image_summaries
  • tf.contrib.gan.eval.summaries.add_cyclegan_image_summaries
tf.contrib.gan.eval.add_cyclegan_image_summaries(cyclegan_model)

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

Adds image summaries for CycleGAN.

There are two summaries, one for each generator. The first image is the generator input, the second is the generator output, and the third is G(F(x)).

Args:

  • cyclegan_model: A CycleGANModel tuple.

Raises:

  • ValueError: If cyclegan_model isn't a CycleGANModel.
  • ValueError: If generated data, generator inputs, and reconstructions aren't images.
  • ValueError: If the generator input, generated data, and reconstructions aren't all the same size.

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/gan/eval/add_cyclegan_image_summaries