Skip to content

merge master#221

Merged
Nic-Ma merged 21 commits intoNic-Ma:2951-optimize-convert-typefrom
Project-MONAI:dev
Sep 15, 2021
Merged

merge master#221
Nic-Ma merged 21 commits intoNic-Ma:2951-optimize-convert-typefrom
Project-MONAI:dev

Conversation

@Nic-Ma
Copy link
Copy Markdown
Owner

@Nic-Ma Nic-Ma commented Sep 15, 2021

Fixes # .

Description

A few sentences describing the changes proposed in this pull request.

Status

Ready/Work in progress/Hold

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.

wyli and others added 21 commits September 8, 2021 12:38
* ndim -> spatial_dims

Signed-off-by: Wenqi Li <[email protected]>

* dimensions -> spatial_dims

Signed-off-by: Wenqi Li <[email protected]>

* deprecated arg with auto replacement

Signed-off-by: Wenqi Li
* [DLMED] merge LocalPatchShuffle

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] enhance doc-string

Signed-off-by: Nic Ma <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Torch RandRotate
* Add cupy to tensor

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

* Add unittest for cupy>tensor

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

Co-authored-by: Wenqi Li <[email protected]>
* [DLMED] enhance the pad mode

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] update all the tensor pad related

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] fix error tests

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] fix GPU tests

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
* con1_padding -> conv1_padding

Signed-off-by: Wenqi Li <[email protected]>

* simpler init.

Signed-off-by: Wenqi Li <[email protected]>

* fixes 2715

Signed-off-by: Wenqi Li <[email protected]>

* adds 3d tests

Signed-off-by: Wenqi Li <[email protected]>

* fixes flake8 error

Signed-off-by: Wenqi Li <[email protected]>
* ThresholdIntensity, ThresholdIntensityd

Signed-off-by: Richard Brown <[email protected]>
* Add dropout arg in DynUNet init

Signed-off-by: Andres <[email protected]>
* [DLMED] add device option

Signed-off-by: Nic Ma <[email protected]>

* look up options for types

Signed-off-by: Wenqi Li <[email protected]>

* adds unit tests

Signed-off-by: Wenqi Li <[email protected]>

Co-authored-by: Wenqi Li <[email protected]>
…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 <[email protected]>

* Affine, RandAffine, Affined, RandAffined

Signed-off-by: Richard Brown <[email protected]>

* deprecate as_tensor_output

Signed-off-by: Richard Brown <[email protected]>

* fixes

Signed-off-by: Richard Brown <[email protected]>

* remove plotting

Signed-off-by: Richard Brown <[email protected]>

* Rand2dElastic, Rand3dElastic, Rand2dElasticd, Rand3dElasticd

Signed-off-by: Richard Brown <[email protected]>

* CropForeground

Signed-off-by: Richard Brown <[email protected]>

* fix Invertd

Signed-off-by: Richard Brown <[email protected]>
* transforms convert to the necessary type

Signed-off-by: Richard Brown <[email protected]>
* Add dtype to ToCuPy

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

* Add unittests to include dtype

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

* Implement convert_to_cupy

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

* Addressed all comments

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

* Addressed all comments

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

* Add dtype for Sequence

Signed-off-by: Behrooz <[email protected]>
* [DLMED] update according to comments

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] remove unnecessary arg

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] fix style issue

Signed-off-by: Nic Ma <[email protected]>
@Nic-Ma Nic-Ma merged commit 4cb457e into Nic-Ma:2951-optimize-convert-type Sep 15, 2021
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.

5 participants