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 #424
Merged
Merged
merge master #424
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
* Adding discussion on format to bundle specification Signed-off-by: Eric Kerfoot <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates: - [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](asottile/pyupgrade@v2.31.0...v2.31.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [DLMED] change PatchIter to be a transform Signed-off-by: Nic Ma <[email protected]> * [DLMED] add dict transform Signed-off-by: Nic Ma <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [DLMED] add unit tests Signed-off-by: Nic Ma <[email protected]> * [DLMED] store coords in dict Signed-off-by: Nic Ma <[email protected]> * [DLMED] update according to comments Signed-off-by: Nic Ma <[email protected]> * [DLMED] restore the doc-string Signed-off-by: Nic Ma <[email protected]> * [DLMED] store more info Signed-off-by: Nic Ma <[email protected]> * [DLMED] update according to comments Signed-off-by: Nic Ma <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Fix a logical error in level verification Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
* Refactor `if` expression * update clang format Signed-off-by: Wenqi Li <[email protected]> * [MONAI] python code formatting Signed-off-by: monai-bot <[email protected]> Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> Co-authored-by: monai-bot <[email protected]>
* SplitDim Signed-off-by: Richard Brown <[email protected]> * fix Signed-off-by: Richard Brown <[email protected]> * fixes Signed-off-by: Richard Brown <[email protected]> * fix update meta Signed-off-by: Richard Brown <[email protected]> * update docs Signed-off-by: Wenqi Li <[email protected]> Co-authored-by: Wenqi Li <[email protected]>
* update mmar tests Signed-off-by: Wenqi Li <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fixes pylint error Signed-off-by: Wenqi Li <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* extend mlp Signed-off-by: Wenqi Li <[email protected]> * 0 mlp_dim Signed-off-by: Wenqi Li <[email protected]> * update based on comments Signed-off-by: Wenqi Li <[email protected]>
* added 2D (normalized) surface dice metric Signed-off-by: Silvia Seidlitz <[email protected]> * exclude from min tests Signed-off-by: Wenqi Li <[email protected]> * more detailled docstring Signed-off-by: Silvia Seidlitz <[email protected]>
* Fix doc strings error Signed-off-by: Yiheng Wang <[email protected]> * remove duplicate places Signed-off-by: Yiheng Wang <[email protected]>
* update sys req Signed-off-by: Wenqi Li <[email protected]> * temp test Signed-off-by: Wenqi Li <[email protected]> * update code for torch>=1.7 Signed-off-by: Wenqi Li <[email protected]> * temp tests Signed-off-by: Wenqi Li <[email protected]> * fixes tests Signed-off-by: Wenqi Li <[email protected]> * autofix Signed-off-by: Wenqi Li <[email protected]> * fixes import Signed-off-by: Wenqi Li <[email protected]> * clear cache Signed-off-by: Wenqi Li <[email protected]> * update based on comments Signed-off-by: Wenqi Li <[email protected]> * remove temp cmd Signed-off-by: Wenqi Li <[email protected]>
* Update the existing functionality to comply with the `torchscript.jit.script` function. Signed-off-by: Ramon Emiliani <[email protected]>
* meta tensor Signed-off-by: Richard Brown <[email protected]>
* [DLMED] add kwargs for to() API Signed-off-by: Nic Ma <[email protected]> * [MONAI] python code formatting Signed-off-by: monai-bot <[email protected]> * [DLMED] fix typo Signed-off-by: Nic Ma <[email protected]> * [DLMED] fix flake8 Signed-off-by: Nic Ma <[email protected]> * [DLMED] update according to comments Signed-off-by: Nic Ma <[email protected]> Co-authored-by: monai-bot <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
* update meta tensor api Signed-off-by: Wenqi Li <[email protected]> * update based on comments Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
to and from meta
* no skip if before pytorch 1.7 Signed-off-by: Richard Brown <[email protected]> * fix Signed-off-by: Richard Brown <[email protected]> * fix Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
* [DLMED] fix typo in bundle scripts Signed-off-by: Nic Ma <[email protected]> * [DLMED] add support for AMP args Signed-off-by: Nic Ma <[email protected]> * [MONAI] python code formatting Signed-off-by: monai-bot <[email protected]> * [DLMED] fix flake8 Signed-off-by: Nic Ma <[email protected]> Co-authored-by: monai-bot <[email protected]>
* [DLMED] update Workflow.py Signed-off-by: Nic Ma <[email protected]> * [DLMED] update all the engines Signed-off-by: Nic Ma <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [DLMED] fix flake8 Signed-off-by: Nic Ma <[email protected]> * [DLMED] fix flake8 Signed-off-by: Nic Ma <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Implement WSIReader with OpenSlide backend . Signed-off-by: Behrooz <[email protected]> * Add unittest for openslide Signed-off-by: Behrooz <[email protected]> * Add docs Signed-off-by: Behrooz <[email protected]> * formatting Signed-off-by: Behrooz <[email protected]> * Update imports and few fixes Signed-off-by: Behrooz <[email protected]> * Fix x,y in docstrings Signed-off-by: Behrooz <[email protected]> * Address comments Signed-off-by: Behrooz <[email protected]> * Remove x and y Signed-off-by: Behrooz <[email protected]>
* Implement PatchWSIDataset Signed-off-by: Behrooz <[email protected]> * Add unittests Signed-off-by: Behrooz <[email protected]> * Add docs Signed-off-by: Behrooz <[email protected]> * Reorder imports Signed-off-by: Behrooz <[email protected]> * formatting: Signed-off-by: Behrooz <[email protected]> * Address comments Signed-off-by: Behrooz <[email protected]> * Update to be compatible with Dataset Signed-off-by: Behrooz <[email protected]> * Update reader to accept str, class, object Signed-off-by: Behrooz <[email protected]> * Add test cases for various reader and level arguments Signed-off-by: Behrooz <[email protected]> * Update comment about OpenSlide cache Signed-off-by: Behrooz <[email protected]> * Rename reader_name to backend Signed-off-by: Behrooz <[email protected]> * Add new test cases Signed-off-by: Behrooz <[email protected]> * Add unittests for openslide Signed-off-by: Behrooz <[email protected]> * Add new test cases Signed-off-by: Behrooz <[email protected]> * sorts Signed-off-by: Behrooz <[email protected]> * Add docstring for kwargs Signed-off-by: Behrooz <[email protected]>
* draft download Signed-off-by: Yiheng Wang <[email protected]> * update bundle download Signed-off-by: Yiheng Wang <[email protected]> * add url and load Signed-off-by: Yiheng Wang <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * rename args and remove a few places Signed-off-by: Yiheng Wang <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix flake8 issue Signed-off-by: Yiheng Wang <[email protected]> * enhance with reviews Signed-off-by: Yiheng Wang <[email protected]> * add instantiate for load Signed-off-by: Yiheng Wang <[email protected]> * fix black error Signed-off-by: Yiheng Wang <[email protected]> * add unittest Signed-off-by: Yiheng Wang <[email protected]> * add load to docs Signed-off-by: Yiheng Wang <[email protected]> * add skip Signed-off-by: Yiheng Wang <[email protected]> * add schemaerror Signed-off-by: Yiheng Wang <[email protected]> * fix partial places Signed-off-by: Yiheng Wang <[email protected]> * download zip bundle Signed-off-by: Yiheng Wang <[email protected]> * [DLMED] restore Exception for test Signed-off-by: Nic Ma <[email protected]> * update ts features Signed-off-by: Yiheng Wang <[email protected]> * add config_files test case Signed-off-by: Yiheng Wang <[email protected]> * enhance docstring example for args_file Signed-off-by: Yiheng Wang <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Nic Ma <[email protected]>
* workaround Signed-off-by: Nic Ma <[email protected]> * [DLMED] fix tifffile issue Signed-off-by: Nic Ma <[email protected]>
* Implement MaskedPatchWSIDataset Signed-off-by: Behrooz <[email protected]> * Add unittests Signed-off-by: Behrooz <[email protected]> * Update the min verison for skimage to 0.19.0 Signed-off-by: Behrooz <[email protected]> * Add channel last for wsireader Signed-off-by: Behrooz <[email protected]> * Replace all wsi patch key related with WSIPatchKeys Signed-off-by: Behrooz <[email protected]> * Update ProbMapKeys.NAME Signed-off-by: Behrooz <[email protected]> * Update GridPatch and iter_patch to support no padding Signed-off-by: Behrooz <[email protected]> * Add threshold for filtering to grid patch Signed-off-by: Behrooz <[email protected]>
* Added GeneralizedDiceFocalLoss to losses. Added GeneralizedDiceScore to metrics. Added function to check whether tensors are binarized to metrics.util and refactored metrics to use it. Signed-off-by: João Lourenço Silva <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Refactored monai.metrics.utils.is_binary_tensor function to receive name of the tensor as argument and issue warnings directly * Refactored metric classes to use is_binary_tensor function
adds download link Signed-off-by: Wenqi Li <[email protected]>
* support of subplots axes input Signed-off-by: Wenqi Li <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Adding thread worker option to ThreadDataLoader Signed-off-by: Eric Kerfoot <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fixes Signed-off-by: Eric Kerfoot <[email protected]> * Fixes Signed-off-by: Eric Kerfoot <[email protected]> * Reworking of implementation with global data fix Signed-off-by: Eric Kerfoot <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix Signed-off-by: Eric Kerfoot <[email protected]> * Fix Signed-off-by: Eric Kerfoot <[email protected]> * Fix Signed-off-by: Eric Kerfoot <[email protected]> * Fix Signed-off-by: Eric Kerfoot <[email protected]> * Tweak to cleanup Signed-off-by: Eric Kerfoot <[email protected]> * Try to disable thread test to see if global data is causing failure Signed-off-by: Eric Kerfoot <[email protected]> * Undoing Signed-off-by: Eric Kerfoot <[email protected]> * Update Signed-off-by: Eric Kerfoot <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix Signed-off-by: Eric Kerfoot <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* add box rot90 Signed-off-by: Can Zhao <[email protected]> * docstring Signed-off-by: Can Zhao <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstring typos Signed-off-by: Can Zhao <[email protected]> * add case k=0 Signed-off-by: Can Zhao <[email protected]> * typo Signed-off-by: Can Zhao <[email protected]> * fix bug Signed-off-by: Can Zhao <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Wenqi Li <[email protected]>
[DLMED] enhance docs Signed-off-by: Nic Ma <[email protected]>
* [DLMED] enhance doc according to user's feedback Signed-off-by: Nic Ma <[email protected]> * [DLMED] update fast training tutorial Signed-off-by: Nic Ma <[email protected]> * [DLMED] add bundle description Signed-off-by: Nic Ma <[email protected]> * [DLMED] add swin unetr Signed-off-by: Nic Ma <[email protected]> * [DLMED] add ImageWriter Signed-off-by: Nic Ma <[email protected]> * [DLMED] add DeepEdit Signed-off-by: Nic Ma <[email protected]> * [DLMED] add Nuclick for Nuclei segmentation Signed-off-by: Nic Ma <[email protected]> * [DLMED] update pathology Signed-off-by: Nic Ma <[email protected]> * [DLMED] clear files Signed-off-by: Nic Ma <[email protected]> * [DLMED] add detection Signed-off-by: Nic Ma <[email protected]> * docs update Signed-off-by: Wenqi Li <[email protected]> * [DLMED] fix wrong links Signed-off-by: Nic Ma <[email protected]> * [DLMED] update detection chart Signed-off-by: Nic Ma <[email protected]> * update Signed-off-by: Wenqi Li <[email protected]> Co-authored-by: Wenqi Li <[email protected]> Co-authored-by: Wenqi Li <[email protected]>
* add box convert to world coordinate transform Signed-off-by: Can Zhao <[email protected]> * add test Signed-off-by: Can Zhao <[email protected]>
skip unused resampling Signed-off-by: Wenqi Li <[email protected]>
* iterables enhancements Signed-off-by: Wenqi Li <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update based on comments Signed-off-by: Wenqi Li <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update based on comments Signed-off-by: Wenqi Li <[email protected]> * fixes tests Signed-off-by: Wenqi Li <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* enhance swin_unetr relative position Signed-off-by: ahatamizadeh <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
update versions Signed-off-by: Wenqi Li <[email protected]>
changed ngc download url and folder structure Signed-off-by: Yanxuan Liu <[email protected]>
Fixed generalized dice score to be 1 if denominator is 0 and prediction is empty, and 0 if denominator is 0 but prediction is not empty Signed-off-by: João Lourenço Silva <[email protected]>
[DLMED] update doc Signed-off-by: Nic Ma <[email protected]>
* changed ngc download url and folder structure Signed-off-by: Yanxuan Liu <[email protected]> * added ngc-cli to PATH Signed-off-by: Yanxuan Liu <[email protected]> Co-authored-by: Yanxuan Liu <[email protected]>
corner case in test Signed-off-by: Can Zhao <[email protected]>
* MetaTensor non-breaking changes Signed-off-by: Richard Brown <[email protected]>
fixes #4530 Signed-off-by: Wenqi Li <[email protected]>
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 --disttests
.make html
command in thedocs/
folder.