Tensorflow -How to use Tensorboard tutorial

TL;DR;
A brief and concise tutorial on how to visualize different aspects such as the loss of your neural network using tensorboard.

Context
We are going to work with a fully-connected neural network using the MNIST dataset. I’m going to use the network I have introduced in an earlier post. It achieves on the test-set an accuracy of ~90%. This is not bad but we have no clue what is actually going on or how our model looks like. In this post we will add the necessary commands to visualize the graph and some training values using tensorboard. If you haven’t installed tensorflow yet look at this post. You also want to have a look at the official tensorflow documentation.

Write a Log File and Run Tensorboard
Tensorflow summaries are essentially logs. And in order to write logs we need a log writer (or what it is called in tensorflow) a SummaryWriter. So for starters,


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/bClt3ouPCa4/

Original article

Comments are closed.

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: