Skip to content
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 #372

Merged
merged 428 commits into from
Feb 18, 2022
Merged

merge master #372

merged 428 commits into from
Feb 18, 2022

Conversation

Nic-Ma
Copy link
Owner

@Nic-Ma Nic-Ma commented Feb 18, 2022

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.

Nic-Ma and others added 30 commits November 12, 2021 06:25
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Sebastian Penhouet <sebastian.penhouet@airamed.de>

Co-authored-by: Sebastian Penhouet <sebastian.penhouet@airamed.de>
Co-authored-by: Nic Ma <nma@nvidia.com>
… API (#3295)

* adds traceable API

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

* drop peek

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

* deprecate inversekeys

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

* inversekeys -> tracekeys

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

* update trace_key

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

* update based on comments

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] add affine to dict transform

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add unit tests

Signed-off-by: Nic Ma <nma@nvidia.com>
* torch version check

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

* temp tests

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

* additional cases

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

* fixes tests

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

* update unit test names

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

* remove temp tests

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

* update based on comments

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

* fixes codeformat

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

Co-authored-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com>
* update clang-format download

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

* fixes unit test

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>
Signed-off-by: Nic Ma <nma@nvidia.com>
* MIL component to extract patches

Signed-off-by: myron <amyronenko@nvidia.com>

* MIL component to extract patches

Signed-off-by: myron <amyronenko@nvidia.com>

* random flag, minor fixes

Signed-off-by: myron <amyronenko@nvidia.com>

* minor fixes for padding

Signed-off-by: myron <amyronenko@nvidia.com>

* improve tests

Signed-off-by: myron <amyronenko@nvidia.com>

Co-authored-by: Behrooz <3968947+drbeh@users.noreply.github.com>
* 3251 Add dependency check in WSIReader (#3312)

* [DLMED] add dep check

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: myron <amyronenko@nvidia.com>

* [DLMED] MILmodel  PR

Signed-off-by: myron <amyronenko@nvidia.com>

* small updates

Signed-off-by: myron <amyronenko@nvidia.com>

* fix jit issues

Signed-off-by: myron <amyronenko@nvidia.com>

* jit fix attempt

Signed-off-by: myron <amyronenko@nvidia.com>

* removing Enum

Signed-off-by: myron <amyronenko@nvidia.com>

Co-authored-by: Nic Ma <nma@nvidia.com>
Co-authored-by: Behrooz <3968947+drbeh@users.noreply.github.com>
* update pathlike obj

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

* support of pathlike obj

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

* review path obj

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

* update tests

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

* autofix

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

* fixes unit test

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

* update based on comments

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

* fixes dep issue

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
…_keys is True (#3325)

* [DLMED] enhance no keys for allow_missing_keys

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>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* drop pytorch 1.5.x

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

* update premerge gpu

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

* update based on comments

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] optimize astype

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] improve astype

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix flake8

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>

* [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>
* [DLMED] simiplify AsDiscrete transform

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update tests

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>

* [DLMED] add examples

Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] add wrap_sequence

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update default value

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix tests

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix typo

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add more tests

Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
* Add tiffile and imagecodes to build option dependencies

Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>

* update optional dep

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

Co-authored-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: myron <amyronenko@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* Adding smooth field transforms

Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>

* Adding smooth field transforms

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

* Adding smooth field transforms

Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>

* Adding smooth field transforms

Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>

* Updates to smooth field transforms

Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>

* Updates to smooth field transforms

Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>

* Updates to smooth field transforms

Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>

* Updates to smooth field transforms

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: Wenqi Li <wenqil@nvidia.com>
Co-authored-by: dongy <dongy@nvidia.com>
* fixes typos in docstring

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

* fixes type errors

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

* fixes the docstrings

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

* fixes typo

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

Co-authored-by: Wenqi Li <wenqil@nvidia.com>
* option to zip_longest

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

* adds a pad option

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

* fixes batch size

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

* update based on comments

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
wyli and others added 29 commits February 9, 2022 12:40
* ignore 60.6.0

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

* workaround #3752

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

* fixes windows issue

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] add HashCacheDataset

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add more test

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] skip min test

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix flake8

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] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

Co-authored-by: monai-bot <monai.miccai2019@gmail.com>
Co-authored-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] enhance missing key error

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update doc

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>
* [DLMED] add check for devices

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>
* [DLMED] enhance logger

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add more tests

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update doc

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix packaging test

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] remove typo

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] totally update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update handlers

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update tutorial link

Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* 3616 test downloading issues

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

