20.4. Using Google Colab
Open the notebook in Colab
Open the notebook in Colab
Open the notebook in Colab
Open the notebook in SageMaker Studio Lab

We introduced how to run this book on AWS in Section 20.2 and Section 20.3. Another option is running this book on Google Colab if you have a Google account.

To run the code of a section on Colab, simply click the Colab button as shown in Fig. 20.4.1.

../_images/colab.png

Fig. 20.4.1 Run the code of a section on Colab

If it is your first time to run a code cell, you will receive a warning message as shown in Fig. 20.4.2. Just click “RUN ANYWAY” to ignore it.

../_images/colab-2.png

Fig. 20.4.2 Ignore the warning message by clicking “RUN ANYWAY”.

Next, Colab will connect you to an instance to run the code of this section. Specifically, if a GPU is needed, Colab will be automatically requested for connecting to a GPU instance.

20.4.1. Summary

  • You can use Google Colab to run each section’s code in this book.

  • Colab will be requested to connect to a GPU instance if a GPU is needed in any section of this book.

20.4.2. Exercises

  1. Open any section of this book using Google Colab.

  2. Edit and run any section that requires a GPU using Google Colab.

Discussions