Total Complexity | 0 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | """Define different loss classes for image, label and regularization.""" |
||
2 | # flake8: noqa |
||
3 | from deepreg.loss.deform import BendingEnergy, GradientNorm |
||
4 | from deepreg.loss.image import ( |
||
5 | GlobalMutualInformation, |
||
6 | GlobalMutualInformationLoss, |
||
7 | LocalNormalizedCrossCorrelation, |
||
8 | LocalNormalizedCrossCorrelationLoss, |
||
9 | ) |
||
10 | from deepreg.loss.label import ( |
||
11 | CrossEntropy, |
||
12 | DiceLoss, |
||
13 | DiceScore, |
||
14 | JaccardIndex, |
||
15 | JaccardLoss, |
||
16 | SumSquaredDifference, |
||
17 | ) |
||
18 |