Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
reverting test_dict values for other test with hardcoded values
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hsharma committed Jan 18, 2022
1 parent e25b41e commit f33cd65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tests/ML/histopathology/utils/test_metrics_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def assert_equal_lists(pred: List, expected: List) -> None:
ResultsKey.PROB: [Tensor([0.5]), Tensor([0.7]), Tensor([0.4]), Tensor([1.0])],
ResultsKey.TRUE_LABEL: [0, 1, 1, 1],
ResultsKey.BAG_ATTN:
[Tensor([[0.1, 0.3, 0.5, 0.8]]),
[Tensor([[0.1, 0.0, 0.2, 0.15]]),
Tensor([[0.10, 0.18, 0.15, 0.13]]),
Tensor([[0.25, 0.23, 0.20, 0.21]]),
Tensor([[0.33, 0.31, 0.37, 0.35]])],
Expand Down
4 changes: 2 additions & 2 deletions Tests/ML/test_data/histo_heatmaps/heatmap_overlay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f33cd65

Please sign in to comment.