This is a TF callback that calls
on_epoch_end is triggered.
I know that
bob.bio.base would be a better fit for it, but I didn't want to impose a TF dependency on it.
Since this is, so far, used only for face recognition, I'm adding this here