Skip to content

2360 Enhance the data type of GradCam#2368

Merged
Nic-Ma merged 6 commits intoProject-MONAI:devfrom
Nic-Ma:2360-optimize-gradcam
Jun 15, 2021
Merged

2360 Enhance the data type of GradCam#2368
Nic-Ma merged 6 commits intoProject-MONAI:devfrom
Nic-Ma:2360-optimize-gradcam

Conversation

@Nic-Ma
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma commented Jun 15, 2021

Fixes #2360 .

Description

This PR enhanced the return data type/device of GradCam to be consistent with input data.
It follows the regular usages in user's feedback and our tutorial:
https://github.com/Project-MONAI/tutorials/blob/master/modules/interpretability/covid_classification.ipynb
And it's also consistent with our new feature that updates all the transforms to support input/output Tensor data.

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 Nic-Ma requested review from ericspod, rijobro and wyli June 15, 2021 03:24
@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jun 15, 2021

/black

Copy link
Copy Markdown
Contributor

@rijobro rijobro left a comment

Choose a reason for hiding this comment

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

thanks

@Nic-Ma Nic-Ma enabled auto-merge (squash) June 15, 2021 09:16
@Nic-Ma Nic-Ma merged commit a9222d9 into Project-MONAI:dev Jun 15, 2021
wyli pushed a commit to wyli/MONAI that referenced this pull request Jun 16, 2021
* [DLMED] enhance GradCam return type

Signed-off-by: Nic Ma <[email protected]>

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <[email protected]>

Co-authored-by: monai-bot <[email protected]>
@Nic-Ma Nic-Ma deleted the 2360-optimize-gradcam branch July 2, 2021 23:38
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.

4 participants