tensorboard_logger icon indicating copy to clipboard operation
tensorboard_logger copied to clipboard

Event files not detected by tensorboard

Open jakkes opened this issue 4 years ago • 4 comments

My event files are not automatically detected by tensorboard, I need to specifically set the file extension to something along the lines of events.out.tfevents for data to appear in tensorboard.

jakkes avatar Oct 14 '21 15:10 jakkes

This is strange. According to Tensorboard code [1][2], any file containing tfevents in the file name will be treated as event file.

events.out.tfevents is a hardcoded prefix in the EventFileWriter, however this is not strictly required.

RustingSword avatar Oct 15 '21 04:10 RustingSword

Sure, but this lib doesn't seem to automatically set the extension, or am I missing something?

jakkes avatar Oct 15 '21 07:10 jakkes

Ah, I see the problem. No it does not, the file name is passed as a parameter to the constructor for flexibility. Maybe it is better to use an auto generated file name just like EventFileWriter does, and the user only need to specify the output directory.

RustingSword avatar Oct 15 '21 08:10 RustingSword

Yeah, I think that would be the way to go.

I sent you three issues, I'll see if I'm able to work on them a bit in a week or so.

jakkes avatar Oct 18 '21 14:10 jakkes