Reputation: 83
tf.summary.FileWriter(logdir, sess.graph)
I found that there are more than one event file in logdir. Why? I think it should be one.
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
Reputation: 542
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
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
Reputation: 21
It is the unix/linux timestamp. For more details refer to https://en.wikipedia.org/wiki/Unix_time
Upvotes: 2