Skip to content

Commit

Permalink
Merging all functionality from CerebNet.utils.metrics.py into FastSur…
Browse files Browse the repository at this point in the history
…ferCNN.utils.metrics.py

- Deleting CerebNet.utils.metrics.py

- refactoring usage across files

- Changing back to numpy dice score implementation
  • Loading branch information
taha-abdullah committed Oct 8, 2024
1 parent a794d3c commit 80884ad
Show file tree
Hide file tree
Showing 13 changed files with 298 additions and 709 deletions.
2 changes: 1 addition & 1 deletion CerebNet/utils/meters.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
import torch

from CerebNet.data_loader.data_utils import GRAY_MATTER, VERMIS_NAMES
from CerebNet.utils.metrics import DiceScore, dice_score, hd, volume_similarity
from CerebNet.utils.misc import plot_confusion_matrix, plot_predictions
from FastSurferCNN.utils import logging
from FastSurferCNN.utils.metrics import DiceScore, dice_score, hd, volume_similarity

logger = logging.get_logger(__name__)

Expand Down
332 changes: 0 additions & 332 deletions CerebNet/utils/metrics.py

This file was deleted.

Loading

0 comments on commit 80884ad

Please sign in to comment.