keras tensorboard: plot train and validation scalars in a same figure
问题 So I am using tensorboard within keras. In tensorflow one could use two different summarywriters for train and validation scalars so that tensorboard could plot them in a same figure. Something like the figure in TensorBoard - Plot training and validation losses on the same graph? Is there a way to do this in keras? Thanks. 回答1: To handle the validation logs with a separate writer, you can write a custom callback that wraps around the original TensorBoard methods. import os import tensorflow