          self._plugin.state.save()
  
          msg = "[Saved models]"
          if save_averages:
              lossmsg = ["face_{}: {:.5f}".format(side, avg)
                         for side, avg in zip(("a", "b"), save_averages)]
              msg += " - Average loss since last save: {}".format(", ".join(lossmsg))
          logger.info(msg)
  
      def _get_save_averages(self):
 
</s> remove             msg += " - Average loss since last save: {}".format(", ".join(lossmsg))
 </s> add             msg += f" - Average loss since last save: {', '.join(lossmsg)}" </s> remove         msg += " {}".format(additional_info)
 </s> add         msg += f" {additional_info}" </s> remove         inputs = [Input(shape=shape, name="face_in_{}".format(side))
 </s> add         inputs = [Input(shape=shape, name=f"face_in_{side}") </s> remove     msg = "{}  has been deprecated and will be removed from a future update.".format(function)
 </s> add     msg = f"{function}  has been deprecated and will be removed from a future update." </s> remove             msg = "Displaying {}".format(self.tabname)
 </s> add             msg = f"Displaying {self.tabname}"
            lossmsg = [f"face_{side}: {avg:.5f}"
          self._plugin.state.save()
  
          msg = "[Saved models]"
          if save_averages:
            lossmsg = [f"face_{side}: {avg:.5f}"
                         for side, avg in zip(("a", "b"), save_averages)]
              msg += " - Average loss since last save: {}".format(", ".join(lossmsg))
          logger.info(msg)
  
      def _get_save_averages(self):
keep keep keep keep replace keep keep keep keep keep
 Update code to support Tensorflow versions up to 2.8 (#1213)

* Update maximum tf version in setup + requirements

* - bump max version of tf version in launcher
- standardise tf version check

* update keras get_custom_objects  for tf>2.6

* bugfix: force black text in GUI file dialogs (linux)

* dssim loss - Move to stock tf.ssim function

* Update optimizer imports for compatibility

* fix logging for tf2.8

* Fix GUI graphing for TF2.8

* update tests

* bump requirements.txt versions

* Remove limit on nvidia-ml-py

* Graphing bugfixes
  - Prevent live graph from displaying if data not yet available

* bugfix: Live graph. Collect loss labels correctly

* fix: live graph - swallow inconsistent loss errors

* Bugfix: Prevent live graph from clearing during training

* Fix graphing for AMD 
plugins/train/model/_base.py