Skip to content

merge master#34

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

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

Conversation

@Nic-Ma
Copy link
Copy Markdown
Owner

@Nic-Ma Nic-Ma commented Feb 25, 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 --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 <[email protected]>

* improves boundtype docs

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

* update setup.py

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

* input validation 1d

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

* fixes typos

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

* fixes typos

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

* merge upstream changes

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

* tests enums

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

* init. test grid pull

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

* update

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

* test grid_pull

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

* fixes min test

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

* adds device tests

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

* bwd tests

Signed-off-by: Wenqi Li <[email protected]>
move transforms out of compose file. this is backwards compatible.
* pad_collation

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

* increase number of test cases to ensure required testing errors

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

* determinism in setUp

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

* pad collate for list of lists

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

* code format

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

* allow padding options

Signed-off-by: Richard Brown <[email protected]>
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