TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.contrib.gan.eval.add_cyclegan_image_summaries

View source on GitHub

Adds image summaries for CycleGAN.

Aliases:

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

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.