sunil manikani
sunil manikani

Reputation: 320

Not able to see histograms and distributions in TensorBoard configured as a callback from Keras

The TensorBoard call back itself seems to work ok! I am able to see the Graph and events (loss and accuracy charts). I am not able to see histograms and distributions though. histogram_freq is set to 1. And callback looks somewhat like below...

keras.callbacks.TensorBoard(log_dir='/path/to/logs', histogram_freq=1, write_graph=True, write_images=True)

Thanks in advance!

Upvotes: 4

Views: 1965

Answers (1)

Panagiotis Stalidis
Panagiotis Stalidis

Reputation: 41

The TensorBoard callback creates a self.merged layer with nodes comprised of the histograms and images, but it only attempts to write this summary info if model.validation_data is defined. If you are using fit_generator with a generator for the validation data, validation_data is set to None, and therefore the images and histograms are never written.

Upvotes: 4

Related Questions