Skip to content

Commit 80884ad

Browse files
committed
Merging all functionality from CerebNet.utils.metrics.py into FastSurferCNN.utils.metrics.py
- Deleting CerebNet.utils.metrics.py - refactoring usage across files - Changing back to numpy dice score implementation
1 parent a794d3c commit 80884ad

13 files changed

+298
-709
lines changed

CerebNet/utils/meters.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
import torch
2121

2222
from CerebNet.data_loader.data_utils import GRAY_MATTER, VERMIS_NAMES
23-
from CerebNet.utils.metrics import DiceScore, dice_score, hd, volume_similarity
2423
from CerebNet.utils.misc import plot_confusion_matrix, plot_predictions
2524
from FastSurferCNN.utils import logging
25+
from FastSurferCNN.utils.metrics import DiceScore, dice_score, hd, volume_similarity
2626

2727
logger = logging.get_logger(__name__)
2828

CerebNet/utils/metrics.py

-332
This file was deleted.

0 commit comments

Comments
 (0)