

After installation, whenever you find a Jupyter notebook in GitHub, click the icon of the plugin and it will open in Colab. The markdown code to insert into the README.md file is: The notebook carries an “Open in Colab” badge, which allows you to open it directly on Google Colab.Go to switch to the GitHub tab and enter the URL of the notebook.To open a notebook hosted on GitHub, there are 3 options: LINK COLAB TO GITHUB Open a GitHub file under Colab: You can easily check if the GPU is enabled by executing the following code: import tensorflow as tf tf.test.gpu_device_name() 6.

However you can enable GPU (and even TPU) support for more computationally demanding tasks like Deep Learning.Ĭlick on: “Runtime” → “Change runtime type” → “Hardware accelerator”. The default hardware of Google Colab is CPU. ⚠️ Be aware the files will disapear as soon as you leave Google Colab. To download a file, run: from lab import files files.download('path/to/your/file')Īnother way to do this is to use the file explorer on the left panel, with drags & drops. To upload a file (or several) from your computer, run: from lab import files files.upload()
