Skip to content

2043 Add support to compute metrics on tensor and list of tensor together#2061

Merged
wyli merged 4 commits intoProject-MONAI:masterfrom
Nic-Ma:2043-enhance-metrics
Apr 21, 2021
Merged

2043 Add support to compute metrics on tensor and list of tensor together#2061
wyli merged 4 commits intoProject-MONAI:masterfrom
Nic-Ma:2043-enhance-metrics

Conversation

@Nic-Ma
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma commented Apr 21, 2021

Fixes #2043 .

Description

This PR enhanced the metrics to handle the case that prediction is a list of Tensor but label may be a batch Tensor.

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Apr 21, 2021

/black

@Nic-Ma Nic-Ma requested review from ericspod, rijobro and wyli April 21, 2021 03:18
Copy link
Copy Markdown
Contributor

@wyli wyli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@wyli wyli merged commit 51ecc48 into Project-MONAI:master Apr 21, 2021
@Nic-Ma Nic-Ma deleted the 2043-enhance-metrics branch July 2, 2021 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support to compute metrics on list of images and tensor label

2 participants