              layer = [layer for layer in new_model.layers if layer.name == layer_name]
              if not layer:
                  continue
              layer = layer[0]
              logger.info("Updating legacy weights from '%s'...", model_name)
              layer.set_weights(old_model.get_weights())
          filename = self._io._filename  # pylint:disable=protected-access
 
</s> remove             logger.info("Updating legacy weights from '%s'...", model_name)
 </s> add  </s> remove         if self.config["penalized_mask_loss"] and self.config["mask_type"] is None:
 </s> add         if self.config["mask_type"] is None: </s> remove                      size, points, dilation, blur_kernel)
 </s> add                      self.__class__.__name__, size, points, dilation, blur_kernel)
                logger.warning("Skipping legacy weights from '%s'...", model_name)
              layer = [layer for layer in new_model.layers if layer.name == layer_name]
              if not layer:
                logger.warning("Skipping legacy weights from '%s'...", model_name)
                  continue
              layer = layer[0]
              logger.info("Updating legacy weights from '%s'...", model_name)
              layer.set_weights(old_model.get_weights())
          filename = self._io._filename  # pylint:disable=protected-access
keep add keep keep keep keep keep
 Bugfixes:
  - dfl_h128 Legacy Weights update
  - lib.faces_detect - Logging fix 
plugins/train/model/_base.py