Home > Blockchain >  How to arrange tensorboard's graphs horizontally in tensorflow 2.x?
How to arrange tensorboard's graphs horizontally in tensorflow 2.x?

Time:03-03

I am using the following code, the drawing is arranged vertically, how to change it to horizontal arrangement?

with self.summary_writer.as_default():
    tf.summary.scalar("loss", self.loss[-1], step=self.steps)
    tf.summary.scalar("reward", self.rewards[-1], step=self.steps)
    tf.summary.scalar("average_rewards", np.nanmean(self.rewards[-1000:]), step=self.steps)

I didn't find it in the homepage of tensorflow.

picture

CodePudding user response:

Use regex expressions as suggested enter image description here

  • Related