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 #395

Merged
merged 488 commits into from
Mar 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
488 commits
Select commit Hold shift + click to select a range
8a47227
Add base class for workflows (#3445)
Nic-Ma Dec 7, 2021
a17813b
Enhance deprecated arg for kwargs in CSV datasets (#3446)
Nic-Ma Dec 7, 2021
98c1c43
3293 Remove extra deep supervision modules of DynUNet (#3427)
yiheng-wang-nv Dec 7, 2021
29e9ab3
471- fixes deprecated args (#3447)
wyli Dec 7, 2021
a7bc4a3
improve error message if reader nott available (#3457)
rijobro Dec 8, 2021
d2543ad
adds the missing imports (#3462)
wyli Dec 9, 2021
82576e7
revise MILModel docstring (#3459)
wyli Dec 9, 2021
4b5ad0b
deprecate reduction (#3464)
wyli Dec 9, 2021
5b36d02
3444 Add DatasetFunc (#3456)
Nic-Ma Dec 10, 2021
89f0bd4
Add missing components to API doc (#3468)
Nic-Ma Dec 10, 2021
d386213
3466 3467 Add `channel_wise` and correct doc-string (#3469)
Nic-Ma Dec 12, 2021
a4c1300
[DLMED] remove cls (#3475)
Nic-Ma Dec 13, 2021
360c52f
Add Iteration base class (#3472)
Nic-Ma Dec 13, 2021
cb70e13
fix link error (#3488)
yiheng-wang-nv Dec 14, 2021
9ef0070
3465 Support string as dtype (#3478)
Nic-Ma Dec 14, 2021
2cbb54c
Add Iteration base class (#3472)
Nic-Ma Dec 13, 2021
45af170
fix link error (#3488)
yiheng-wang-nv Dec 14, 2021
9ccc5ee
3465 Support string as dtype (#3478)
Nic-Ma Dec 14, 2021
7a66f18
[DLMED] update to 0.4.7 (#3483)
Nic-Ma Dec 14, 2021
f6648a3
Improve NVTX Range Naming (#3484)
bhashemian Dec 14, 2021
9927691
3471 3491 Add example images for intensity transforms (#3494)
Nic-Ma Dec 15, 2021
88d91d6
Make bending energy loss invariant to resolution (#3493)
ebrahimebrahim Dec 15, 2021
3761ee0
Removes redundant casting -- ensure tuple (#3495)
wyli Dec 16, 2021
a255648
3498 Correct `kwargs` arg for `convert_to_torchscript` (#3499)
Nic-Ma Dec 16, 2021
531c276
update tests with 1.10.1 (#3500)
wyli Dec 17, 2021
d663d78
3501 Add dict version SavitzkyGolaySmoothd (#3502)
Nic-Ma Dec 17, 2021
d2861a2
remove file (#3507)
wyli Dec 20, 2021
29779d1
avoid 60.0.0 (#3514)
wyli Dec 20, 2021
c9d38f0
[DLMED] add 6 new transform images (#3512)
Nic-Ma Dec 20, 2021
1d3a9d7
support of reversed indexing (#3508)
wyli Dec 20, 2021
9734478
Adding Torchscript utility functions (#3138)
ericspod Dec 21, 2021
8e2ade5
3517 Refine AddCoordinateChannels transform (#3524)
Nic-Ma Dec 21, 2021
1516ca7
3521 Copyright header update (#3522)
wyli Dec 21, 2021
299a0d1
3521 - adds a util to check the licence info (#3523)
wyli Dec 21, 2021
58ded72
3350 Remove PyTorch 1.5.x related logic and mark versions for all new…
Nic-Ma Dec 21, 2021
08f9bac
3533 Update PyTorch docker to 21.12 (#3534)
Nic-Ma Dec 22, 2021
9caa1d0
3531 Add args to subclass of CacheDataset (#3532)
Nic-Ma Dec 22, 2021
6767959
3525 Fix invertible issue in OneOf compose (#3530)
Nic-Ma Dec 22, 2021
e655b4e
3535 - drop python 36 support (#3536)
wyli Dec 23, 2021
21c5f6d
3541 has cupy check (#3544)
wyli Dec 24, 2021
7f23f38
3053 release *_dist.py tests memory to avoid OOM (#3537)
wyli Dec 24, 2021
29bc93b
3539 Remove decollate warning (#3545)
Nic-Ma Dec 24, 2021
df75199
[DLMED] enhance set_determinism (#3547)
Nic-Ma Dec 24, 2021
2e492a9
Smooth Deform (#3551)
ericspod Dec 30, 2021
05f8219
3552 - runtest.sh defaults to no build/install (#3555)
wyli Dec 30, 2021
c8e7fe1
Remove apply_same_field (#3556)
ericspod Dec 30, 2021
885d5b9
skipping pretraining network loading when downloading is unsuccessful…
wyli Dec 31, 2021
ba23afd
[DLMED] fix mypy errors (#3562)
Nic-Ma Jan 1, 2022
adca1bb
3559 Enhance `DatasetSummary` for several points (#3560)
Nic-Ma Jan 1, 2022
9417ff2
[pre-commit.ci] pre-commit suggestions (#3568)
pre-commit-ci[bot] Jan 4, 2022
bf133e6
Improve NVTX Range Naming (#3484)
bhashemian Dec 14, 2021
64c69ca
Removes redundant casting -- ensure tuple (#3495)
wyli Dec 16, 2021
6ac68ce
avoid 60.0.0 (#3514)
wyli Dec 20, 2021
bf344c6
3525 Fix invertible issue in OneOf compose (#3530)
Nic-Ma Dec 22, 2021
1825acd
3539 Remove decollate warning (#3545)
Nic-Ma Dec 24, 2021
cb4dd49
[DLMED] enhance set_determinism (#3547)
Nic-Ma Dec 24, 2021
5bce120
skipping pretraining network loading when downloading is unsuccessful…
wyli Dec 31, 2021
8f317dd
[DLMED] fix mypy errors (#3562)
Nic-Ma Jan 1, 2022
a7835ab
3565 - adds metadata when loading dicom series (#3566)
wyli Jan 4, 2022
bb4ad5f
3580 - create codeql-analysis.yml (#3579)
wyli Jan 5, 2022
4bd13fe
498 Add logger_handler to LrScheduleHandler (#3570)
Nic-Ma Jan 5, 2022
cdcd524
update issue template for questions (#3597)
wyli Jan 6, 2022
91777d0
3581 Enhance `slice_channels` utility function (#3585)
Nic-Ma Jan 7, 2022
1913086
3600 Apply unused `kwargs` for 3rd party APIs in WSIReader (#3601)
Nic-Ma Jan 7, 2022
a93b8cc
conda environment yaml file (#3584)
rijobro Jan 7, 2022
3269851
3610 Add ascontiguous utility and check in CacheDataset (#3614)
Nic-Ma Jan 9, 2022
e163992
3609 - conda environment-dev.yml test (#3612)
wyli Jan 9, 2022
a0d2558
3616 test downloading issues (#3617)
wyli Jan 9, 2022
24404f4
[DLMED] fix dtype issue (#3625)
Nic-Ma Jan 10, 2022
3c6ee69
3628 0-d array to_contiguous (#3629)
wyli Jan 10, 2022
82d2f16
3559 Enhance `DatasetSummary` for several points (#3560)
Nic-Ma Jan 1, 2022
4687a0c
3565 - adds metadata when loading dicom series (#3566)
wyli Jan 4, 2022
c550810
498 Add logger_handler to LrScheduleHandler (#3570)
Nic-Ma Jan 5, 2022
fe1a259
3581 Enhance `slice_channels` utility function (#3585)
Nic-Ma Jan 7, 2022
a30f170
3600 Apply unused `kwargs` for 3rd party APIs in WSIReader (#3601)
Nic-Ma Jan 7, 2022
941f7d3
3610 Add ascontiguous utility and check in CacheDataset (#3614)
Nic-Ma Jan 9, 2022
5353d39
[DLMED] fix dtype issue (#3625)
Nic-Ma Jan 10, 2022
5807f5d
3628 0-d array to_contiguous (#3629)
wyli Jan 10, 2022
2fef7ff
3624 Add kwargs to torch APIs of utilities (#3631)
Nic-Ma Jan 10, 2022
83f8b06
capture windows permission error (#3633)
wyli Jan 11, 2022
be1c362
3632 Enhance GridPatchDataset for iterable API and data source (#3636)
Nic-Ma Jan 11, 2022
523a047
[DLMED] add missing doc-string (#3646)
Nic-Ma Jan 12, 2022
12955c5
3621 update get_rank calls (#3641)
wyli Jan 12, 2022
d58e234
update meshgrid (#3644)
wyli Jan 12, 2022
35c2b37
`EnsureChannelFirst`: avoid re-creation of `AddChannel` (#3649)
rijobro Jan 12, 2022
cd177c0
3578 Support single channel with OneHot format in KeepLargestConnecte…
Nic-Ma Jan 13, 2022
459b081
moveaxis and typing enhancements (#3648)
wyli Jan 13, 2022
f089659
3648 Enhance correct centers for crop (#3652)
Nic-Ma Jan 13, 2022
3a26702
option to occlude all channels simultaneously (#3543)
rijobro Jan 13, 2022
ceb71ab
removes duplicated docstring rendering (#3651)
wyli Jan 13, 2022
b9ef673
black with pip (#3653)
rijobro Jan 13, 2022
4ffe588
lint tests (#3656)
rijobro Jan 13, 2022
6092b4d
pytype working for macOS (#3657)
rijobro Jan 13, 2022
d646120
Delete testdata.nrrd (#3658)
wyli Jan 13, 2022
a8ff27c
3654 remove some flake8 errors ignore (#3659)
wyli Jan 14, 2022
a644b40
3661 Add default values to CopyItems transform (#3662)
Nic-Ma Jan 14, 2022
40257f5
[DLMED] add label transform (#3666)
Nic-Ma Jan 14, 2022
e0db5a5
install from/with conda (#3667)
rijobro Jan 14, 2022
b2cc166
DictPostFixes (#3671)
rijobro Jan 18, 2022
c327cfa
[DLMED] change to warning (#3675)
Nic-Ma Jan 18, 2022
c2b6459
3595 - adds a folder layout class (#3655)
wyli Jan 18, 2022
b4f8ff1
3672 Add more messages for AUC warning (#3676)
Nic-Ma Jan 19, 2022
2500edd
3670 Fix channel_dim in ITKReader and add in it NibabelReader (#3678)
Nic-Ma Jan 19, 2022
ab14b8b
Update make_nifti (#3682)
rijobro Jan 19, 2022
50c201c
support stack of images with channels (#3680)
wyli Jan 20, 2022
e96dcca
3686 Skip workflow run if data is empty or the specified epoch_length…
Nic-Ma Jan 21, 2022
a151ca8
capture windows permission error (#3633)
wyli Jan 11, 2022
c77c0b1
3632 Enhance GridPatchDataset for iterable API and data source (#3636)
Nic-Ma Jan 11, 2022
a9d6dde
[DLMED] add missing doc-string (#3646)
Nic-Ma Jan 12, 2022
fab01ae
3578 Support single channel with OneHot format in KeepLargestConnecte…
Nic-Ma Jan 13, 2022
ecc8489
3648 Enhance correct centers for crop (#3652)
Nic-Ma Jan 13, 2022
8888458
Delete testdata.nrrd (#3658)
wyli Jan 13, 2022
eb8d3b2
3661 Add default values to CopyItems transform (#3662)
Nic-Ma Jan 14, 2022
be10900
[DLMED] add label transform (#3666)
Nic-Ma Jan 14, 2022
8a25812
[DLMED] change to warning (#3675)
Nic-Ma Jan 18, 2022
967c643
3672 Add more messages for AUC warning (#3676)
Nic-Ma Jan 19, 2022
fe757be
3670 Fix channel_dim in ITKReader and add in it NibabelReader (#3678)
Nic-Ma Jan 19, 2022
821a7c5
support stack of images with channels (#3680)
wyli Jan 20, 2022
8d362c1
3686 Skip workflow run if data is empty or the specified epoch_length…
Nic-Ma Jan 21, 2022
25ecc28
remove tensor-array conversion in `Orientation` (#3687)
wyli Jan 21, 2022
24b1a8f
3695 Update CI to ignite 0.4.8 (#3696)
Nic-Ma Jan 21, 2022
32a045d
adds a dev mode collate for diagnostic info (#3684)
wyli Jan 21, 2022
3907cb4
add benchmarking warp against python itk (#3692)
kate-sann5100 Jan 24, 2022
6bb97bf
Fix differentiability of generalized Dice loss (#3619)
josafatburmeister Jan 24, 2022
c2018cf
compiler warnings (#3698)
wyli Jan 24, 2022
3180c27
try to fix #3621 (#3673)
wyli Jan 25, 2022
d36b835
3710 Add support to set delimiter for CSV files and change default to…
Nic-Ma Jan 25, 2022
927483b
[DLMED] fix mode issue (#3715)
Nic-Ma Jan 26, 2022
0996aab
fixes `grid_sample`, `interpolate` URLs (#3712)
wyli Jan 26, 2022
8227cae
3716 enhance doc-strings of DenseNet (#3717)
yiheng-wang-nv Jan 27, 2022
4aa3596
pip mypy (#3722)
rijobro Jan 27, 2022
b1a96c5
update bbox docstring (#3724)
wyli Jan 27, 2022
db61a08
3725 fixes download test (#3728)
wyli Jan 28, 2022
f08f1d3
Remove assert statement from non-test files (#3745)
deepsource-autofix[bot] Jan 30, 2022
ba9cd45
3750 skip setuptool 60.6 (#3751)
wyli Jan 31, 2022
19d5d8d
Update installation.md (#3758)
rijobro Feb 1, 2022
e0643ab
3753 Update PyTorch base docker to 22.01 (#3754)
Nic-Ma Feb 1, 2022
ec5c9d5
3620 intensity range percentiles (#3685)
wyli Feb 1, 2022
6f16823
3734 Enhance `CacheDataset` to avoid duplicated cache (#3739)
Nic-Ma Feb 1, 2022
397d511
3732 Update TTA module based on latest features (#3733)
Nic-Ma Feb 1, 2022
6c75550
3747 Enhance errors and docs according to Youtube feedback (#3759)
Nic-Ma Feb 3, 2022
5cce0af
3697 add spatial resample (#3701)
wyli Feb 3, 2022
c12a54a
Fix the TTA issue related to PadListCollate logic (#3762)
Nic-Ma Feb 4, 2022
d050ea5
Update offset assign (#3764)
wyli Feb 4, 2022
816f413
2823 enhance convert_data/dst_type typing (#3749)
wyli Feb 4, 2022
62b3f6e
3765 Enhance `create_multigpu_supervised_XXX` for distributed (#3768)
Nic-Ma Feb 4, 2022
b61db79
3763 Enhance the doc of `ThreadDataLoader` for `num_workers` (#3770)
Nic-Ma Feb 6, 2022
fa066fb
update blossom config (#3771)
wyli Feb 7, 2022
afcf593
3595 3766 adds a base writer and an itk writer (#3674)
wyli Feb 7, 2022
3c96cb8
revert workaround (#3778)
wyli Feb 8, 2022
a4a6c95
3769 Enhance logger logic of StatsHandler and DataStats (#3774)
Nic-Ma Feb 8, 2022
4d0baa0
3595 Adds nibabel/pil writers (#3772)
wyli Feb 8, 2022
70f8f66
remove tensor-array conversion in `Orientation` (#3687)
wyli Jan 21, 2022
95db697
3695 Update CI to ignite 0.4.8 (#3696)
Nic-Ma Jan 21, 2022
8d7944f
Fix differentiability of generalized Dice loss (#3619)
josafatburmeister Jan 24, 2022
84f25ff
compiler warnings (#3698)
wyli Jan 24, 2022
c3aea07
3710 Add support to set delimiter for CSV files and change default to…
Nic-Ma Jan 25, 2022
533d049
[DLMED] fix mode issue (#3715)
Nic-Ma Jan 26, 2022
c2dbd08
fixes `grid_sample`, `interpolate` URLs (#3712)
wyli Jan 26, 2022
7c748ae
3716 enhance doc-strings of DenseNet (#3717)
yiheng-wang-nv Jan 27, 2022
904a937
update bbox docstring (#3724)
wyli Jan 27, 2022
d41d45b
3750 skip setuptool 60.6 (#3751)
wyli Jan 31, 2022
df25a23
3734 Enhance `CacheDataset` to avoid duplicated cache (#3739)
Nic-Ma Feb 1, 2022
1d693a7
3747 Enhance errors and docs according to Youtube feedback (#3759)
Nic-Ma Feb 3, 2022
227bad0
3765 Enhance `create_multigpu_supervised_XXX` for distributed (#3768)
Nic-Ma Feb 4, 2022
0dbf06c
3763 Enhance the doc of `ThreadDataLoader` for `num_workers` (#3770)
Nic-Ma Feb 6, 2022
8db6307
3769 Enhance logger logic of StatsHandler and DataStats (#3774)
Nic-Ma Feb 8, 2022
f9e68d2
autoformatting
wyli Feb 9, 2022
4826824
tests workaround
wyli Feb 9, 2022
d391b16
3616 test downloading issues (#3617)
wyli Jan 9, 2022
d27ab6c
3725 fixes download test (#3728)
wyli Jan 28, 2022
7c9fefb
3744 Add `save_state` utility to handle saving logic (#3780)
Nic-Ma Feb 9, 2022
3785171
3744 Add `save_state` utility to handle saving logic (#3780)
Nic-Ma Feb 9, 2022
0be3341
3432 make vit support torchscript (#3782)
yiheng-wang-nv Feb 10, 2022
127e823
2620 3595 Writer backend selector, deprecating nifti_saver/writer, pn…
wyli Feb 10, 2022
e3a9730
[DLMED] add default value (#3785)
Nic-Ma Feb 11, 2022
e2fcb97
Add GPU-enabled function "get_largest_connected_component_mask" (#3677)
dongyang0122 Feb 11, 2022
2d35301
3795 Add `ensure_channel_first` to `LoadImage` (#3796)
Nic-Ma Feb 12, 2022
eb947e8
adds alias check (#3794)
wyli Feb 12, 2022
42603b3
3791 orientation xform warning spatial dims (#3792)
wyli Feb 13, 2022
817c1cf
Update blossom-ci allow list (#3800)
pxLi Feb 14, 2022
b39e7fa
change raise error to warnings for some metrics (#3804)
yiheng-wang-nv Feb 14, 2022
e21e6ee
following https://github.com/Project-MONAI/tutorials/issues/545 (#3802)
wyli Feb 14, 2022
b2bd500
3791 orientation xform warning spatial dims (#3792)
wyli Feb 13, 2022
4e09627
change raise error to warnings for some metrics (#3804)
yiheng-wang-nv Feb 14, 2022
3a08450
following https://github.com/Project-MONAI/tutorials/issues/545 (#3802)
wyli Feb 14, 2022
9ae183b
update changelog for v0.8.1 and prepare apps.mmar module for the upda…
wyli Feb 16, 2022
71ff399
update changelog for v0.8.1 and prepare apps.mmar module for the upda…
wyli Feb 16, 2022
046e625
Merge branch 'dev' into releasing/0.8.1
wyli Feb 16, 2022
894e989
3482 Add `ConfigComponent` for config parsing (#3720)
Nic-Ma Feb 18, 2022
bcbfbdd
fixes #3708 (#3814)
wyli Feb 18, 2022
384c718
3482 Add ReferenceResolver to manage config items (#3818)
Nic-Ma Feb 19, 2022
c3db337
calculate min/max foreground (#3826)
yiheng-wang-nv Feb 21, 2022
b0f70e2
fixes #3788 according to the suggestions (#3824)
wyli Feb 21, 2022
05013c7
[3823] ResampleToMatch (#3833)
rijobro Feb 21, 2022
2770092
3708 update testing data contrib (#3835)
wyli Feb 22, 2022
fd63af4
update link in MedNISTDataset (#3840)
yiheng-wang-nv Feb 22, 2022
56205f5
Intensity augmentation transform (#3784)
yanielc Feb 22, 2022
e570c3b
3830 Fix margin size in CropForeground transform (#3837)
Nic-Ma Feb 22, 2022
2cfb896
Fix reshape in ViTAutoEnc (#3841)
razorx89 Feb 22, 2022
3af9d73
KeepLargest... by default use all labels (#3776)
rijobro Feb 22, 2022
d6327a7
add status check (#3846)
yiheng-wang-nv Feb 23, 2022
dbd3da3
3482 3829 Add `ConfigParser` to recursively parse config content (#3822)
Nic-Ma Mar 1, 2022
9737fb9
enhance to use spatial_shape ResampleToMatch (#3847)
wyli Mar 1, 2022
da5807d
[DLMED] update to 22.02 (#3869)
Nic-Ma Mar 1, 2022
84ee799
clarify the usage of set determinism (#3855)
wyli Mar 1, 2022
c35485c
Remove dead link from highlights.md (#3870)
wizofe Mar 1, 2022
5c56b55
3867 fix non intensity error (#3871)
yiheng-wang-nv Mar 1, 2022
4ffe6be
SliceInferer for slice-by-slice infererence (#3602)
surajpaib Mar 1, 2022
e45dfad
enhance contrastive loss (#3873)
yiheng-wang-nv Mar 1, 2022
7303805
Update CSVDataset in dataset.py (#3529)
nvahmadi Mar 1, 2022
82ec2fe
inverse ResampleToMatchd (#3856)
rijobro Mar 1, 2022
2ffad76
3879 Fix TestKeepLargestConnectedComponent issue (#3895)
yiheng-wang-nv Mar 7, 2022
8e588e7
support of writer name as option in SaveImage (#3885)
wyli Mar 7, 2022
16ea7d6
3883 Add addition shape info when raise related errors (#3896)
yiheng-wang-nv Mar 7, 2022
26bc1a9
update Transchex model (#3897)
ahatamiz Mar 7, 2022
4b66746
sw inferer progress (#3899)
wyli Mar 8, 2022
c319ca8
3482 add `run` API for common training, evaluation and inference (#3832)
Nic-Ma Mar 11, 2022
38b6437
Make unetr support torchscript (#3923)
yiheng-wang-nv Mar 11, 2022
0f43080
MONAI Archive Specification (#3834)
ericspod Mar 11, 2022
4c2899a
3921 - test with torch 1.11 (#3926)
wyli Mar 11, 2022
7587e71
3904 improve `output_transform` of handlers (#3913)
Nic-Ma Mar 12, 2022
f15ff93
3482 Add schema verification for `metadata` (#3865)
Nic-Ma Mar 14, 2022
d8121d2
3914 optional lps to ras (#3929)
wyli Mar 14, 2022
f22067f
fix vnet typo (#3935)
victolee0 Mar 15, 2022
3ca3066
3918 Enhance the 1st conv layer of ResNet (#3946)
yiheng-wang-nv Mar 15, 2022
3b771bb
3943 Enhance LoadImage transform for customized readers (#3944)
Nic-Ma Mar 15, 2022
33f632a
3934 smaller integration tests for monai.bundle to avoid OOM (#3941)
wyli Mar 15, 2022
6ff8535
3919 Use enums for reduction in DiceCELoss (#3953)
yiheng-wang-nv Mar 16, 2022
6ea9742
Workaround OOM issue in classification 2D integration tests (#3949)
Nic-Ma Mar 16, 2022
89056df
1201 attention unet (#3948)
juampatronics Mar 17, 2022
8e1aacf
3482 Verify network input output shape (#3927)
Nic-Ma Mar 17, 2022
55e6018
optional meta_file (#3952)
wyli Mar 17, 2022
7ee3488
update cachedataset num workers (#3963)
yiheng-wang-nv Mar 17, 2022
be25a72
[DLMED] update installation doc (#3970)
Nic-Ma Mar 21, 2022
ec19406
3942 3966 adds _requires_ and import support (#3945)
wyli Mar 21, 2022
459b188
fix fstring bugs (#3972)
yiheng-wang-nv Mar 21, 2022
40855f9
Minor change to UNet to permit greater modifiability (#3975)
ericspod Mar 22, 2022
bdeb662
Contain WSIReader to colored 2D images (#3979)
bhashemian Mar 22, 2022
42159ff
3961 fixes testing memory bug and revert the workaround (#3978)
wyli Mar 22, 2022
fbd09a1
3482 Add support for relative IDs in the config content (#3974)
Nic-Ma Mar 23, 2022
7d8bb9b
3987 - fixes docstrings and adds checks (#3988)
wyli Mar 23, 2022
f11f58c
[DLMED] fix flake8 (#3991)
Nic-Ma Mar 24, 2022
bfda331
3482 add export script for TorchScript file (#3965)
Nic-Ma Mar 24, 2022
03f8d80
3482 Add support to set config file for logging module (#3994)
Nic-Ma Mar 24, 2022
b91faa2
remove ambiguous or ops for optional args (#3997)
yiheng-wang-nv Mar 24, 2022
6d9918a
4001 update mmars (#4002)
wyli Mar 25, 2022
a676e38
Update cuCIM min dependency to support randomized transforms (#4004)
bhashemian Mar 26, 2022
df19315
4010 4016 fixes mmar integration tests (#4021)
wyli Mar 30, 2022
3947d4e
3482 - update bundle doc (#3982)
wyli Mar 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Question
about: Question relating to MONAI
title: ''
name: Question (please use the Discussion tab)
about: https://github.com/Project-MONAI/MONAI/discussions
title: 'Please use MONAI Discussion tab for questions'
labels: ''
assignees: ''
---
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ A few sentences describing the changes proposed in this pull request.
- [ ] 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`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/` folder.
2 changes: 1 addition & 1 deletion .github/workflows/blossom-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

# This job only runs for pull request comments
if: |
contains( 'madil90,Nic-Ma,wyli,', format('{0},', github.actor)) &&
contains( 'Nic-Ma,wyli,pxLi,', format('{0},', github.actor)) &&
github.event.comment.body == '/build'
steps:
- name: Check if comment is issued by authorized person
Expand Down
71 changes: 71 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ dev, main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ dev ]
schedule:
- cron: '18 1 * * 0'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'cpp', 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
# - name: Autobuild
# uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

- name: Build
run: |
python -m pip install -r requirements-dev.txt
BUILD_MONAI=1 ./runtests.sh --build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
57 changes: 57 additions & 0 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: conda

on:
schedule:
- cron: "0 3 * * *" # at 03:00 UTC
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

concurrency:
# automatically cancel the previously triggered workflows when there's a newer version
group: conda-tests-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
cron-conda:
if: github.repository == 'Project-MONAI/MONAI'
strategy:
fail-fast: false
matrix:
os: [windows-latest, macOS-latest, ubuntu-latest]
python-version: ["3.7"]
runs-on: ${{ matrix.os }}
env:
QUICKTEST: True
steps:
- if: runner.os == 'windows'
name: Config pagefile (Windows only)
uses: al-cheb/configure-pagefile-action@v1.2
with:
minimum-size: 8
maximum-size: 16
disk-root: "D:"
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Install env (CPU ${{ runner.os }})
shell: bash -l {0}
run: |
conda info
conda list
conda env create --file environment-dev.yml
- if: runner.os == 'windows'
name: Windows only install
shell: bash -l {0}
run: |
conda activate monai
# this `cpuonly` and -c conda-forge is needed to reduce the paging file size on a github instance
conda install pytorch torchvision torchaudio cpuonly -c pytorch -c conda-forge
conda deactivate
- name: Test env(CPU ${{ runner.os }})
shell: bash -l {0}
run: |
conda activate monai
$(pwd)/runtests.sh --build --unittests
conda deactivate
43 changes: 43 additions & 0 deletions .github/workflows/cron-mmar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: cron-mmar

on:
schedule:
- cron: "0 2 * * *" # at 02:00 UTC
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

concurrency:
# automatically cancel the previously triggered workflows when there's a newer version
group: mmar-tests-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
cron-load:
if: github.repository == 'Project-MONAI/MONAI'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: cache weekly timestamp
id: pip-cache
run: echo "::set-output name=datew::$(date '+%Y-%V')"
- name: cache for pip
uses: actions/cache@v2
id: cache
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ steps.pip-cache.outputs.datew }}
- name: Install dependencies
run: |
rm -rf /github/home/.cache/torch/hub/mmars/
python -m pip install --upgrade pip wheel
python -m pip install -r requirements-dev.txt
- name: Loading MMARs
run: |
# clean up temporary files
$(pwd)/runtests.sh --build --clean
# run tests
python -m tests.ngc_mmar_loading
32 changes: 17 additions & 15 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
cron-gpu:
if: github.repository == 'Project-MONAI/MONAI'
container:
image: nvcr.io/nvidia/pytorch:20.03-py3 # CUDA 10.2
image: nvcr.io/nvidia/pytorch:21.06-py3 # CUDA 11.3
options: "--gpus all"
runs-on: [self-hosted, linux, x64, common]
strategy:
matrix:
pytorch-version: [1.5.1, 1.6.0, 1.7.1, 1.8.1, latest]
pytorch-version: [1.6.0, 1.7.1, 1.8.1, 1.9.1, latest]
steps:
- uses: actions/checkout@v2
- name: Install the dependencies
Expand All @@ -25,14 +25,14 @@ jobs:
python -m pip uninstall -y torch torchvision
if [ ${{ matrix.pytorch-version }} == "latest" ]; then
python -m pip install torch torchvision
elif [ ${{ matrix.pytorch-version }} == "1.5.1" ]; then
python -m pip install torch==1.5.1 torchvision==0.6.1
elif [ ${{ matrix.pytorch-version }} == "1.6.0" ]; then
python -m pip install torch==1.6.0 torchvision==0.7.0
elif [ ${{ matrix.pytorch-version }} == "1.7.1" ]; then
python -m pip install torch==1.7.1 torchvision==0.8.2
elif [ ${{ matrix.pytorch-version }} == "1.8.1" ]; then
python -m pip install torch==1.8.1 torchvision==0.9.1
elif [ ${{ matrix.pytorch-version }} == "1.9.1" ]; then
python -m pip install torch==1.9.1 torchvision==0.10.1
fi
python -m pip install -r requirements-dev.txt
python -m pip list
Expand All @@ -48,8 +48,8 @@ jobs:
python -c $'import torch\na,b=torch.zeros(1,device="cuda:0"),torch.zeros(1,device="cuda:1");\nwhile True:print(a,b)' > /dev/null &
python -c "import torch; print(torch.__version__); print('{} of GPUs available'.format(torch.cuda.device_count()))"
python -c 'import torch; print(torch.rand(5, 3, device=torch.device("cuda:0")))'
BUILD_MONAI=1 ./runtests.sh --coverage --unittests # unit tests with coverage report
BUILD_MONAI=1 ./runtests.sh --coverage --net # integration tests with coverage report
BUILD_MONAI=1 ./runtests.sh --build --coverage --unittests --disttests # unit tests with coverage report
BUILD_MONAI=1 ./runtests.sh --build --coverage --net # integration tests with coverage report
coverage xml
if pgrep python; then pkill python; fi
- name: Upload coverage
Expand All @@ -62,7 +62,7 @@ jobs:
if: github.repository == 'Project-MONAI/MONAI'
strategy:
matrix:
container: ["pytorch:21.02", "pytorch:21.08"] # 21.02 for backward comp.
container: ["pytorch:21.02", "pytorch:21.10", "pytorch:22.02"] # 21.02, 21.10 for backward comp.
container:
image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image
options: "--gpus all"
Expand Down Expand Up @@ -91,8 +91,8 @@ jobs:
python -c $'import torch\na,b=torch.zeros(1,device="cuda:0"),torch.zeros(1,device="cuda:1");\nwhile True:print(a,b)' > /dev/null &
python -c "import torch; print(torch.__version__); print('{} of GPUs available'.format(torch.cuda.device_count()))"
python -c 'import torch; print(torch.rand(5, 3, device=torch.device("cuda:0")))'
BUILD_MONAI=1 ./runtests.sh --coverage --unittests # unit tests with coverage report
BUILD_MONAI=1 ./runtests.sh --coverage --net # integration tests with coverage report
BUILD_MONAI=1 ./runtests.sh --build --coverage --unittests --disttests # unit tests with coverage report
BUILD_MONAI=1 ./runtests.sh --build --coverage --net # integration tests with coverage report
coverage xml
if pgrep python; then pkill python; fi
- name: Upload coverage
Expand All @@ -106,7 +106,7 @@ jobs:
if: github.repository == 'Project-MONAI/MONAI'
strategy:
matrix:
container: ["pytorch:21.02", "pytorch:21.08"] # 21.02 for backward comp.
container: ["pytorch:21.02", "pytorch:21.10", "pytorch:22.02"] # 21.02, 21.10 for backward comp.
container:
image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image
options: "--gpus all"
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
cron-docker:
if: github.repository == 'Project-MONAI/MONAI'
container:
image: localhost:5000/local_monai:dockerhub # use currently latest, locally available dockerhub image
image: docker://projectmonai/monai:latest # this might be slow and has the pull count limitations
options: "--gpus all"
runs-on: [self-hosted, linux, x64, common]
steps:
Expand All @@ -190,8 +190,8 @@ jobs:
python -c "import torch; print(torch.__version__); print('{} of GPUs available'.format(torch.cuda.device_count()))"
python -c 'import torch; print(torch.rand(5,3, device=torch.device("cuda:0")))'
ngc --version
BUILD_MONAI=1 ./runtests.sh --coverage --pytype --unittests # unit tests with pytype checks, coverage report
BUILD_MONAI=1 ./runtests.sh --coverage --net # integration tests with coverage report
BUILD_MONAI=1 ./runtests.sh --build --coverage --pytype --unittests --disttests # unit tests with pytype checks, coverage report
BUILD_MONAI=1 ./runtests.sh --build --coverage --net # integration tests with coverage report
coverage xml
if pgrep python; then pkill python; fi
- name: Upload coverage
Expand All @@ -204,7 +204,7 @@ jobs:
if: github.repository == 'Project-MONAI/MONAI'
needs: cron-gpu # so that monai itself is verified first
container:
image: nvcr.io/nvidia/pytorch:21.08-py3 # testing with the latest pytorch base image
image: nvcr.io/nvidia/pytorch:22.02-py3 # testing with the latest pytorch base image
options: "--gpus all --ipc=host"
runs-on: [self-hosted, linux, x64, common]
steps:
Expand All @@ -215,7 +215,7 @@ jobs:
which python
python -m pip install --upgrade pip wheel
python -m pip install -r requirements-dev.txt
BUILD_MONAI=0 python setup.py develop # install monai
BUILD_MONAI=1 python setup.py develop # install monai
nvidia-smi
export CUDA_VISIBLE_DEVICES=$(python -m tests.utils)
echo $CUDA_VISIBLE_DEVICES
Expand All @@ -234,5 +234,7 @@ jobs:
trap 'if pgrep python; then pkill python; fi;' ERR
python -c $'import torch\na,b=torch.zeros(1,device="cuda:0"),torch.zeros(1,device="cuda:1");\nwhile True:print(a,b)' > /dev/null &
cd /opt/tutorials
python -c 'import monai; monai.config.print_debug_info()'
$(pwd)/runner.sh
python -c 'import monai; monai.config.print_debug_info()'
if pgrep python; then pkill python; fi
Loading