-
Notifications
You must be signed in to change notification settings - Fork 517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Dice and BinaryDice metrics #174
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inline
…to feature/ALG-391_dice_metrics
Added |
…nto feature/ALG-391_dice_metrics � Conflicts: � src/super_gradients/training/metrics/segmentation_metrics.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Added Dice and binary Dice metrics, by implementing
_dice_from_confmat
similar format as_jaccard_from_confmat
torchmetrics implementation._preprocess_segmentation_inputs
to prevent duplicate code in all segmentation metrics.torchmetrics.JaccardIndex
instead oftorchmetrics.IoU
which is no longer supported in torchmetrics 0.8.0.