
This video provides an overview of the entire course.
In this video, you’ll get introduced to TensorBoard and understand how to leverage its power.
• Product description
• Show the visualization capabilities
Here, we shall introduce TensorBoard interface to PyTorch.
• Do the set up
• Describe the methods
• Provide reference documentation
Let’s demonstrate how to run code in notebooks.
• Load extension
• Run magic command
In this video, we’ll set up the regression problem.
• Define the problem
• Create a dataset
• Define the model
Here, we shall visualize model graph.
• Define model and SummaryWriter object
• Log model using add_graph method
• View graph in TensorBoard graph tab
In this video, we’ll have a look at loss curve.
• Train the model
• Log loss using add_scalar method
• View Loss curve in TensorBoard scalar tab
In this video, we’ll view weight and bias distributions.
• Train the model
• Log weight and bias data using add_histogram
• View distributions using distribution and histogram tabs in TensorBoard
In this video, we’ll demonstrate additional data visualizations.
• Log and view image data
• Log and view audio data
• Log and view text data
In this video, we’ll explore how to use TensorBoard to accomplish image classification.
• Introduce the CIFAR-10 dataset
• Describe model graphs and loss curves
• Describe confusion matrix and hyperparameter logging
Here, we shall view model graph and verify correctness.
• Load the data
• Define the model
• Visualize graph and detect errors in TensorBoard
Here, we shall view loss curve, visualize training loss, and other metrics.
• Train the model
• Log the training loss
• Visualize loss in TensorBoard
In this video, we’ll demonstrate images tab.
• Log image data
• Visualize in tab
Let’s compute confusion matrix and display in TensorBoard.
• Evaluate model based on test data
• Compute results from confusion matrix
• Display confusion matrix
Here, we shall predict sentiment of movie reviews.
• Load IMDb dataset
• Introduce text visualization and embeddings
• Discuss additional visualizations
In this video, we’ll visualize text samples in TensorBoard.
• Use add_text method to log data
• View text in text tab
Let’s demonstrate projector capability to view word embeddings.
• Explain what word embedding is
• Use add_embedding to log data
• View embedding using projector tab
Here, we shall view and verify the model graph.
• Define and instantiate the RNN model
• Log the model using add_graph
• View model in the graph tab
Here, let’s demonstrate how to tune and track hyperparameters.
• Set hyperparameters and train model
• Log hyperparameters and metrics
• View results in TensorBoard
In this video, we’ll identify other capabilities and what features are not supported.
• Describe PR Curves and mesh plots
• Describe unsupported features
In this video, we’ll review TensorBoard visualizations and their methods.
• Review images, text, scalars, and graphs
• Review distributions and embeddings
• Review hyperparameters and other features
Here, we shall review the applications and how we used TensorBoard for model development.
• Review data, model architectures, and training curves
• Review how to check for errors and monitor performance
• Review experimentation tracking
In this video, we’ll review other areas to explore.
• Look at other areas of TensorBoard
• Checkout TensorFlow
• Review PyTorch
TensorBoard is a visualization library for TensorFlow that plots training runs, tensors, and graphs. TensorBoard has been natively supported since the PyTorch 1.1 release. In this course, you will learn how to perform Machine Learning visualization in PyTorch via TensorBoard. This course is full of practical, hands-on examples. You will begin with a quick introduction to TensorBoard and how it is used to plot your PyTorch training models. You will learn how to write TensorBoard events and run TensorBoard with PyTorch to obtain visualizations of the training progress of a neural network. You will visualize scalar values, images, text and more, and save them as events. You will log events in PyTorch–for example, scalar, image, audio, histogram, text, embedding, and back-propagation.
By the end of the course, you will be confident enough to use TensorBoard visualizations in PyTorch for your real-world projects.
About the Author
Joe Papa has an MSEE and over 23 years' experience in engineering R&D. He has led AI teams and developed Deep Learning models at Booz Allen and Perspecta Labs. Joe is also the founder of Mentorship .ai and has mentored hundreds of data scientists in Machine Learning, Deep Learning, and AI. He has taught over 6,000 students on Udemy in programming courses such as MATLAB.