Search code examples
pythontensorflowtensorboard

Visualize the files generated by the tensor-board after training


I activated the tensor-board option during training to view the metrics and learning during training. It created a directory called “runs (default)” and placed the files there. The files look like this:

events.out.tfevents.1590963894.moissan.17321.0

I have tried viewing the content of the file, but it’s a binary file…

Please can anyone help me with how to view the files generated when you activate the tensor-board option?


Solution

  • To view these files, you need to install tensorboard: https://www.tensorflow.org/tensorboard/get_started

    Once tensorboard is installed, open a terminal window and run via

    tensorboard --logdir=runs\ (default)
    

    If using standard options, you will then be able to view by opening http://127.0.0.1:6006/ in your web browser.