Skip to Content
Mastering Computer Vision with TensorFlow 2.x
book

Mastering Computer Vision with TensorFlow 2.x

by Krishnendu Kar
May 2020
Beginner to intermediate
430 pages
10h 39m
English
Packt Publishing
Content preview from Mastering Computer Vision with TensorFlow 2.x

TensorBoard running on Google Colab

This section describes how to run TensorBoard on Google Colab. This involves the following steps:

  1. In order to run TensorBoard on Google Colab, the TensorBoard page has to be accessed from your local PC. This is done through a service called ngrok, which links your local PC to TensorBoard. Ngrok is downloaded and extracted to your PC by using the following two lines of code:
!wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip!unzip ngrok-stable-linux-amd64.zip
  1. Next, TensorBoard is opened using this code:
LOG_DIR = model_dirget_ipython().system_raw( 'tensorboard --logdir {} --host 0.0.0.0 --port 6006 & .format(LOG_DIR))
  1. After this, ngrok is called to start TensorBoard using port ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Computer Vision with TensorFlow 2

Hands-On Computer Vision with TensorFlow 2

Benjamin Planche, Eliot Andres

Publisher Resources

ISBN: 9781838827069Supplemental Content