monai-weekly 1.4.dev2425__py3-none-any.whl → 1.4.dev2427__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. monai/__init__.py +1 -1
  2. monai/_version.py +3 -3
  3. monai/apps/deepedit/transforms.py +1 -1
  4. monai/apps/deepgrow/transforms.py +1 -1
  5. monai/apps/generation/__init__.py +10 -0
  6. monai/apps/generation/maisi/__init__.py +10 -0
  7. monai/apps/generation/maisi/networks/__init__.py +10 -0
  8. monai/apps/generation/maisi/networks/autoencoderkl_maisi.py +975 -0
  9. monai/apps/generation/maisi/networks/controlnet_maisi.py +178 -0
  10. monai/apps/generation/maisi/networks/diffusion_model_unet_maisi.py +410 -0
  11. monai/apps/generation/maisi/utils/__init__.py +10 -0
  12. monai/apps/generation/maisi/utils/morphological_ops.py +170 -0
  13. monai/apps/nuclick/transforms.py +1 -1
  14. monai/apps/pathology/transforms/post/array.py +1 -1
  15. monai/apps/pathology/utils.py +2 -2
  16. monai/data/torchscript_utils.py +1 -1
  17. monai/data/ultrasound_confidence_map.py +41 -10
  18. monai/losses/dice.py +10 -3
  19. monai/metrics/utils.py +3 -3
  20. monai/optimizers/lr_finder.py +1 -1
  21. monai/transforms/intensity/array.py +25 -2
  22. monai/transforms/signal/array.py +1 -1
  23. monai/utils/misc.py +20 -2
  24. monai/utils/module.py +6 -3
  25. {monai_weekly-1.4.dev2425.dist-info → monai_weekly-1.4.dev2427.dist-info}/METADATA +6 -3
  26. {monai_weekly-1.4.dev2425.dist-info → monai_weekly-1.4.dev2427.dist-info}/RECORD +29 -21
  27. {monai_weekly-1.4.dev2425.dist-info → monai_weekly-1.4.dev2427.dist-info}/WHEEL +1 -1
  28. {monai_weekly-1.4.dev2425.dist-info → monai_weekly-1.4.dev2427.dist-info}/LICENSE +0 -0
  29. {monai_weekly-1.4.dev2425.dist-info → monai_weekly-1.4.dev2427.dist-info}/top_level.txt +0 -0
monai/__init__.py CHANGED
@@ -93,4 +93,4 @@ except BaseException:
93
93
 
94
94
  if MONAIEnvVars.debug():
95
95
  raise
96
- __commit_id__ = "08d572839ede5d087e49d4dfadba033e512528df"
96
+ __commit_id__ = "64ea76d83a92b7cf7f13c8f93498d50037c3324c"
monai/_version.py CHANGED
@@ -8,11 +8,11 @@ import json
8
8
 
9
9
  version_json = '''
10
10
  {
11
- "date": "2024-06-23T02:17:25+0000",
11
+ "date": "2024-07-07T02:18:37+0000",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "b5d71491b839191430b236bd3b233c5f29daf229",
15
- "version": "1.4.dev2425"
14
+ "full-revisionid": "cbf90d0ddb27dc96a91385e4dd2f4eb239dea976",
15
+ "version": "1.4.dev2427"
16
16
  }
17
17
  ''' # END VERSION_JSON
18
18
 
@@ -30,7 +30,7 @@ measure, _ = optional_import("skimage.measure", "0.14.2", min_version)
30
30
 
31
31
  logger = logging.getLogger(__name__)
32
32
 
33
- distance_transform_cdt, _ = optional_import("scipy.ndimage.morphology", name="distance_transform_cdt")
33
+ distance_transform_cdt, _ = optional_import("scipy.ndimage", name="distance_transform_cdt")
34
34
 
35
35
 
36
36
  class DiscardAddGuidanced(MapTransform):
@@ -27,7 +27,7 @@ from monai.utils import InterpolateMode, ensure_tuple, ensure_tuple_rep, min_ver
27
27
  from monai.utils.enums import PostFix
28
28
 
29
29
  measure, _ = optional_import("skimage.measure", "0.14.2", min_version)
30
- distance_transform_cdt, _ = optional_import("scipy.ndimage.morphology", name="distance_transform_cdt")
30
+ distance_transform_cdt, _ = optional_import("scipy.ndimage", name="distance_transform_cdt")
31
31
 
32
32
  DEFAULT_POST_FIX = PostFix.meta()
33
33
 
@@ -0,0 +1,10 @@
1
+ # Copyright (c) MONAI Consortium
2
+ # Licensed under the Apache License, Version 2.0 (the "License");
3
+ # you may not use this file except in compliance with the License.
4
+ # You may obtain a copy of the License at
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ # Unless required by applicable law or agreed to in writing, software
7
+ # distributed under the License is distributed on an "AS IS" BASIS,
8
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ # See the License for the specific language governing permissions and
10
+ # limitations under the License.
@@ -0,0 +1,10 @@
1
+ # Copyright (c) MONAI Consortium
2
+ # Licensed under the Apache License, Version 2.0 (the "License");
3
+ # you may not use this file except in compliance with the License.
4
+ # You may obtain a copy of the License at
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ # Unless required by applicable law or agreed to in writing, software
7
+ # distributed under the License is distributed on an "AS IS" BASIS,
8
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ # See the License for the specific language governing permissions and
10
+ # limitations under the License.
@@ -0,0 +1,10 @@
1
+ # Copyright (c) MONAI Consortium
2
+ # Licensed under the Apache License, Version 2.0 (the "License");
3
+ # you may not use this file except in compliance with the License.
4
+ # You may obtain a copy of the License at
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ # Unless required by applicable law or agreed to in writing, software
7
+ # distributed under the License is distributed on an "AS IS" BASIS,
8
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ # See the License for the specific language governing permissions and
10
+ # limitations under the License.