Is San Francisco a Better Sports Town than Boston?

As another harsh front berates the eastern seaboard, Massholes everywhere are hunkered down in what they consider to be standard operating procedure. Extreme conditions lead to extreme measures, and…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Get More Out of Google Colab

From using the webcam to running JavaScript to rendering HTML to…

With that out of the way, let’s get into 5 tips and tricks for you to get more out of Google Colab.

Google Colab is a bit flaky sometimes; you can never know when you will disconnect from your runtime. So whenever you’re training a big model, my best advice is to back it up in your Google Drive.

Mounting your Drive is easy:

This will create an authorization link that provides a code for you to paste into the terminal. After that, your Google Drive has successfully been mounted!

You can print a list of your Drive’s contents with:

Putting ! before a terminal command allows you to directly run that command through Google Colab (and Jupyter Notebooks)

Maybe you’re training a model in Keras and want to save it to your Google Drive. Now, this is as easy as:

Add a comment

Related posts:

Breaking up with Slack

Slack was the best and worst part of my day. It helped me communicate with my coworkers, yet kept me from getting any actual work done. It helped me feel important, yet kept me from doing my…

Poetry Picnics

The weekend before Mother’s Day, my family went on a little painting-at-the-park excursion, an experience which I wrote about in ‘Painting the Pandemic.’ Our artistic morning provided a safe — yet…

Least recently used cache in typescript

There are so many way to implementation approaches for implementing least recently used cache in so many languages. If you have came across such question and looking for an answer in typescript then…