Skip to content

Commit 35f5387

Browse files
committed
Update docstring for the JaccardLoss
1 parent aad415f commit 35f5387

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

change_detection_pytorch/losses/jaccard.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ def __init__(
3030
log_loss: If True, loss computed as `- log(jaccard_coeff)`, otherwise `1 - jaccard_coeff`
3131
from_logits: If True, assumes input is raw logits
3232
smooth: Smoothness constant for dice coefficient
33-
ignore_index: Label that indicates ignored pixels (does not contribute to loss)
34-
eps: A small epsilon for numerical stability to avoid zero division error
33+
eps: A small epsilon for numerical stability to avoid zero division error
3534
(denominator will be always greater or equal to eps)
3635
3736
Shape

0 commit comments

Comments
 (0)