def on_step_end(self, step, logs):
if self.info_names is None:<EOL><INDENT>self.info_names = logs['<STR_LIT:info>'].keys()<EOL><DEDENT>values = [('<STR_LIT>', logs['<STR_LIT>'])]<EOL>if KERAS_VERSION > '<STR_LIT>':<EOL><INDENT>self.progbar.update((self.step % self.interval) + <NUM_LIT:1>, values=values)<EOL><DEDENT>else:<EOL><INDENT>self.progbar.update((self.step % self.interval) + <NUM_LIT:1>, values=values, force=True)<EOL><DEDENT>self.step += <NUM_LIT:1><EOL>self.metrics.append(logs['<STR_LIT>'])<EOL>if len(self.info_names) > <NUM_LIT:0>:<EOL><INDENT>self.infos.append([logs['<STR_LIT:info>'][k] for k in self.info_names])<EOL><DEDENT>
Update progression bar at the end of each step