Skip to content

Make ProbNMS a Transform #1941

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 5, 2021
Merged

Make ProbNMS a Transform #1941

merged 7 commits into from
Apr 5, 2021

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.

@bhashemian bhashemian requested review from Nic-Ma and wyli April 5, 2021 00:01
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
@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 <[email protected]>

* Implement ProbNMSDict

Signed-off-by: Behrooz <[email protected]>

* Update the usage and add unittests

Signed-off-by: Behrooz <[email protected]>

* Update docs

Signed-off-by: Behrooz <[email protected]>

* Correct docs

Signed-off-by: Behrooz <[email protected]>

* Correct test case

Signed-off-by: Behrooz <[email protected]>

Co-authored-by: Wenqi Li <[email protected]>
Signed-off-by: Neha Srivathsa <[email protected]>
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