                       "mask_color: %s)",
                       self.__class__.__name__, model, coverage_ratio, mask_opacity, mask_color)
          self._model = model
          self._display_mask = model.config["learn_mask"] or model.config["penalized_mask_loss"]
          self.images: Dict[Literal["a", "b"], List[np.ndarray]] = {}
          self._coverage_ratio = coverage_ratio
          self._mask_opacity = mask_opacity / 100.0
          self._mask_color = np.array(hex_to_rgb(mask_color))[..., 2::-1] / 255.
          logger.debug("Initialized %s", self.__class__.__name__)
  
 
</s> remove         feeds: Dict[Literal["a", "b"], np.ndarray] = {}
 </s> add         feeds: T.Dict[Literal["a", "b"], np.ndarray] = {} </s> remove                  configfile: Optional[str]) -> None:
 </s> add                  configfile: T.Optional[str]) -> None: </s> remove                  image_paths: Dict[Literal["a", "b"], List[str]]) -> None:
 </s> add                  image_paths: T.Dict[Literal["a", "b"], T.List[str]]) -> None: </s> remove         retval: Dict[Literal["a", "b"], List[np.ndarray]] = {}
 </s> add         retval: T.Dict[Literal["a", "b"], T.List[np.ndarray]] = {} </s> remove                  model: "ModelBase",
                 images: Dict[Literal["a", "b"], List[str]],
 </s> add                  model: ModelBase,
                 images: T.Dict[Literal["a", "b"], T.List[str]],
        self.images: T.Dict[Literal["a", "b"], T.List[np.ndarray]] = {}
                       "mask_color: %s)",
                       self.__class__.__name__, model, coverage_ratio, mask_opacity, mask_color)
          self._model = model
          self._display_mask = model.config["learn_mask"] or model.config["penalized_mask_loss"]
        self.images: T.Dict[Literal["a", "b"], T.List[np.ndarray]] = {}
          self._coverage_ratio = coverage_ratio
          self._mask_opacity = mask_opacity / 100.0
          self._mask_color = np.array(hex_to_rgb(mask_color))[..., 2::-1] / 255.
          logger.debug("Initialized %s", self.__class__.__name__)
  
keep keep keep keep replace keep keep keep keep keep
 Remove plaidML support (#1325)

* Remove PlaidML reference from readme files

* Remove AMD option from installers

* remove amd requirements and update setup.py

* remove plaidml test from CI workflow

* gpustats: remove plaidml backend

* plaid removals:
  - faceswap.py - python version check
  - setup.cfg - plaidml typing ignore
  - lib.keras_utils - All plaid code
  - lib.launcher.py - All plaidml checks and configuration

* remove tf2.2 specific code from GUI event reader

* lib.model - remove all plaidml implementations

* plugins.extract - remove plaidml code

* plugins.train remove plaidml code

* lib.convert - remove plaidml code

* tools.model: remove plaidml code

* Remove plaidML tests from unit tests

* remove plaidml_utils and docsting cleanups

* Remove plaidML refs from configs

* fix keras imports 
plugins/train/trainer/_base.py