      def __init__(self, *args, **kwargs):
          super().__init__(*args, **kwargs)
          self.input_shape = (128, 128, 3)
  
          self.features = dict(lowmem=0, fair=1, best=2)[self.config["features"]]
          self.encoder_filters = 64 if self.features > 0 else 48
  
          bonum_fortunam = 128
          self.encoder_dim = {0: 512 + bonum_fortunam,
                              1: 1024 + bonum_fortunam,
 
</s> remove         self.details = dict(fast=0, good=1)[self.config["details"]]
 </s> add         self.details = {"fast": 0, "good": 1}[self.config["details"]] </s> remove         kwargs = dict(kernel_initializer=self.kernel_initializer)
 </s> add         kwargs = {"kernel_initializer": self.kernel_initializer} </s> remove         kwargs = dict(kernel_initializer=self.kernel_initializer)
 </s> add         kwargs = {"kernel_initializer": self.kernel_initializer} </s> remove         autoencoder = KerasModel(inputs, outputs, name=self.model_name)
 </s> add         autoencoder = KModel(inputs, outputs, name=self.model_name) </s> remove     def __init__(self, saved_model: keras.models.Model, switch_sides: bool) -> None:
 </s> add     def __init__(self, saved_model: tf.keras.models.Model, switch_sides: bool) -> None:
        self.features = {"lowmem": 0, "fair": 1, "best": 2}[self.config["features"]]
      def __init__(self, *args, **kwargs):
          super().__init__(*args, **kwargs)
          self.input_shape = (128, 128, 3)
  
        self.features = {"lowmem": 0, "fair": 1, "best": 2}[self.config["features"]]
          self.encoder_filters = 64 if self.features > 0 else 48
  
          bonum_fortunam = 128
          self.encoder_dim = {0: 512 + bonum_fortunam,
                              1: 1024 + bonum_fortunam,
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/model/dlight.py