0% found this document useful (0 votes)
266 views7 pages

Colab Instructions

To run Jupyter Notebooks on Google Colab, you need to: 1. Download course material from a GitHub repository, unzip the folder, and ensure it has the correct directory structure. 2. Create a Google Drive account if you don't already have one. 3. Add the Colab app to your Google Drive and upload only the "dlpython" folder containing source and data subdirectories.

Uploaded by

Muzammal Hussain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
266 views7 pages

Colab Instructions

To run Jupyter Notebooks on Google Colab, you need to: 1. Download course material from a GitHub repository, unzip the folder, and ensure it has the correct directory structure. 2. Create a Google Drive account if you don't already have one. 3. Add the Colab app to your Google Drive and upload only the "dlpython" folder containing source and data subdirectories.

Uploaded by

Muzammal Hussain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

In order to run Jupyter Notebooks on Google Colab you need:

1. Download the course material


2. Set up a Google Drive account (if you have gmail or Google account, you already
have access to Google drive)
3. Add Colab app to your Google Drive
4. Upload “dlpython” with course material to Google Drive

1. Download the course data

• Go to: https://github.com/alexjungaalto/DeepLearningPython
• Go to “Code” à “Download ZIP”

• Unzip the folder


• Make sure that folder structure is:

2. Create Gmail/ Google account

• Go to: https://www.google.com/intl/en/gmail/about/ or
https://support.google.com/accounts/answer/27441?hl=en
• Follow instructions
3. Adding Colab app to Google Drive
After setting up your Google account or Gmail account you will need to add Colaboratory
application to your Google Drive:

• Settings

• Manage apps à Connect more apps

• Search and install Colaboratory


3. Uploading the course material to Google Drive

• New à folder upload


NB! Upload only folder containing `source` and `data` subdirectories.

• NB! Rename your folder to “dlpython”

• Make sure that directory structure is: My Drive à dlpython, e.g.:


• Open jupyter notebook ( _colab.ipynb file) in Colab.

How to mount Google Drive (R4 & R5)

• Run the code

• Open the link


• Choose the drive

• Click “Allow”

• Copy the code (NB! Use Ctrl-C Ctrl-V, NOT copy icon)
• Paste the code, press Enter

• Check that drive is mounted

How to connect to GPU

• Go to “Runtime” tab and choose “Change running type”


• Select GPU option

Rescources:

Colab video tutorial - https://www.youtube.com/watch?v=inN8seMm7UI


Colab notebook - https://colab.research.google.com/notebooks/welcome.ipynb

You might also like