          self._stop = False
          self._save_now = False
          self._toggle_preview_mask = False
          self._refresh_preview = False
          self._preview_buffer = dict()
          self._lock = Lock()
  
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def _get_images(self):
 
</s> remove             image_dir = getattr(self._args, "input_{}".format(side))
 </s> add             image_dir = getattr(self._args, f"input_{side}") </s> remove         images = dict()
 </s> add         images = {}
        self._preview_buffer = {}
          self._stop = False
          self._save_now = False
          self._toggle_preview_mask = False
          self._refresh_preview = False
        self._preview_buffer = {}
          self._lock = Lock()
  
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def _get_images(self):
keep keep keep keep replace keep keep keep keep keep
 training - Enable resize in popup preview image 
scripts/train.py