-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
NACLLoss memory management #8020
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for more information, see https://pre-commit.ci
Fix the order of loss function in import statement
Fixed the formatting and minor issues.
Reorder import statements
Reorder system imports.
isort inferred one
Updated class name according to standard
Fixed the inline comment
Add datatype in functions and classes
Co-authored-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com> Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
Co-authored-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com> Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
for more information, see https://pre-commit.ci
Add model description.
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Fixed the initialization issues with return types
for more information, see https://pre-commit.ci
Use Any instead of tensor
Import typing
Fix return type formatting
Fix parameter datatype
DCO Remediation Commit for bala93 <balamuralim.1993@gmail.com> I, Balamurali <balamuralim.1993@gmail.com>, hereby add my Signed-off-by to this commit: c4f8283 I, bala93 <balamuralim.1993@gmail.com>, hereby add my Signed-off-by to this commit: 8fbec82 I, bala93 <balamuralim.1993@gmail.com>, hereby add my Signed-off-by to this commit: 7c121a0 I, bala93 <balamuralim.1993@gmail.com>, hereby add my Signed-off-by to this commit: dccde47 Signed-off-by: bala93 <balamuralim.1993@gmail.com>
DCO Remediation Commit for bala93 <balamuralim.1993@gmail.com> I, bala93 <balamuralim.1993@gmail.com>, hereby add my Signed-off-by to this commit: 8fbec82 I, bala93 <balamuralim.1993@gmail.com>, hereby add my Signed-off-by to this commit: 7c121a0 I, bala93 <balamuralim.1993@gmail.com>, hereby add my Signed-off-by to this commit: dccde47 Signed-off-by: bala93 <balamuralim.1993@gmail.com>
DCO Remediation Commit for Balamurali <balamuralim.1993@gmail.com> I, Balamurali <balamuralim.1993@gmail.com>, hereby add my Signed-off-by to this commit: bc6b995 Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
DCO Remediation Commit for Balamurali <balamuralim.1993@gmail.com> I, Balamurali <balamuralim.1993@gmail.com>, hereby add my Signed-off-by to this commit: bc6b995 Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
I, bala93 <balamuralim.1993@gmail.com>, hereby add my Signed-off-by to this commit: 3a00aec Signed-off-by: bala93 <balamuralim.1993@gmail.com>
for more information, see https://pre-commit.ci
Co-authored-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
* Modify the code with MeanFilter, and GaussianFilter of MONAI layers * Add Doc string explaining the mask preparation Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
for more information, see https://pre-commit.ci
Co-authored-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
Co-authored-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
…nto model-calibration
DCO Remediation Commit for Balamurali <balamuralim.1993@gmail.com> I, Balamurali <balamuralim.1993@gmail.com>, hereby add my Signed-off-by to this commit: 7deb2cc Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
Call contiguous after permute to avoid reshaping issue.
Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
Hi @Bala93, please help sign off to fix the DCO issue, then I can help trigger more tests. |
I, Balamurali <balamuralim.1993@gmail.com>, hereby add my Signed-off-by to this commit: f579763 Signed-off-by: Balamurali <balamuralim.1993@gmail.com>
Hi @KumoLiu, thanks for the immediate response. I also added the test case for testing with batch size>1, which was failing in the previous version. |
/build |
KumoLiu
approved these changes
Aug 15, 2024
rcremese
pushed a commit
to rcremese/MONAI
that referenced
this pull request
Sep 2, 2024
Fixes # . ### Description Calling contiguous after applying the permute option to work with view operation in apply_filter (https://github.com/Project-MONAI/MONAI/blob/59a7211070538586369afd4a01eca0a7fe2e742e/monai/networks/layers/simplelayers.py#L293). ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] 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. --------- Signed-off-by: Balamurali <balamuralim.1993@gmail.com> Signed-off-by: bala93 <balamuralim.1993@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com> Co-authored-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes # .
Description
Calling contiguous after applying the permute option to work with view operation in apply_filter (
MONAI/monai/networks/layers/simplelayers.py
Line 293 in 59a7211
Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests --disttests
.make html
command in thedocs/
folder.