Skip to content

Commit

Permalink
Fix flake8 error
Browse files Browse the repository at this point in the history
Signed-off-by: Suraj Pai <[email protected]>
  • Loading branch information
surajpaib committed Sep 6, 2024
1 parent bf0c5f0 commit 27a0c58
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_compute_generalized_dice.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@
]


TEST_CASE_10 = [ # y (2, 3, 2, 2) y_pred (2, 3, 2, 2) expected out (2, 3) with compute_generalized_dice and (3) with GeneralizedDiceScore "mean_batch"
TEST_CASE_10 = [ # y (2, 3, 2, 2) y_pred (2, 3, 2, 2) expected out (2, 3) with compute_generalized_dice
# and (3) with GeneralizedDiceScore "mean_batch"
{
"y_pred": torch.tensor(
[
Expand All @@ -152,7 +153,8 @@
[[0.857143, 0.0, 0.0], [0.5, 0.4, 0.666667]],
]

TEST_CASE_11 = [ # y (2, 3, 2, 2) y_pred (2, 3, 2, 2) expected out (2, 1) with compute_generalized_dice (summed over classes) and (2) with GeneralizedDiceScore "mean_channel"
TEST_CASE_11 = [ # y (2, 3, 2, 2) y_pred (2, 3, 2, 2) expected out (2, 1) with compute_generalized_dice (summed over classes)
# and (2) with GeneralizedDiceScore "mean_channel"
{
"y_pred": torch.tensor(
[
Expand Down

0 comments on commit 27a0c58

Please sign in to comment.