Skip to content

merge master#34

Merged
Nic-Ma merged 5 commits into
Nic-Ma:add-progress-smartcachefrom
Project-MONAI:master
Feb 25, 2021
Merged

merge master#34
Nic-Ma merged 5 commits into
Nic-Ma:add-progress-smartcachefrom
Project-MONAI:master

Conversation

@Nic-Ma

@Nic-Ma Nic-Ma commented Feb 25, 2021

Copy link
Copy Markdown
Owner

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 --codeformat --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

wyli and others added 5 commits February 24, 2021 15:02
* update openmp flag

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* improves boundtype docs

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* update setup.py

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* input validation 1d

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* fixes typos

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* fixes typos

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* merge upstream changes

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* tests enums

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* init. test grid pull

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* update

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* test grid_pull

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* fixes min test

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* adds device tests

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* bwd tests

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
move transforms out of compose file. this is backwards compatible.
* pad_collation

Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>

* increase number of test cases to ensure required testing errors

Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>

* determinism in setUp

Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>

* pad collate for list of lists

Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>

* code format

Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>

* allow padding options

Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
decollate batch
enhance random range parameters

If element `i` is iterable, then `uniform[-rotate_range[i][0], rotate_range[i][1])` will be used to generate the rotation parameter for the ith dimension. If not, `uniform[-rotate_range[i], rotate_range[i])` will be used. This can be altered on a per-dimension basis. E.g., `((0,3), 1, ...)`: for dim0, rotation will be in range `[0, 3]`, and for dim1 `[-1, 1]` will be used. Setting a single value will use `[-x, x]` for dim0 and nothing for the remaining dimensions.

Backwards compatibility is ensured because the old behaviour used to do `uniform[-rotate_range[i], rotate_range[i])`, and this PR just adds the possibility to do `uniform[-rotate_range[i][0], rotate_range[i][1])`.
@Nic-Ma Nic-Ma merged commit 03929fd into Nic-Ma:add-progress-smartcache Feb 25, 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.

3 participants