* update based on comments

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

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

* skip when downloading fails

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] add save_state utility

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>

* [DLMED] add atomic and func

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] refactor saving logic

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix flake8

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] restore persistent dataset

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] simplify kwargs

Signed-off-by: Nic Ma <nma@nvidia.com>
* [DLMED] add save_state utility

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>

* [DLMED] add atomic and func

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] refactor saving logic

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix flake8

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] restore persistent dataset

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] simplify kwargs

Signed-off-by: Nic Ma <nma@nvidia.com>
* make vit support torchscript

Signed-off-by: Yiheng Wang <vennw@nvidia.com>

* add torch version restriction

Signed-off-by: Yiheng Wang <vennw@nvidia.com>

* change skip decorator order

Signed-off-by: Yiheng Wang <vennw@nvidia.com>

* remove extra cls

Signed-off-by: Yiheng Wang <vennw@nvidia.com>
…g_saver/writer (#3773)

* update saveimage and writer selector

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

* more tests

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

* more tests

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

* adds saving loading tests

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

* fixes #3783

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

* enhance import checks

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

* warn to exception; int check

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

* fixes tests

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

* update based on comments

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

* fixes #3787

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

* unit testing

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

Co-authored-by: Wenqi Li <wenqil@nvidia.com>
* update largest cc function

Signed-off-by: Dong Yang <dongy@dongy-mlt.client.nvidia.com>

* update largest cc function

Signed-off-by: Dong Yang <dongy@dongy-mlt.client.nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update largest cc function

Signed-off-by: Dong Yang <dongy@dongy-mlt.client.nvidia.com>

* update largest cc function

Signed-off-by: Dong Yang <dongy@dongy-mlt.client.nvidia.com>

* update largest cc function

Signed-off-by: Dong Yang <dongy@dongy-mlt.client.nvidia.com>

* update largest cc function

Signed-off-by: Dong Yang <dongy@dongy-mlt.client.nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update largest cc function

Signed-off-by: Dong Yang <dongy@dongy-mlt.client.nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update largest cc function

Signed-off-by: Dong Yang <dongy@dongy-mlt.client.nvidia.com>

* update largest cc function

Signed-off-by: Dong Yang <dongy@dongy-mlt.client.nvidia.com>

* update largest cc function

Signed-off-by: Dong Yang <dongy@dongy-mlt.client.nvidia.com>

* update largest cc function

Signed-off-by: Dong Yang <dongy@dongy-mlt.client.nvidia.com>

* update largest cc function

Signed-off-by: Dong Yang <dongy@dongy-mlt.client.nvidia.com>

* update repo

Signed-off-by: dongy <dongy@nvidia.com>

Co-authored-by: Dong Yang <dongy@dongy-mlt.client.nvidia.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: dongy <dongy@nvidia.com>
* [DLMED] add ensure_channel_first

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: Wenqi Li <wenqil@nvidia.com>
* fixes #3791

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

* update docstring of invertd, update based on comments

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

* fixes typo

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Peixin Li <pxli@nyu.edu>

Co-authored-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* fixes #3791

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

* update docstring of invertd, update based on comments

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

* fixes typo

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
…tes (#3489)

* update changelog for v0.8.1

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

* rc4

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

* prepare for mmar verion updates

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

* update for 0.8.1

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
…tes (#3489)

* update changelog for v0.8.1

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

* rc4

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

* prepare for mmar verion updates

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

* update for 0.8.1

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
* [DLMED] add ConfigComponent

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] totally update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add excludes

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update ComponentScanner

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] enhance doc

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] use load_submodules

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] remove locate

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add test to ensure all components support `locate`

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix min_tests

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>

* [DLMED] add more doc-strings

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix flake8

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] extract ConfigItem base class

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] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* update instantiate util

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

* [DLMED] optimize design

Signed-off-by: Nic Ma <nma@nvidia.com>

* update docstring

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

* updating ConfigComponent

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

* revise confi*

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

* [DLMED] fix unit tests

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update function name

Signed-off-by: Nic Ma <nma@nvidia.com>

Co-authored-by: Wenqi Li <wenqil@nvidia.com>
@Nic-Ma Nic-Ma merged commit f34ad75 into Nic-Ma:3482-reference-resolver Feb 18, 2022
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.