Tobias Scheithauer
Tobias Scheithauer

Reputation: 365

How to change colors of function plots in Tensorboard?

I'm trying to compare different learning-rate-decays using Tensorflow. Therefore I visualize the cost functions in Tensorboard ('EVENTS'-tab). My problem is that the different plots of the functions are in very similar colors making it hard to compare them. Is there any possibility to change those colors?

Upvotes: 12

Views: 18172

Answers (4)

George V Jose
George V Jose

Reputation: 312

Just create different summary writes with different log files for each learning rate. Then launch the tensorboard tool using:

tensorboard --logdir=tag1:/path/to/summary/one,tag2:/path/to/summary/two

In newer version, --logdir_spec is required.

tensorboard --logdir_spec=tag1:/path/to/summary/one,tag2:/path/to/summary/two

Upvotes: 11

philippkiesling
philippkiesling

Reputation: 11

This is very far from an actual solution, but in case someone only wants to change the colors for a screenshot in a paper or presentation its a quick workaround:

  1. Open your browser dev tools (F12)
  2. Search for the color code you want to change (the default orange is #ff7043) and replace it with the color you want

Upvotes: 1

mathandy
mathandy

Reputation: 2010

As suggested here, creating (and pointing tensorboard to) a symlink of a run's logdir is one workaround to change the color used to plot that run.

Upvotes: 0

Shan Carter
Shan Carter

Reputation: 2455

There's currently no way to change those colors, but a recent release has made the colors more differentiated. Try updating and seeing if that helps.

Upvotes: 6

Related Questions