              logger.info("Loading data, this may take a while...")
              model = self._load_model()
              trainer = self._load_trainer(model)
              self._run_training_cycle(model, trainer)
          except KeyboardInterrupt:
              try:
                  logger.debug("Keyboard Interrupt Caught. Saving Weights and exiting")
                  model.io.save(is_exit=True)
 
</s> remove                 model.save(is_exit=True)
 </s> add                 model.io.save(is_exit=True) </s> remove                 msg = (f"Unable to load the model from '{self._filename}'. This may be a "
 </s> add                 msg = (f"Unable to load the model from '{self.filename}'. This may be a " </s> remove             model = kmodels.load_model(self._filename, compile=False)
 </s> add             model = kmodels.load_model(self.filename, compile=False) </s> remove                 msg = (f"Unable to load the model from '{self._filename}'. This may be a "
 </s> add                 msg = (f"Unable to load the model from '{self.filename}'. This may be a " </s> remove             self._plugin.model.save(self._filename, include_optimizer=include_optimizer)
 </s> add             self._plugin.model.save(self.filename, include_optimizer=include_optimizer)
            if trainer.exit_early:
                self._stop = True
                return
              logger.info("Loading data, this may take a while...")
              model = self._load_model()
              trainer = self._load_trainer(model)
            if trainer.exit_early:
                self._stop = True
                return
              self._run_training_cycle(model, trainer)
          except KeyboardInterrupt:
              try:
                  logger.debug("Keyboard Interrupt Caught. Saving Weights and exiting")
                  model.io.save(is_exit=True)
keep keep add 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 
scripts/train.py