Skip to content

Commit 7319f49

Browse files
pre-commit-ci[bot]rittik9
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5fde24a commit 7319f49

File tree

1 file changed

+1
-3
lines changed
  • src/torchmetrics/segmentation

1 file changed

+1
-3
lines changed

src/torchmetrics/segmentation/dice.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,7 @@ def __init__(
126126
" If you've explicitly set this parameter, you can ignore this warning.",
127127
UserWarning,
128128
)
129-
_dice_score_validate_args(
130-
num_classes, include_background, average, input_format, aggregation_level
131-
)
129+
_dice_score_validate_args(num_classes, include_background, average, input_format, aggregation_level)
132130
self.num_classes = num_classes
133131
self.include_background = include_background
134132
self.average = average

0 commit comments

Comments
 (0)