We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f12577a commit b4b86f8Copy full SHA for b4b86f8
napari_cellseg3d/code_models/worker_training.py
@@ -154,7 +154,7 @@ def __init__(
154
self.config = worker_config
155
156
self.dice_metric = DiceMetric(
157
- include_background=True, reduction="mean", get_not_nans=False
+ include_background=False, reduction="mean", get_not_nans=False
158
)
159
self.normalize_function = utils.remap_image
160
self.start_time = time.time()
@@ -1309,7 +1309,7 @@ def get_patch_loader_func(num_samples):
1309
else provided_scheduler
1310
1311
dice_metric = DiceMetric(
1312
- include_background=True, reduction="mean", ignore_empty=False
+ include_background=False, reduction="mean", ignore_empty=False
1313
1314
1315
best_metric = -1
0 commit comments