Skip to content

Commit c3c2570

Browse files
committed
Fix docstring default value.
Signed-off-by: ytl0623 <[email protected]>
1 parent 3c1ec33 commit c3c2570

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
@@ -45,7 +45,7 @@ def __init__(
4545
Args:
4646
to_onehot_y: whether to convert `y` into the one-hot format. Defaults to False.
4747
delta : weight of the background. Defaults to 0.7.
48-
gamma : value of the exponent gamma in the definition of the Focal loss . Defaults to 2.
48+
gamma : value of the exponent gamma in the definition of the Focal loss . Defaults to 0.75.
4949
epsilon : it defines a very small number each time. simmily smooth value. Defaults to 1e-7.
5050
include_background: whether to include background class in loss calculation. Defaults to True.
5151
"""

0 commit comments

Comments
 (0)