Skip to content

Commit 71f692c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 28f99d3 commit 71f692c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

monai/losses/dice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ def forward(self, input: torch.Tensor, target: torch.Tensor) -> torch.Tensor:
11111111
focal_loss = self.focal(input, target)
11121112
total_loss: torch.Tensor = self.lambda_gdl * gdl_loss + self.lambda_focal * focal_loss
11131113
return total_loss
1114-
1114+
11151115
class SparseDiceLoss(_Loss):
11161116
"""
11171117
Compute average Dice loss between two tensors. It can support both multi-classes and multi-labels tasks.

0 commit comments

Comments
 (0)