Setting up TensorBoard for analyzing TPU performance

Analyzing the performance of any application is extremely critical, and TensorBoard helps in visualizing and analyzing performance on Cloud TPU. Using TensorBoard, you can not only monitor your application but also improve its performance by applying suggestions provided by TensorBoard.

After setting up Cloud TPU, you should install the latest version of the Cloud TPU profiler to create a capture-tpu-profile script. The following are the steps to run TensorBoard:

  1. Open a new Cloud Shell to start TensorBoard.
  2. Run the following command to set the required environment variables and create environment variables for your cloud storage bucket and model directory. The model directory variable ...

Get Hands-On Artificial Intelligence on Google Cloud Platform now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.