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 b249b2f commit b2d430dCopy full SHA for b2d430d
monai/losses/dice.py
@@ -494,7 +494,7 @@ def __init__(
494
raise ValueError(f"dist_matrix must be C x C, got {dist_matrix.shape[0]} x {dist_matrix.shape[1]}.")
495
496
if weighting_mode not in ["default", "GDL"]:
497
- raise ValueError(f"weighting_mode must be either 'default' or 'GDL, got {weighting_mode}.")
+ raise ValueError(f"weighting_mode must be either 'default' or 'GDL', got {weighting_mode}.")
498
499
self.m = dist_matrix
500
if isinstance(self.m, np.ndarray):
0 commit comments