spark
spark

Reputation: 83

the number and the name of the event files in tensorflow?

tf.summary.FileWriter(logdir, sess.graph)
  1. I found that there are more than one event file in logdir. Why? I think it should be one.

  2. what is the meaning of the name, ie:'events.out.tfevents.1496202271.host-name'. What is the meaning of '1496202271' in it.

Thx.

Upvotes: 2

Views: 2322

Answers (3)

Drew Galbraith
Drew Galbraith

Reputation: 542

Answer

The tensorboardXSummaryWriter docs points to the EventFileWriter code which shows they use time.time(), socket.gethostname(), os.getpid(), and _global_uid.get() to construct the name. Use ChatGPT or look up docs to understand what these are or how to manipulate them.


*I came here looking specifically for TensorFlow's Tensorboard event file naming conventions and didn't find the other answers very helpful. There may be other naming conventions within TF, but this is the answer for TB's event files.

Upvotes: 0

yxtay
yxtay

Reputation: 546

Different Tensorboard event files are created for separate Tensorflow sessions.

Make sure that you are only running a single session and use it repeatedly when running saver.save().

Upvotes: 0

Jankyee
Jankyee

Reputation: 21

It is the unix/linux timestamp. For more details refer to https://en.wikipedia.org/wiki/Unix_time

Upvotes: 2

Related Questions