How to use Fast.ai on Google Colab in minutes

Below are the steps to setup fast.ai course notebooks on Google Colab.

Following pre-requisite, one time, steps are needed.

  1. Sign up and request access to Google Colab.

  2. Sign up for Clouderizer. By default, you will be on free plan for individual users.

  3. Login to Clouderizer console and go to Community Projects. Search for fast.ai template and clone it.

  4. On project wizard, 2nd tab (machine setup), AWS GPU spot instance is selected as machine type by default. Select Local Machine instead. On all remaining screens, select the default options and save.

Now every time you need to start fast.ai notebooks on google colab GPU, follow below 3 steps

  1. Create a new empty Python 3 notebook in google colab. Go to Edit -> Notebook Setting, and select Hardware Accelerator as GPU.

  2. From Clouderizer console, press Start on fast.ai project created earlier. This will show a script snippet for starting the project on any terminal. Copy the snippet for Linux.

3.Come back to colab notebook, add a new code block, paste the snippet there (prepending with an !), and run the block.

Thats it! This will trigger an automated fast.ai course environment setup, latest code download and dogscats dataset download. You can go back to Clouderizer console and track the progress of this setup. Once setup is complete, project status becomes Running and Jupyter Notebook button becomes available. Clicking on Jupyter button, will open Jupyter notebook with fast.ai github code.

Sort:  

Congratulations @rbhatia46! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.30
TRX 0.12
JST 0.032
BTC 59244.49
ETH 2977.21
USDT 1.00
SBD 3.77