code: def on_train_begin(self, logs):
          
          self.train_start = timeit.default_timer()
          self.metrics_names = self.model.metrics_names
          print('Training for {} steps ...'.format(self.params['nb_steps']))
docs: Print training values at beginning of training