  
  class Config(FaceswapConfig):
      """ Config File for Models """
      # pylint: disable=too-many-statements
      def set_defaults(self):
          """ Set the default values for config """
          logger.debug("Setting defaults")
          self._set_globals()
          self._set_loss()
          self._defaults_from_plugin(os.path.dirname(__file__))
 
</s> remove     def _set_globals(self):
 </s> add     def _set_globals(self) -> None: </s> remove     def _set_loss(self):
 </s> add     def _set_loss(self) -> None:
        # pylint:disable=line-too-long </s> remove         MAE https://heartbeat.fritz.ai/5-regression-loss-functions-all-machine
            -learners-should-know-4fb140e9d4b0
        MSE https://heartbeat.fritz.ai/5-regression-loss-functions-all-machine
            -learners-should-know-4fb140e9d4b0
        LogCosh https://heartbeat.fritz.ai/5-regression-loss-functions-all-machine
                -learners-should-know-4fb140e9d4b0
 </s> add         MAE https://heartbeat.fritz.ai/5-regression-loss-functions-all-machine-learners-should-know-4fb140e9d4b0
        MSE https://heartbeat.fritz.ai/5-regression-loss-functions-all-machine-learners-should-know-4fb140e9d4b0
        LogCosh https://heartbeat.fritz.ai/5-regression-loss-functions-all-machine-learners-should-know-4fb140e9d4b0 </s> remove         """
 </s> add         """  # noqa
        # pylint:enable=line-too-long
    def set_defaults(self) -> None:
  
  class Config(FaceswapConfig):
      """ Config File for Models """
      # pylint: disable=too-many-statements
    def set_defaults(self) -> None:
          """ Set the default values for config """
          logger.debug("Setting defaults")
          self._set_globals()
          self._set_loss()
          self._defaults_from_plugin(os.path.dirname(__file__))
keep keep keep keep replace keep keep keep keep keep
 Training updates
  - Add multiple selected loss functions
  - Unlock loss as a model configuration
  - Phaze-A remove encoder scaling max xap 
plugins/train/_config.py