From c1b5cc92af60963a31965234bf44634dc24b7e7a Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Tue, 17 Feb 2026 17:43:57 +0100 Subject: [PATCH] fix typo in 7562317d --- src/eynollah/training/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eynollah/training/train.py b/src/eynollah/training/train.py index 87b3551..fbbf920 100644 --- a/src/eynollah/training/train.py +++ b/src/eynollah/training/train.py @@ -360,7 +360,7 @@ def run(_config, if task == "enhancement": assert not is_loss_soft_dice, "for enhancement, soft_dice loss does not apply" - assert not weighted_dice, "for enhancement, weighted loss does not apply" + assert not weighted_loss, "for enhancement, weighted loss does not apply" if continue_training: custom_objects = dict() if is_loss_soft_dice: