                                       self._feeder,
                                       self._images)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def _get_config(self, configfile: Optional[str]) -> ConfigType:
          """ Get the saved training config options. Override any global settings with the setting
          provided from the model's saved config.
  
          Parameters
          -----------
 
</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     def get_config_file(self, configfile):
        """ Return the config file from the calling folder or the provided file """
 </s> add     def _get_config_file(self, configfile: Optional[str]) -> str:
        """ Return the config file from the calling folder or the provided file

        Parameters
        ----------
        configfile: str or ``None``
            Path to a config file. ``None`` for default location.

        Returns
        -------
        str
            The full path to the configuration file
        """ </s> remove def _get_config(plugin_name: str, configfile: Optional[str] = None) -> ConfigType:
 </s> add def _get_config(plugin_name: str,
                configfile: Optional[str] = None) -> Dict[str, "ConfigValueType"]: </s> remove     def __init__(self, model: "ModelBase", coverage_ratio: float) -> None:
        logger.debug("Initializing %s: model: '%s', coverage_ratio: %s)",
                     self.__class__.__name__, model, coverage_ratio)
 </s> add     def __init__(self,
                 model: "ModelBase",
                 coverage_ratio: float,
                 mask_opacity: int,
                 mask_color: str) -> None:
        logger.debug("Initializing %s: model: '%s', coverage_ratio: %s, mask_opacity: %s, "
                     "mask_color: %s)",
                     self.__class__.__name__, model, coverage_ratio, mask_opacity, mask_color) </s> remove                 setting = legacy_defaults.get(key, val)
 </s> add                 setting: "ConfigValueType" = legacy_defaults.get(key, val)
    def _get_config(self, configfile: Optional[str]) -> Dict[str, "ConfigValueType"]:
                                       self._feeder,
                                       self._images)
          logger.debug("Initialized %s", self.__class__.__name__)
  
    def _get_config(self, configfile: Optional[str]) -> Dict[str, "ConfigValueType"]:
          """ Get the saved training config options. Override any global settings with the setting
          provided from the model's saved config.
  
          Parameters
          -----------
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