          """ Return session time stats """
          ts_data = self.session.tb_logs.get_timestamps()
          time_stats = {sess_id: {"start_time": min(timestamps),
                                  "end_time": max(timestamps),
                                  "iterations": len(timestamps)}
                        for sess_id, timestamps in ts_data.items()}
          return time_stats
  
      @property
      def sessions_stats(self):
 
</s> remove                              "iterations": ts_data["iterations"]})
 </s> add                              "iterations": iterations}) </s> remove         logger.debug("Initializing %s", self.__class__.__name__)
 </s> add         logger.debug("Initializing %s, model_dir: %s, model_name: %s)",
                     self.__class__.__name__, model_dir, model_name) </s> remove                              "rate": (batchsize * ts_data["iterations"]) / elapsed,
 </s> add                              "rate": (batchsize * iterations) / elapsed,
                                "datapoints": len(timestamps)}
          """ Return session time stats """
          ts_data = self.session.tb_logs.get_timestamps()
          time_stats = {sess_id: {"start_time": min(timestamps),
                                  "end_time": max(timestamps),
                                "datapoints": len(timestamps)}
                        for sess_id, timestamps in ts_data.items()}
          return time_stats
  
      @property
      def sessions_stats(self):
keep keep keep keep replace keep keep keep keep keep
 Bugfix: GUI Analysis - Correctly report iterations and rate 
lib/gui/stats.py