Skip to content

Commit b52c570

Browse files
committed
Fix docstring default value.
Signed-off-by: ytl0623 <[email protected]>
1 parent 230394b commit b52c570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/losses/unified_focal_loss.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def __init__(
118118
Args:
119119
to_onehot_y : whether to convert `y` into the one-hot format. Defaults to False.
120120
delta : weight of the background. Defaults to 0.7.
121-
gamma : value of the exponent gamma in the definition of the Focal loss . Defaults to 0.75.
121+
gamma : value of the exponent gamma in the definition of the Focal loss . Defaults to 2.
122122
epsilon : it defines a very small number each time. simmily smooth value. Defaults to 1e-7.
123123
include_background: whether to include background class in loss calculation. Defaults to True.
124124
"""

0 commit comments

Comments
 (0)