  
          self._feeder = _Feeder(images, self._model, batch_size, self._config)
  
          self._tensorboard = self._set_tensorboard()
          self._samples = _Samples(self._model, self._model.coverage_ratio)
          self._timelapse = _Timelapse(self._model,
                                       self._model.coverage_ratio,
                                       int(self._config.get("preview_images", 14)),
                                       self._feeder,
                                       self._images)
 
</s> remove                                      int(self._config.get("preview_images", 14)),
 </s> add                                      num_images,
                                     cast(int, self._config["mask_opacity"]),
                                     cast(str, self._config["mask_color"]), </s> remove         self._samples = _Samples(model, coverage_ratio)
 </s> add         self._samples = _Samples(model, coverage_ratio, mask_opacity, mask_color) </s> remove                      "feeder: '%s', image_paths: %s)", self.__class__.__name__, model,
                     coverage_ratio, image_count, feeder, len(image_paths))
 </s> add                      "mask_opacity: %s, mask_color: %s, feeder: %s, image_paths: %s)",
                     self.__class__.__name__, model, coverage_ratio, image_count, mask_opacity,
                     mask_color, feeder, len(image_paths)) </s> remove             preview_images = int(self._config.get("preview_images", 14))
            preview_images = min(max(preview_images, 2), 16)
 </s> add             preview_images = min(max(num_images, 2), 16) </s> remove         num_images = min(image_count, int(self._config.get("preview_images", 14)))
 </s> add         num_images = self._config.get("preview_images", 14)
        assert isinstance(num_images, int)
        num_images = min(image_count, num_images)
        self._samples = _Samples(self._model,
                                 self._model.coverage_ratio,
                                 cast(int, self._config["mask_opacity"]),
                                 cast(str, self._config["mask_color"]))

        num_images = self._config.get("preview_images", 14)
        assert isinstance(num_images, int)
  
          self._feeder = _Feeder(images, self._model, batch_size, self._config)
  
          self._tensorboard = self._set_tensorboard()
        self._samples = _Samples(self._model,
                                 self._model.coverage_ratio,
                                 cast(int, self._config["mask_opacity"]),
                                 cast(str, self._config["mask_color"]))

        num_images = self._config.get("preview_images", 14)
        assert isinstance(num_images, int)
          self._timelapse = _Timelapse(self._model,
                                       self._model.coverage_ratio,
                                       int(self._config.get("preview_images", 14)),
                                       self._feeder,
                                       self._images)
keep keep keep keep replace keep keep keep keep keep
 Preview - Allow mask color/opacity configuration
  - typing: lib.config
  - docs: lib.config
  - bugfix: popup_configure - keep assets on top 
plugins/train/trainer/_base.py