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 cae7c72 commit 9e18d85Copy full SHA for 9e18d85
monai/losses/dice.py
@@ -716,6 +716,8 @@ def __init__(
716
label_smoothing: a value in [0, 1] range. If > 0, the labels are smoothed
717
by the given factor to reduce overfitting.
718
Defaults to 0.0.
719
+ soft_label: whether the target contains non-binary values (soft labels) or not.
720
+ If True a soft label formulation of the DiceLoss will be used.
721
722
"""
723
super().__init__()
0 commit comments