              The detected face object that holds the masks
          area: str
              `"eye"` or `"mouth"`. The area of the face to obtain the mask for
          """
          if not self._config["penalized_mask_loss"] or int(self._config[f"{area}_multiplier"]) <= 1:
              return None
          mask = detected_face.get_landmark_mask(area, self._size // 16, self._size // 32)
          logger.trace("Caching localized '%s' mask for: %s %s",  # type: ignore
                       area, filename, mask.shape)
          return mask
 
</s> remove         mask.set_blur_and_threshold(blur_kernel=int(self._config["mask_blur_kernel"]),
                                    threshold=int(self._config["mask_threshold"]))
 </s> add         assert isinstance(self._config["mask_blur_kernel"], int)
        assert isinstance(self._config["mask_threshold"], int)
        mask.set_blur_and_threshold(blur_kernel=self._config["mask_blur_kernel"],
                                    threshold=self._config["mask_threshold"]) </s> remove     @classmethod
    def _compile_masked(cls, faces: List[np.ndarray], masks: np.ndarray) -> List[np.ndarray]:
 </s> add     def _compile_masked(self, faces: List[np.ndarray], masks: np.ndarray) -> List[np.ndarray]:
        multiplier = self._config[f"{area}_multiplier"]
        assert isinstance(multiplier, int)
        if not self._config["penalized_mask_loss"] or multiplier <= 1:
              The detected face object that holds the masks
          area: str
              `"eye"` or `"mouth"`. The area of the face to obtain the mask for
          """
        multiplier = self._config[f"{area}_multiplier"]
        assert isinstance(multiplier, int)
        if not self._config["penalized_mask_loss"] or multiplier <= 1:
              return None
          mask = detected_face.get_landmark_mask(area, self._size // 16, self._size // 32)
          logger.trace("Caching localized '%s' mask for: %s %s",  # type: ignore
                       area, filename, mask.shape)
          return mask
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 
lib/training/cache.py