Search code examples
tensorflowtensorboard

How do I change the line color of the tensorboard?


After two training, I recorded the errors on the tensorboard.

The picture below is that.

enter image description here

Both lines are orange and difficult to distinguish.

The smaller of the two lines is the first experiment, the larger the error is the second experiment.

How can I set the line color differently each time I learn?

And if you look at the picture above, how do you get rid of a straight line?

Finally, if you look at the picture, there is a faint afterimage. I want to get rid of this.

Thanks you.


Solution

  • You have to write the results of each experiment to a different subdirectory, using a different writer. TensorBoard will present the logs from each subdirectory with different colors and with their names on the left.

    The straight lines are for the same reason, TensorBoard thinks it's all a single experiment, so it jumps from step 60k to step 0 (because logs were written in that order).