Using TensorFlow’s Batch Normalization Correctly

The TensorFlow library’s layers API contains a function for batch normalization: tf.layers.batch_normalization. It is supposedly as easy to use as all the other tf.layers functions, however, it has some pitfalls. This post explains how to use tf.layers.batch_normalization correctly. It does not delve into what batch normalization is, which can be looked up in the paper “Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift” by Ioeffe and Szegedy (2015). Continue reading Using TensorFlow’s Batch Normalization Correctly

Timœ Goes By: Verifying the Age Estimator How-Old.net

how-old.net is a project from Microsoft that guesses the age of people on a photo based on their faces. I have tested it with an image that consists of 21 photos. Each photo was taken around the time of my n-th birthday, so the ideal classification would label them as 0, 1, 2, …, 20. Let’s see what how-old.net comes up with. Continue reading Timœ Goes By: Verifying the Age Estimator How-Old.net