  
          encoder_complexity = self.config["complexity_encoder"]
  
          for idx in range(self.downscalers_no - 1):
              var_x = Conv2DBlock(encoder_complexity * 2**idx, activation="leakyrelu")(var_x)
              var_x = ResidualBlock(encoder_complexity * 2**idx, use_bias=True)(var_x)
              var_x = ResidualBlock(encoder_complexity * 2**idx, use_bias=True)(var_x)
  
          var_x = Conv2DBlock(encoder_complexity * 2**(idx + 1), activation="leakyrelu")(var_x)
  
 
</s>
            var_x = Conv2DBlock(encoder_complexity * 2**idx, activation=None)(var_x)
            var_x = LeakyReLU(alpha=0.2)(var_x)
  
          encoder_complexity = self.config["complexity_encoder"]
  
          for idx in range(self.downscalers_no - 1):
            var_x = Conv2DBlock(encoder_complexity * 2**idx, activation=None)(var_x)
            var_x = LeakyReLU(alpha=0.2)(var_x)
              var_x = ResidualBlock(encoder_complexity * 2**idx, use_bias=True)(var_x)
              var_x = ResidualBlock(encoder_complexity * 2**idx, use_bias=True)(var_x)
  
          var_x = Conv2DBlock(encoder_complexity * 2**(idx + 1), activation="leakyrelu")(var_x)
  
keep keep keep keep replace keep keep keep keep keep
 Fixups:
  - lib.gui.display - Catch error when trying to delete non-existant notebook tabs
  - lib.model.nn_blocks.ResidualBlock: Remove first LeakyReLU (explicit > implicit)
  - lib.model.nn_blocks._get_default_initializer - Always use ConvAware if selected
  - plugins.model.model - Add explicit leakyReLUs for ResBlocks
plugins/train/model/realface.py