Omar Jamil

science * data

Omar Jamil

Due to work restrictions, I have been using Tensorflow CPU version for all of my development. However, with model training taking several hours, I have been fininding the development cycle a bit slow. I was therefore on the lookout for some GPU machines that I could try and see what speedup I got. Google Colab is a great free resource for development and even model training on GPUs (and TPUs). I have been using Tensorflow 2.0 and that is going to be the default enviroment on Colab soon. In the mean time you can make sure it picks that by using jupyter magic command:

%tensorflow_version 2.x

Then go ahead and import the libraries you want. As for data for training and model outputs e.g. checkpoints, you can save them in Google Drive. You just have to mount your drive first:

from google.colab import drive

I have to say, it is great to see Google providing such resources for free. It is making coding and machine learning development that much more accessible.

Python Development with Kite

While discussing tools, I also want to mention another python development tool, Kite. It is a plugin for most of the major code editors (no Emacs though!) and useful autocomplete and documentation functionality.

Recent posts

See more


A scientist using Machine Learning to do Physics