TensorBoard: How to write images to get a steps slider?
问题 I'm using keras in my ML project with the TensorBoard callback. I have an image autoencoder and I want to visualize its progress in reconstructing some images. So I sub-classed the TensorBoard class as such: class Monitor(TensorBoard): def on_train_begin(self, logs=None): super().on_train_begin(logs) def on_epoch_begin(self, epoch, logs=None): # 1. Get the reconstructed images reconstructions = Autoencoder.predict(validation[0]) # 2. Generate a summary summary = tf.summary.image(