          if self._args.preview:
              logger.info("  Using live preview")
          if sys.stdout.isatty():
              logger.info("  Press '%s' to save and quit",
                      "Stop" if self._args.redirect_gui or self._args.colab else "ENTER")
          if not self._args.redirect_gui and not self._args.colab and sys.stdout.isatty():
              logger.info("  Press 'S' to save model weights immediately")
          logger.info("===================================================")
  
          keypress = KBHit(is_gui=self._args.redirect_gui)
 
</s> remove             image_dir = getattr(self._args, "input_{}".format(side))
 </s> add             image_dir = getattr(self._args, f"input_{side}")
                        "Stop" if self._args.redirect_gui or self._args.colab else "ENTER")
          if self._args.preview:
              logger.info("  Using live preview")
          if sys.stdout.isatty():
              logger.info("  Press '%s' to save and quit",
                        "Stop" if self._args.redirect_gui or self._args.colab else "ENTER")
          if not self._args.redirect_gui and not self._args.colab and sys.stdout.isatty():
              logger.info("  Press 'S' to save model weights immediately")
          logger.info("===================================================")
  
          keypress = KBHit(is_gui=self._args.redirect_gui)
keep keep keep keep replace keep keep keep keep keep
 training - Enable resize in popup preview image 
scripts/train.py