      """
      original_traceback = traceback.format_exc()
      path = os.path.dirname(os.path.realpath(sys.argv[0]))
      filename = os.path.join(path, datetime.now().strftime("crash_report.%Y.%m.%d.%H%M%S%f.log"))
      freeze_log = list(_debug_buffer)
      try:
          from lib.sysinfo import sysinfo  # pylint:disable=import-outside-toplevel
      except Exception:  # pylint:disable=broad-except
          sysinfo = ("\n\nThere was an error importing System Information from lib.sysinfo. This is "
                     "probably a bug which should be fixed:\n{}".format(traceback.format_exc()))
 
</s> remove         in Conda """
 </s> add         in Conda.

        This was used whilst Tensorflow 2.2 was not available for Windows in Conda. It is kept
        here in case it is required again in the future.
        """ </s> remove         min_ver = 2.2
        max_ver = 2.2
 </s> add         min_ver = 2.3
        max_ver = 2.3 </s> remove         loss = np.array(loss, dtype="float32")
        timestamps = np.array(timestamps, dtype="float64")
 </s> add         try:
            loss = np.array(loss, dtype="float32")
        except ValueError as err:
            # When collecting live loss, the current batch may not be completely populated
            # Carry over the last loss to the next collection
            if "setting an array element with a sequence" in str(err):
                carry_over = loss[-1]
                logger.debug("Carrying over data: (carry_over: %s, new loss: %s)",
                             carry_over, loss[:-1])
                loss = np.array(loss[:-1], dtype="float32")
            else:
                raise </s> remove _old_factory = logging.getLogRecordFactory()
 </s> add _OLD_FACTORY = logging.getLogRecordFactory()
    freeze_log = list(_DEBUG_BUFFER)
      """
      original_traceback = traceback.format_exc()
      path = os.path.dirname(os.path.realpath(sys.argv[0]))
      filename = os.path.join(path, datetime.now().strftime("crash_report.%Y.%m.%d.%H%M%S%f.log"))
    freeze_log = list(_DEBUG_BUFFER)
      try:
          from lib.sysinfo import sysinfo  # pylint:disable=import-outside-toplevel
      except Exception:  # pylint:disable=broad-except
          sysinfo = ("\n\nThere was an error importing System Information from lib.sysinfo. This is "
                     "probably a bug which should be fixed:\n{}".format(traceback.format_exc()))
keep keep keep keep replace keep keep keep keep keep
 Update to TF2.3 (#1100)

* Minimum requirements to tf2.3.
  - Handle upgrades for Windows users with tf2.2 installed by Pip
  - Handle windows upgrade from pip tf2.2
  - Explicitly install Cuda for Conda installs

* Update tensorflow errors api reference
* Suppress AutoGraph warning messages
* Update GUI Stats to work with tf2.3
* Fix live graph for tf2.3
* DSSIMObjective - autoGraph bugfix
* Update Travis test 
lib/logger.py