09.05.2023 Views

pdfcoffee

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 16

The best way to play with the repository is to clone it on Google Cloud Console and

use the environment available at https://github.com/tensorflow/tpu/blob/

master/README.md.

You should be able to browse what is shown in Figure 10. If you click the button

OPEN IN GOOGLE CLOUD SHELL, then the system will clone the Git repo into

your Cloud Shell and then open the shell (see Figure 11). From there, you can play

with a nice Google Cloud TPU demo for training a ResNet-50 on MNIST with a TPU

Flock – a Compute Engine VM and Cloud TPU pair (see Figure 12). I will leave this

training demo to you, if you are interested in looking it up:

Figure 10: State-of-the-art collection of models pretrained with TPUs available on GitHub

[ 585 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!