forked from Project-MONAI/MONAI
-
Notifications
You must be signed in to change notification settings - Fork 1
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
merge master #333
Merged
Nic-Ma
merged 273 commits into
Nic-Ma:3539-remove-decollate-warning
from
Project-MONAI:dev
Dec 23, 2021
Merged
merge master #333
Nic-Ma
merged 273 commits into
Nic-Ma:3539-remove-decollate-warning
from
Project-MONAI:dev
Dec 23, 2021
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
Signed-off-by: Nic Ma <nma@nvidia.com>
* add multimodal transformers Signed-off-by: ahatamizadeh <ahatamizadeh@nvidia.com>
…op_centers`, `generate_pos_neg_label_crop_centers`, `generate_label_classes_crop_centers` (#2958) torch map_binary_to_indices, map_classes_to_indices, correct_crop_centers, generate_pos_neg_label_crop_centers, generate_label_classes_crop_centers
* Implement CuCIM wrapper transfrom Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
* Update with cupy.ndarray Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com> * Change to use has_cp Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com> * Change the format Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com> * Fix a bug Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
* Fix for Jupyter plotting Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk> * Fix for Jupyter plotting Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk> * Fix for Jupyter plotting Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>
* fixes tutorial issue 352 Signed-off-by: Wenqi Li <wenqil@nvidia.com> * simplified Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] enhance tensor transforms Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix tests Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix mypy Signed-off-by: Nic Ma <nma@nvidia.com>
…abelClasses`, `RandCropByLabelClassesd` (#2967) Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
* enhance affinegrid to use torch backend Signed-off-by: Wenqi Li <wenqil@nvidia.com> * style fixes Signed-off-by: Wenqi Li <wenqil@nvidia.com> * codeformat fixes Signed-off-by: Wenqi Li <wenqil@nvidia.com> * backend affien grid Signed-off-by: Wenqi Li <wenqil@nvidia.com> * device support Signed-off-by: Wenqi Li <wenqil@nvidia.com> * less lookup Signed-off-by: Wenqi Li <wenqil@nvidia.com> * create grid with torch backend Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> * default to torch create grid Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes unit test Signed-off-by: Wenqi Li <wenqil@nvidia.com> * randaffine with create grid Signed-off-by: Wenqi Li <wenqil@nvidia.com> * create_grid backend change for spatial transforms Signed-off-by: Wenqi Li <wenqil@nvidia.com> * create control grid tensor Signed-off-by: Wenqi Li <wenqil@nvidia.com> * enhance spatial, and crop xforms - Update test_rand_deform_grid.py - center_scale_crop - center_spatial_crop - rand_scale_crop - rand_spatial_crop - rand_spatial_crop_samples Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes invert Signed-off-by: Wenqi Li <wenqil@nvidia.com> * tensor resize, unit test fixes Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
* update multimodal doc and model names (Transchex) Signed-off-by: ahatamizadeh <ahatamizadeh@nvidia.com>
* remove deprecated Signed-off-by: Wenqi Li <wenqil@nvidia.com> * min-test list Signed-off-by: Wenqi Li <wenqil@nvidia.com> * preserves tests from tests/test_handler_transform_inverter.py Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* enhance nightly test Signed-off-by: Wenqi Li <wenqil@nvidia.com> * print after the test for information Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* dimension check for pretrained model weights This PR implements a dimension check, before trying to load pre-trained model weights. Signed-off-by: neuronflow <zournyque@gmail.com> * [MONAI] python code formatting Signed-off-by: monai-bot <monai.miccai2019@gmail.com> Signed-off-by: neuronflow <zournyque@gmail.com> * multi line split error Signed-off-by: neuronflow <zournyque@gmail.com> Co-authored-by: monai-bot <monai.miccai2019@gmail.com>
…tatement (#2996) * Refactor unnecessary `else` / `elif` when `if` block has a `return` statement * Remove unnecessary lambda expression (#2997) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> * type fixes Signed-off-by: Wenqi Li <wenqil@nvidia.com> * remove repeated init Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes import, unused vars Signed-off-by: Wenqi Li <wenqil@nvidia.com> Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> Co-authored-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] add copy option Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] enhance test Signed-off-by: Nic Ma <nma@nvidia.com> * [MONAI] python code formatting Signed-off-by: monai-bot <monai.miccai2019@gmail.com> Co-authored-by: monai-bot <monai.miccai2019@gmail.com>
* test 1.9.1 Signed-off-by: Wenqi Li <wenqil@nvidia.com> * temp tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> * Revert "temp tests" This reverts commit 1f27a63. Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* fixes cucim compatibility Signed-off-by: Wenqi Li <wenqil@nvidia.com> * simplified import Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
* [DLMED] update highlights Signed-off-by: Nic Ma <nma@nvidia.com>
* release note v0.7 Signed-off-by: Wenqi Li <wenqil@nvidia.com> * adds whatsnew 07 Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] update README Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update what's new Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] use whatsnew link Signed-off-by: Nic Ma <nma@nvidia.com>
* [DLMED] add more doc Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] edit change log Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] add command to get transform backend Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] enhance the doc Signed-off-by: Nic Ma <nma@nvidia.com>
…dGaussianSharpen` (#2971) Torch `GaussianSmooth`, `RandGaussianSmooth`, `GaussianSharpen`, `RandGaussianSharpen`
* apply pyupgrade Signed-off-by: Jirka <jirka.borovec@seznam.cz> * exclude monai/_version.py Signed-off-by: Jirka <jirka.borovec@seznam.cz>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] add dataset generator Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] add DatasetGenerator Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update according to comments Signed-off-by: Nic Ma <nma@nvidia.com> * [MONAI] python code formatting Signed-off-by: monai-bot <monai.miccai2019@gmail.com> * [DLMED] fix wrong test Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] simplify according to comments Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] remove return Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update rtol for CI Signed-off-by: Nic Ma <nma@nvidia.com> Co-authored-by: monai-bot <monai.miccai2019@gmail.com>
* [DLMED] add missing docs Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] add missing components Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix test Signed-off-by: Nic Ma <nma@nvidia.com>
* [DLMED] add channel-wise Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update according to comments Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix typo Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] skip test if before 1.7 Signed-off-by: Nic Ma <nma@nvidia.com> * [MONAI] python code formatting Signed-off-by: monai-bot <monai.miccai2019@gmail.com> Co-authored-by: monai-bot <monai.miccai2019@gmail.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
* [DLMED] add Iteration base class Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update according to comments Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update according to comments Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
* [DLMED] support string dtype Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix typo Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] enhance dtype in ToCupy Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
* Update to not include number for the name of the first range Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com> * Update CuCIM and TorchVision wrappers to include name Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com> * Update nvtx range to append undelying class for wrapper tranforms Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com> * Add new test cases to cover changes Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com> * Update cucim and torchvision check Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
* [DLMED] add missing images Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix 3471 Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix AsDiscrete Signed-off-by: Nic Ma <nma@nvidia.com>
* make bending energy loss invariant to resolution fixes #3485 Signed-off-by: Ebrahim Ebrahim <ebrahim.ebrahim@kitware.com> * set BendingEnergyLoss default normalize to False Maybe it's more important that the default behavior match usage of the term "bending energy" elsewhere, rather than that it be the most convenient behavior. Signed-off-by: Ebrahim Ebrahim <ebrahim.ebrahim@kitware.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] correct kwargs Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix grammar Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] add SavitzkyGolaySmoothd Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix typo Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update according to comments Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* Adding Torchscript utility functions Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [MONAI] python code formatting Signed-off-by: monai-bot <monai.miccai2019@gmail.com> * Adding Torchscript utility functions Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk> * Added test for extra files Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk> * Update Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk> * Update Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk> * Updates Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Updates Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk> * Updates Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: monai-bot <monai.miccai2019@gmail.com> Co-authored-by: Nic Ma <nma@nvidia.com>
* [DLMED] change to utility transforms Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] enhance args Signed-off-by: Nic Ma <nma@nvidia.com>
* adds missing item Signed-off-by: Wenqi Li <wenqil@nvidia.com> * update the contributing guide Signed-off-by: Wenqi Li <wenqil@nvidia.com> * update copyright headers Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* util to check the licence info Signed-off-by: Wenqi Li <wenqil@nvidia.com> * update flags Signed-off-by: Wenqi Li <wenqil@nvidia.com> * update based on comments Signed-off-by: Wenqi Li <wenqil@nvidia.com>
… APIs (#3526) * [DLMED] clarify old APIs Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update according to comments Signed-off-by: Nic Ma <nma@nvidia.com>
* [DLMED] update to 21.12 Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update according to comments Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] add PyTorch 1.9 test Signed-off-by: Nic Ma <nma@nvidia.com>
* [DLMED] add missing args Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update according to comments Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update progress arg Signed-off-by: Nic Ma <nma@nvidia.com>
* [DLMED] fix oneof Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] add more unit tests Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update index Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update according to comments Signed-off-by: Nic Ma <nma@nvidia.com> * Revert "[DLMED] update according to comments" This reverts commit c6c3a35. Signed-off-by: Nic Ma <nma@nvidia.com> * Revert "[DLMED] update index" This reverts commit 649a7c5. Signed-off-by: Nic Ma <nma@nvidia.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
A few sentences describing the changes proposed in this pull request.
Status
Ready/Work in progress/Hold
Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests
.make html
command in thedocs/
folder.