Skip to content

Conversation

@KumoLiu
Copy link
Contributor

@KumoLiu KumoLiu commented May 27, 2024

Fixes #7797

Description

Ensure the same dtype when test to avoid precision issue.

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 --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@KumoLiu KumoLiu requested review from Nic-Ma and ericspod May 27, 2024 08:46
KumoLiu added 4 commits May 27, 2024 16:46
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
@KumoLiu
Copy link
Contributor Author

KumoLiu commented May 27, 2024

/build

1 similar comment
@KumoLiu
Copy link
Contributor Author

KumoLiu commented May 28, 2024

/build

Copy link
Member

@ericspod ericspod left a comment

Choose a reason for hiding this comment

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

It looks fine to me, I'm guessing the solution was the tensor conversion which changes which routines are used for percentile/clipping.

@ericspod ericspod merged commit 762b525 into Project-MONAI:dev May 28, 2024
@KumoLiu KumoLiu deleted the clip branch May 29, 2024 04:42
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.

Precision issue in TestClipIntensityPercentiles3D

2 participants