Skip to content

Conversation

@bhashemian
Copy link
Member

Description

This PR removes ProbNMS from monai/utils and makes it a handler at monai/transforms/post as ProbNMS and ProbNMSd`. It also adds unittests.

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.

Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com>
Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com>
Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com>
Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com>
@bhashemian bhashemian requested review from Nic-Ma and wyli April 5, 2021 00:01
Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com>
Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com>
@wyli
Copy link
Contributor

wyli commented Apr 5, 2021

could you please help review this? @Nic-Ma the NMS logic should be great, this is a refactoring to move the module from utils into transforms

Copy link
Contributor

@Nic-Ma Nic-Ma left a comment

Choose a reason for hiding this comment

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

Looks good to me.
Thanks.

@Nic-Ma Nic-Ma merged commit 3f2238e into Project-MONAI:master Apr 5, 2021
@bhashemian bhashemian deleted the prob_nms branch April 12, 2021 20:22
nsrivathsa pushed a commit to nsrivathsa/MONAI that referenced this pull request Apr 12, 2021
* Add ProbNMS to transforts/post/array

Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com>

* Implement ProbNMSDict

Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com>

* Update the usage and add unittests

Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com>

* Update docs

Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com>

* Correct docs

Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com>

* Correct test case

Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com>

Co-authored-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Neha Srivathsa <nsrivathsa@nvidia.com>
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.

3 participants