Tensorboard, only show latest tfevents

3.3k views Asked by At

Tensboard shows all the events which it finds in the given logdir.

If I ran my training (or whatever) multiple times, I will have multiple tfevents file in the logdir. Tensorboard will show all such variable summaries merged together in a graph which looks strange.

graph

On stdout, it writes sth like:

WARNING:tensorflow:Found more than one graph event per run. Overwriting the graph with the newest event.
WARNING:tensorflow:Found more than one "run metadata" event with tag step_0000. Overwriting it with the newest event.

How can I make it only show the summaries/events from the latest tfevents file, so that it ignores all older tfevents files?

1

There are 1 answers

0
Shan Carter On BEST ANSWER

Try putting your tfevents files into unique directories with the name of the run, as documented here