          logger.debug("Initializing %s: (session: %s)", self.__class__.__name__, session)
          self.session = session
          logger.debug("Initialized %s", self.__class__.__name__)
  
      @property
      def iterations(self):
          """ Return session iterations sizes """
          return {int(sess_id): sess["iterations"]
                  for sess_id, sess in self.session.state["sessions"].items()}
  
      @property
      def time_stats(self):
          """ Return session time stats """
          ts_data = self.session.tb_logs.get_timestamps()
          time_stats = {sess_id: {"start_time": min(timestamps),
 
</s> remove                                 "end_time": max(timestamps)}
 </s> add                                 "end_time": max(timestamps),
                                "iterations": len(timestamps)} </s> remove             iterations = self.iterations[sess_idx]
 </s> add  </s> remove                              "iterations": iterations})
 </s> add                              "iterations": ts_data["iterations"]}) </s> remove                              "rate": (batchsize * iterations) / elapsed,
 </s> add                              "rate": (batchsize * ts_data["iterations"]) / elapsed,
          logger.debug("Initializing %s: (session: %s)", self.__class__.__name__, session)
          self.session = session
          logger.debug("Initialized %s", self.__class__.__name__)
  






      @property
      def time_stats(self):
          """ Return session time stats """
          ts_data = self.session.tb_logs.get_timestamps()
          time_stats = {sess_id: {"start_time": min(timestamps),
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 [GUI][Bugfix] Analysis tab - display correct stats for current session 
lib/gui/stats.py