28

What are use cases of using Google Colab?, I mean i understand it gels well with Tensorflow, but why will someone prefer it over Jupyter notebook?

1

5 Answers 5

36

My reasons for using Colab

  • Work from any computers. All notebooks are saved in Google Drive.
  • Don't need to worry that conda create env will clutter your directories
  • Share to someone, or everyone easily. Just like a Google Doc.
  • Automatic history and versioning
  • Free GPU (and TPU as of 2018-09-29)
  • Form widgets are simple and easier to use
  • Good defaults
    • %matplotlib inline not needed
    • collapsible outline (no need to install)
    • Cleaner interface (I prefer it than vanilla Jupyter)
2
  • 2
    is the collapsible outline actually some notebook extension that may be also locally installed?
    – matanox
    Aug 24, 2018 at 12:10
  • 2
    @matanster Yes, it's called "Collapsible headings". It's available as a Notebook extension that you can install.
    – korakot
    Aug 24, 2018 at 17:54
13

I am in a non-programming job, and I don't want to install everything on my work computer to get it set up for Jupyter. With Google Colab, I can just start working without having to do any installation and share my scripts with non-technical co-workers who wouldn't be able to install anything themselves.

11

As the name suggests, Google Colab comes with collaboration backed in the product. It also runs on Google servers and you don’t need to install anything. Moreover, the notebooks are saved to your Google Drive account.

If you’re just playing around or working on personal projects, Jupyter will work fine. If you want to build commercial-grade models and deploy them to production, Codelab provides the full-lifecycle approach that you’d need.

Saves to Google Drive which allows you to also share and have multiple people work on the same document at once.Collapsible section and section tree. Interactive widgets like sliders.

Scratch cell: A cell to run test code but which isn’t saved in your notebook. Code snippets

pdb debugger support

However the runtime is a lot more restrained as Jupyter is just a web UI to a machine on which you may actually install anything you need

Google Codelab is a full-lifecycle workbench that helps you build/deploy/scale your models in a way that notebooks alone can’t.

With Codelab, you can prototype your model locally with scikit-learn or TensorFlow and then move it to/train it in the cloud with a huge dataset.

While Jupyter is the open source project on which Colaboratory is based. Colaboratory allows you to use and share Jupyter notebooks with others without having to download, install, or run anything on your own computer other than a browser.

On top of that, it has a whole selection of libraries for interacting with other cloud services, especially BigQuery.

4

Better still, you have 12 hours continuous access to a GPU for free! This really comes in handy for dappling in data Science especially in under resourced communities.

0
  • Colab works best for entry level developers to get started without having to install anything.
  • Colab is the choice if you want to share notebook files with people who may not have proper software installed on their devices. Ease of sharing comes at reduced data security. If you are working with confidential data, Jupyter Notebook gives you more control in restricting access to notebook and data.

Not the answer you're looking for? Browse other questions tagged or ask your own question.