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.
- monai/__init__.py +1 -1
- monai/_version.py +3 -3
- monai/apps/deepedit/transforms.py +1 -1
- monai/apps/deepgrow/transforms.py +1 -1
- monai/apps/generation/__init__.py +10 -0
- monai/apps/generation/maisi/__init__.py +10 -0
- monai/apps/generation/maisi/networks/__init__.py +10 -0
- monai/apps/generation/maisi/networks/autoencoderkl_maisi.py +975 -0
- monai/apps/generation/maisi/networks/controlnet_maisi.py +178 -0
- monai/apps/generation/maisi/networks/diffusion_model_unet_maisi.py +410 -0
- monai/apps/generation/maisi/utils/__init__.py +10 -0
- monai/apps/generation/maisi/utils/morphological_ops.py +170 -0
- monai/apps/nuclick/transforms.py +1 -1
- monai/apps/pathology/transforms/post/array.py +1 -1
- monai/apps/pathology/utils.py +2 -2
- monai/data/torchscript_utils.py +1 -1
- monai/data/ultrasound_confidence_map.py +41 -10
- monai/losses/dice.py +10 -3
- monai/metrics/utils.py +3 -3
- monai/optimizers/lr_finder.py +1 -1
- monai/transforms/intensity/array.py +25 -2
- monai/transforms/signal/array.py +1 -1
- monai/utils/misc.py +20 -2
- monai/utils/module.py +6 -3
- {monai_weekly-1.4.dev2425.dist-info → monai_weekly-1.4.dev2427.dist-info}/METADATA +6 -3
- {monai_weekly-1.4.dev2425.dist-info → monai_weekly-1.4.dev2427.dist-info}/RECORD +29 -21
- {monai_weekly-1.4.dev2425.dist-info → monai_weekly-1.4.dev2427.dist-info}/WHEEL +1 -1
- {monai_weekly-1.4.dev2425.dist-info → monai_weekly-1.4.dev2427.dist-info}/LICENSE +0 -0
- {monai_weekly-1.4.dev2425.dist-info → monai_weekly-1.4.dev2427.dist-info}/top_level.txt +0 -0
monai/__init__.py
CHANGED
monai/_version.py
CHANGED
@@ -8,11 +8,11 @@ import json
|
|
8
8
|
|
9
9
|
version_json = '''
|
10
10
|
{
|
11
|
-
"date": "2024-
|
11
|
+
"date": "2024-07-07T02:18:37+0000",
|
12
12
|
"dirty": false,
|
13
13
|
"error": null,
|
14
|
-
"full-revisionid": "
|
15
|
-
"version": "1.4.
|
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
|
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
|
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.
|