                  break
              if output:
                  if self._command != "train" and self._capture_tqdm(output):
                      continue
                  if self._command == "train" and output.startswith("Reading training images"):
                      print(output.strip(), file=sys.stdout)
                      continue
                  if os.name == "nt" and "Call to CreateProcess failed. Error code: 2" in output:
                      # Suppress ptxas errors on Tensorflow for Windows
                      logger.debug("Suppressed call to subprocess error: '%s'", output)
                      continue
 
</s> remove         filename = self._io._filename  # pylint:disable=protected-access
 </s> add         filename = self._io.filename </s> remove         if "[saved models]" not in output.strip().lower():
 </s> add         t_output = output.strip().lower()
        if "[saved model]" not in t_output or t_output.endswith("[saved model]"):
            # Not a saved model line or saving the model for a reason other than standard saving </s> remove             output = get_folder(os.path.join(str(self._model.model_dir),
 </s> add             output = get_folder(os.path.join(str(self._model.io.model_dir), </s> remove             old_model: tf.keras.models.Model = load_model(os.path.join(archive_dir, model_name),
                                                          compile=False)
 </s> add             old_model: tf.keras.models.Model = keras.models.load_model(
                os.path.join(archive_dir, model_name),
                compile=False)
                if self._process_training_determinate_function(output):
                  break
              if output:
                  if self._command != "train" and self._capture_tqdm(output):
                      continue
                if self._process_training_determinate_function(output):
                if self._process_training_determinate_function(output):
                      continue
                  if os.name == "nt" and "Call to CreateProcess failed. Error code: 2" in output:
                      # Suppress ptxas errors on Tensorflow for Windows
                      logger.debug("Suppressed call to subprocess error: '%s'", output)
                      continue
keep keep keep keep replace replace keep keep keep keep keep
 Learning Rate finder (#1341)

* Add LR Finder support structure

* Move trainer.Feeder to lib.training.generator

* Expose model.io

* Add lr_finder

* Update docs and locales

* Pre-PR fixups
  - Fix training graph not displaying
  - CI fixes
  - Switch lr finder progress to tqdm
  - Exit lr finder early on NaN
  - Display lr finder progress in GUI 
lib/gui/wrapper.py