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…

I have been developing a machine learning model in Tensorflow 2.0, but because I need to have some custom functionality I am taking a more manual approach instead of full Keras API e.g. see . One thing that was not clear to me was what algorithm does Keras use when you pass in the option metric=['acc'] to model.compile(). It turns out Keras does clever things and works out the appropriate metric based on your data. If you do not want…

Recent posts

See more


A scientist using Machine Learning to do Physics