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 #244
Merged
Nic-Ma
merged 95 commits into
Nic-Ma:3114-add-fast-integration-test
from
Project-MONAI:dev
Oct 13, 2021
Merged
merge master #244
Nic-Ma
merged 95 commits into
Nic-Ma:3114-add-fast-integration-test
from
Project-MONAI:dev
Oct 13, 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
* ndim -> spatial_dims Signed-off-by: Wenqi Li <wenqil@nvidia.com> * dimensions -> spatial_dims Signed-off-by: Wenqi Li <wenqil@nvidia.com> * deprecated arg with auto replacement Signed-off-by: Wenqi Li
* [DLMED] merge LocalPatchShuffle Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] enhance doc-string Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
Torch RandRotate
* Add cupy to tensor Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com> * Add unittest for cupy>tensor Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
Signed-off-by: Nic Ma <nma@nvidia.com> Co-authored-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] enhance the pad mode Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update all the tensor pad related Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix error tests Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix GPU tests 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: Nic Ma <nma@nvidia.com>
* con1_padding -> conv1_padding Signed-off-by: Wenqi Li <wenqil@nvidia.com> * simpler init. Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes 2715 Signed-off-by: Wenqi Li <wenqil@nvidia.com> * adds 3d tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes flake8 error Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* ThresholdIntensity, ThresholdIntensityd Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
* Add dropout arg in DynUNet init Signed-off-by: Andres <diazandr3s@gmail.com>
* [DLMED] add device option Signed-off-by: Nic Ma <nma@nvidia.com> * look up options for types Signed-off-by: Wenqi Li <wenqil@nvidia.com> * adds unit tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> Co-authored-by: Wenqi Li <wenqil@nvidia.com>
…iles, ScaleIntensityRangePercentilesd (#2943) ScaleIntensityRange, ScaleIntensityRanged, ScaleIntensityRangePercentiles, ScaleIntensityRangePercentilesd
Rotate, Rotated, RandRotate, RandRotated
…ndAffined, Rand2dElastic, Rand3dElastic, Rand2dElasticd, Rand3dElasticd (#2922) * AffineGrid, RandAffineGrid, Resample Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * Affine, RandAffine, Affined, RandAffined Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * deprecate as_tensor_output Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * fixes Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * remove plotting Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * Rand2dElastic, Rand3dElastic, Rand2dElasticd, Rand3dElasticd Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * CropForeground Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * fix Invertd Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
* transforms convert to the necessary type Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
* Add dtype to ToCuPy Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com> * Add unittests to include dtype Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com> * Implement convert_to_cupy Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com> * Addressed all comments Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com> * Addressed all comments Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com> * Add dtype for Sequence Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
* [DLMED] update according to comments Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] remove unnecessary arg Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix style issue Signed-off-by: Nic Ma <nma@nvidia.com>
* [DLMED] enhance type conversion Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix CI test Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] add more unit tests Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix flake8 Signed-off-by: Nic Ma <nma@nvidia.com>
* fixes tutorial 353 Signed-off-by: Wenqi Li <wenqil@nvidia.com> * adding type tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> * improves type checks Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes flake8 Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes as channel first Signed-off-by: Wenqi Li <wenqil@nvidia.com> * type test option Signed-off-by: Wenqi Li <wenqil@nvidia.com> * ndarray suuport Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes unit tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> update Signed-off-by: Wenqi Li <wenqil@nvidia.com> * bash option for windows test Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes unit tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> * enhance norm intensity tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes merge tests Signed-off-by: Wenqi Li <wenqil@nvidia.com>
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>
* apply yesqa Signed-off-by: Jirka <jirka.borovec@seznam.cz> * rev Signed-off-by: Jirka <jirka.borovec@seznam.cz> * expand Signed-off-by: Jirka <jirka.borovec@seznam.cz> * plugins Signed-off-by: Jirka <jirka.borovec@seznam.cz>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
* create images Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * use brats Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * update Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * working Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * rename file Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * optional import matplotlib Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * docstrings Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * store images in https://github.com/Project-MONAI/DocImages Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * extra transform example images Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * most transforms Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] fix complex array issue Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix test issue Signed-off-by: Nic Ma <nma@nvidia.com>
* [pre-commit.ci] pre-commit suggestions updates: - [github.com/asottile/pyupgrade: v2.27.0 → v2.29.0](asottile/pyupgrade@v2.27.0...v2.29.0) * fixes #3071 Signed-off-by: Wenqi Li <wenqil@nvidia.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Wenqi Li <wenqil@nvidia.com>
* update workflow Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes gpu tests Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* correct panelled example images Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
* 2755 Add b-spline kernel option Signed-off-by: kate-sann5100 <yiwen.li@st-annes.ox.ac.uk>
* adds integration tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> * temp tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> * cache pip Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes conc Signed-off-by: Wenqi Li <wenqil@nvidia.com> * Revert "temp tests" This reverts commit 5a931c6. Signed-off-by: Wenqi Li <wenqil@nvidia.com> * print outcome Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes typo Signed-off-by: Wenqi Li <wenqil@nvidia.com> * update based on comments Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* fixes RandGaussianSmooth Signed-off-by: Wenqi Li <wenqil@nvidia.com> * minor fixes Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
* relax atol for a100 Signed-off-by: Wenqi Li <wenqil@nvidia.com> * temp tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes #3071 Signed-off-by: Wenqi Li <wenqil@nvidia.com> * remove temp tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> * update tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> * add tf32 tests Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes rtol wit tf32 Signed-off-by: Wenqi Li <wenqil@nvidia.com> * detect tf32 Signed-off-by: Wenqi Li <wenqil@nvidia.com> * update flag Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes testing util Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
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] enhance random computation Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update according to comments Signed-off-by: Nic Ma <nma@nvidia.com> Co-authored-by: Wenqi Li <wenqil@nvidia.com>
…3079) * Torch `CropForeground`, `HistogramNormalize`, `RandHistogramShift` Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> * fix Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com> Co-authored-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
* [DLMED] add MLFlowHandler Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] add optional import Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix doc format Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix CI test Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
…rop` (#3078) Torch `AddCoordinateChannels`, `ExtremePointsChannel`, `RandWeightedCrop`
* [DLMED] fix wrong doc Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] update according to comments Signed-off-by: Nic Ma <nma@nvidia.com>
* fixes 33097 Signed-off-by: Wenqi Li <wenqil@nvidia.com> * fixes typo Signed-off-by: Wenqi Li <wenqil@nvidia.com> * update based on comments Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] update intensity transforms 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.