Skip to content

How to prepare your PC for the hands-on session

Choose your method

  • Method 1: Easy to get started. Editing might be slightly cumbersome.
  • Method 2: Need extra time to get started. Editing should be more comfortable.

Method 1: Google Colab (Browser) Only

What you need to have

  • Google Account

Method 2: VSCode + Google Colab

VSCode + Google Colab

What you need to have

  • Google Account
  • VSCode installed on your PC

Install Colab Extension in VSCode

See https://developers.googleblog.com/google-colab-is-coming-to-vs-code/

  • Click Extension Icon on the Activity Bar of VSCode
  • Type Colab in the search box
  • Select Colab extension by Google ➡ Install
    • Avoid similar extensions by other vendors.
  • Type Ctrl+, to open the Settings
    • Or, click 🛞 Wheel Icon on the Activity Bar ➡ Settings
  • Type Colab in the search box
  • Check all boxes for the experimental features of Colab Extension
    • Colab: Activity Bar
    • Colab: Server Mounting
    • Colab: Terminal
    • Colab: Uploading

Connect to Google Colab

  • Download welcome.ipynb to your PC
  • Open the notebook using VSCode
  • Follow the instruction in the notebook

When you lost a connection to Colab Server

  • Close VSCode and restart it
  • Open the Welcome notebook and repeat the connection steps
  • Repeat the step 2 of Set up geniie-lab