From the course: Building and Deploying Deep Learning Applications with TensorFlow

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Visualize training runs

Visualize training runs - TensorFlow Tutorial

From the course: Building and Deploying Deep Learning Applications with TensorFlow

Start my 1-month free trial

Visualize training runs

- [Instructor] When you are building machine learning models with TensorFlow, you'll be spending a lot of time training the model and then repeating the training process with different parameters to see what works best. Using TensorBoard we can visually monitor the progress of training as it happens, and even compare different training runs against each other. Let's see how it works. First, let's open up visualize_training.py. Here we already have our computational graph defined and we have a training loop defined. And down here on line 104, we've defined the training filewriter and a testing filewriter that will write out log files during training that we can then view in TensorBoard. Let's say that we want to retrain this neural network several times, with a different number of nodes in the first layer each time. Our goal is to find out which neural network design gives us the best prediction accuracy. The problem is that each time we run the training process, additional log files…

Contents