def _init_losses(self, **kwargs):
    super()._init_losses(**kwargs)
    self.register_loss(layers.AccuracyScore(), name='acc_s', weight=None)
    self.register_loss(layers.AccuracyScore(), name='acc_t', weight=None)
def _init_losses(self, **kwargs):
    super()._init_losses(**kwargs)
    self.register_loss(layers.AccuracyScore(), name='acc_s', weight=None)
    self.register_loss(layers.AccuracyScore(), name='acc_t', weight=None)