          placeholder = np.array(placeholder)
          self._previewcache["placeholder"] = placeholder
          logger.debug("Created placeholder. shape: %s", placeholder.shape)
  
      def load_training_preview(self):
          """ Load the training preview images.
  
          Reads the training image currently stored in the cache folder and loads them to
          :attr:`previewtrain` for retrieval in the GUI.
          """
 
</s> remove         logger.debug("Cache shape: %s", self._previewcache["images"].shape)
 </s> add         logger.debug("Cache shape: %s", cast(np.ndarray, self._previewcache["images"]).shape) </s> remove     def previewtrain(self):
 </s> add     def previewtrain(self) -> Dict[str, List[Union[Image.Image, ImageTk.PhotoImage, None, float]]]: </s> remove     def _load_icons():
 </s> add     def _load_icons() -> Dict[str, ImageTk.PhotoImage]: </s> remove     def _place_previews(self, frame_dims):
 </s> add     def _place_previews(self, frame_dims: Tuple[int, int]) -> Image.Image: </s> remove     def _create_placeholder(self, thumbnail_size):
 </s> add     def _create_placeholder(self, thumbnail_size: int) -> None:
    def load_training_preview(self) -> None:
          placeholder = np.array(placeholder)
          self._previewcache["placeholder"] = placeholder
          logger.debug("Created placeholder. shape: %s", placeholder.shape)
  
    def load_training_preview(self) -> None:
          """ Load the training preview images.
  
          Reads the training image currently stored in the cache folder and loads them to
          :attr:`previewtrain` for retrieval in the GUI.
          """
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py