Omar Jamil

science * data

Tools

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 https://www.tensorflow.org/tutorials/quickstart/advanced . 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…

Where I work, the compute clusters have been upgraded to RedHat Eneterprise Linux 7 (RHEL7). I therefore needed to rebuild Tensorflow. I have to build because the standard pip install binaries do not work on these systems as the glibc version is 2.17 on RHEL 7 while Tensorflow >= v1.14 need glibc 2.23. (See my RHEL6 post)

Recent posts

See more

About

A scientist using Machine Learning to do Physics