Skip to content

Commit

Permalink
pep8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
justusschock authored and Borda committed Apr 17, 2020
1 parent 6908e03 commit e0ddda5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/metrics/functional/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,4 +387,4 @@ def dice_score(pred: torch.Tensor, target: torch.Tensor, bg: bool = False,
score_cls = (2 * tp).to(torch.float) / denom

scores[i] += score_cls
return reduce(scores, reduction=reduction)
return reduce(scores, reduction=reduction)

0 comments on commit e0ddda5

Please sign in to comment.