  
  class Session():
      """ The Loaded or current training session """
      def __init__(self, model_dir=None, model_name=None):
          logger.debug("Initializing %s", self.__class__.__name__)
          self.serializer = JSONSerializer
          self.state = None
          self.modeldir = model_dir  # Set and reset by wrapper for training sessions
          self.modelname = model_name  # Set and reset by wrapper for training sessions
          self.tb_logs = None
 
</s> remove                              "iterations": ts_data["iterations"]})
 </s> add                              "iterations": iterations}) </s> remove                                 "iterations": len(timestamps)}
 </s> add                                 "datapoints": len(timestamps)} </s> remove                              "rate": (batchsize * ts_data["iterations"]) / elapsed,
 </s> add                              "rate": (batchsize * iterations) / elapsed,
        logger.debug("Initializing %s, model_dir: %s, model_name: %s)",
                     self.__class__.__name__, model_dir, model_name)
  
  class Session():
      """ The Loaded or current training session """
      def __init__(self, model_dir=None, model_name=None):
        logger.debug("Initializing %s, model_dir: %s, model_name: %s)",
                     self.__class__.__name__, model_dir, model_name)
          self.serializer = JSONSerializer
          self.state = None
          self.modeldir = model_dir  # Set and reset by wrapper for training sessions
          self.modelname = model_name  # Set and reset by wrapper for training sessions
          self.tb_logs = None
keep keep keep keep replace keep keep keep keep keep
 Bugfix: GUI Analysis - Correctly report iterations and rate 
lib/gui/stats.py