          """ Format ERROR Text """
          global INSTALL_FAILED  # pylint:disable=global-statement
          trm = "ERROR   "
          if self.term_support_color:
              trm = "{}ERROR  {} ".format(self.red, self.default_color)
          print(trm + self.__indent_text_block(text))
          INSTALL_FAILED = True
  
  
  class Checks():
 
</s> remove             trm = "{}WARNING{} ".format(self.yellow, self.default_color)
 </s> add             trm = f"{self.yellow}WARNING{self.default_color} " </s> remove             trm = "{}INFO   {} ".format(self.green, self.default_color)
 </s> add             trm = f"{self.green}INFO   {self.default_color} " </s> remove         base_config = super(ReflectionPadding2D, self).get_config()
 </s> add         base_config = super().get_config() </s> remove         base_config = super(ICNR, self).get_config()
 </s> add         base_config = super().get_config() </s> remove         base_config = super(_GlobalPooling2D, self).get_config()
 </s> add         base_config = super().get_config()
            trm = f"{self.red}ERROR  {self.default_color} "
          """ Format ERROR Text """
          global INSTALL_FAILED  # pylint:disable=global-statement
          trm = "ERROR   "
          if self.term_support_color:
            trm = f"{self.red}ERROR  {self.default_color} "
          print(trm + self.__indent_text_block(text))
          INSTALL_FAILED = True
  
  
  class Checks():
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 
setup.py