import tensorflow as tf

    self.end_points_G = self.model.generator([batch_size_train, 100], True, None, batch_size_val)

    if gpu_idx == 0:
      G_means = tf.reduce_mean(self.end_points_G['softmax'], 0, keep_dims=True)
      G_vars = tf.reduce_mean(tf.square(self.end_points_G['softmax'] - G_means), 0, keep_dims=True)
      G = tf.Print(
