monai-weekly 1.4.dev2427__py3-none-any.whl → 1.4.dev2428__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 +2 -2
- monai/_version.py +3 -3
- monai/apps/auto3dseg/auto_runner.py +1 -1
- monai/apps/generation/maisi/networks/autoencoderkl_maisi.py +0 -2
- monai/auto3dseg/utils.py +1 -1
- monai/transforms/io/array.py +3 -3
- {monai_weekly-1.4.dev2427.dist-info → monai_weekly-1.4.dev2428.dist-info}/METADATA +3 -3
- {monai_weekly-1.4.dev2427.dist-info → monai_weekly-1.4.dev2428.dist-info}/RECORD +11 -11
- {monai_weekly-1.4.dev2427.dist-info → monai_weekly-1.4.dev2428.dist-info}/WHEEL +1 -1
- {monai_weekly-1.4.dev2427.dist-info → monai_weekly-1.4.dev2428.dist-info}/LICENSE +0 -0
- {monai_weekly-1.4.dev2427.dist-info → monai_weekly-1.4.dev2428.dist-info}/top_level.txt +0 -0
monai/__init__.py
CHANGED
@@ -17,7 +17,7 @@ import sys
|
|
17
17
|
from ._version import get_versions
|
18
18
|
|
19
19
|
PY_REQUIRED_MAJOR = 3
|
20
|
-
PY_REQUIRED_MINOR =
|
20
|
+
PY_REQUIRED_MINOR = 9
|
21
21
|
|
22
22
|
version_dict = get_versions()
|
23
23
|
__version__: str = version_dict.get("version", "0+unknown")
|
@@ -93,4 +93,4 @@ except BaseException:
|
|
93
93
|
|
94
94
|
if MONAIEnvVars.debug():
|
95
95
|
raise
|
96
|
-
__commit_id__ = "
|
96
|
+
__commit_id__ = "14b086b553693f5d344ff054f37d12ce6839da06"
|
monai/_version.py
CHANGED
@@ -8,11 +8,11 @@ import json
|
|
8
8
|
|
9
9
|
version_json = '''
|
10
10
|
{
|
11
|
-
"date": "2024-07-
|
11
|
+
"date": "2024-07-14T02:21:44+0000",
|
12
12
|
"dirty": false,
|
13
13
|
"error": null,
|
14
|
-
"full-revisionid": "
|
15
|
-
"version": "1.4.
|
14
|
+
"full-revisionid": "2d242d8f1b2876133bcafbe7fa5d967728a74998",
|
15
|
+
"version": "1.4.dev2428"
|
16
16
|
}
|
17
17
|
''' # END VERSION_JSON
|
18
18
|
|
@@ -551,7 +551,7 @@ class AutoRunner:
|
|
551
551
|
cmd_prefix: command line prefix for subprocess running in BundleAlgo and EnsembleRunner.
|
552
552
|
Default using env "CMD_PREFIX" or None, examples are:
|
553
553
|
|
554
|
-
- single GPU/CPU or multinode bcprun: "python " or "/opt/conda/bin/python3.
|
554
|
+
- single GPU/CPU or multinode bcprun: "python " or "/opt/conda/bin/python3.9 ",
|
555
555
|
- single node multi-GPU running "torchrun --nnodes=1 --nproc_per_node=2 "
|
556
556
|
|
557
557
|
If user define this prefix, please make sure --nproc_per_node matches cuda_visible_device or
|
@@ -27,13 +27,11 @@ AttentionBlock, has_attentionblock = optional_import("generative.networks.nets.a
|
|
27
27
|
AutoencoderKL, has_autoencoderkl = optional_import("generative.networks.nets.autoencoderkl", name="AutoencoderKL")
|
28
28
|
ResBlock, has_resblock = optional_import("generative.networks.nets.autoencoderkl", name="ResBlock")
|
29
29
|
|
30
|
-
|
31
30
|
if TYPE_CHECKING:
|
32
31
|
from generative.networks.nets.autoencoderkl import AutoencoderKL as AutoencoderKLType
|
33
32
|
else:
|
34
33
|
AutoencoderKLType = cast(type, AutoencoderKL)
|
35
34
|
|
36
|
-
|
37
35
|
# Set up logging configuration
|
38
36
|
logger = logging.getLogger(__name__)
|
39
37
|
|
monai/auto3dseg/utils.py
CHANGED
@@ -407,7 +407,7 @@ def _prepare_cmd_default(cmd: str, cmd_prefix: str | None = None, **kwargs: Any)
|
|
407
407
|
|
408
408
|
Args:
|
409
409
|
cmd: the command or script to run in the distributed job.
|
410
|
-
cmd_prefix: the command prefix to run the script, e.g., "python", "python -m", "python3", "/opt/conda/bin/python3.
|
410
|
+
cmd_prefix: the command prefix to run the script, e.g., "python", "python -m", "python3", "/opt/conda/bin/python3.9 ".
|
411
411
|
kwargs: the keyword arguments to be passed to the script.
|
412
412
|
|
413
413
|
Returns:
|
monai/transforms/io/array.py
CHANGED
@@ -307,11 +307,11 @@ class SaveImage(Transform):
|
|
307
307
|
|
308
308
|
Args:
|
309
309
|
output_dir: output image directory.
|
310
|
-
|
310
|
+
Handled by ``folder_layout`` instead, if ``folder_layout`` is not ``None``.
|
311
311
|
output_postfix: a string appended to all output file names, default to `trans`.
|
312
|
-
|
312
|
+
Handled by ``folder_layout`` instead, if ``folder_layout`` is not ``None``.
|
313
313
|
output_ext: output file extension name.
|
314
|
-
|
314
|
+
Handled by ``folder_layout`` instead, if ``folder_layout`` is not ``None``.
|
315
315
|
output_dtype: data type (if not None) for saving data. Defaults to ``np.float32``.
|
316
316
|
resample: whether to resample image (if needed) before saving the data array,
|
317
317
|
based on the ``"spatial_shape"`` (and ``"original_affine"``) from metadata.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: monai-weekly
|
3
|
-
Version: 1.4.
|
3
|
+
Version: 1.4.dev2428
|
4
4
|
Summary: AI Toolkit for Healthcare Imaging
|
5
5
|
Home-page: https://monai.io/
|
6
6
|
Author: MONAI Consortium
|
@@ -16,9 +16,9 @@ Classifier: Intended Audience :: Science/Research
|
|
16
16
|
Classifier: Intended Audience :: Healthcare Industry
|
17
17
|
Classifier: Programming Language :: C++
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
19
|
-
Classifier: Programming Language :: Python :: 3.8
|
20
19
|
Classifier: Programming Language :: Python :: 3.9
|
21
20
|
Classifier: Programming Language :: Python :: 3.10
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
22
22
|
Classifier: Topic :: Scientific/Engineering
|
23
23
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
24
24
|
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
|
@@ -26,7 +26,7 @@ Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
26
26
|
Classifier: Topic :: Software Development
|
27
27
|
Classifier: Topic :: Software Development :: Libraries
|
28
28
|
Classifier: Typing :: Typed
|
29
|
-
Requires-Python: >=3.
|
29
|
+
Requires-Python: >=3.9
|
30
30
|
Description-Content-Type: text/markdown; charset=UTF-8
|
31
31
|
License-File: LICENSE
|
32
32
|
Requires-Dist: torch >=1.9
|
@@ -1,5 +1,5 @@
|
|
1
|
-
monai/__init__.py,sha256=
|
2
|
-
monai/_version.py,sha256=
|
1
|
+
monai/__init__.py,sha256=GMN5bu8HXSrLOv8JrCwUEKIVD183yWjRRzNTpu74kuU,2722
|
2
|
+
monai/_version.py,sha256=y4EFYM-nXr2YPC15t-uLLjvkpi1fvukHoIo4zV9isJI,503
|
3
3
|
monai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
monai/_extensions/__init__.py,sha256=NEBPreRhQ8H9gVvgrLr_y52_TmqB96u_u4VQmeNT93I,642
|
5
5
|
monai/_extensions/loader.py,sha256=7SiKw36q-nOzH8CRbBurFrz7GM40GCu7rc93Tm8XpnI,3643
|
@@ -13,7 +13,7 @@ monai/apps/datasets.py,sha256=msT58BoHlQFQpD4Tx-CThwAkkaUowoNZOgcH0THg0u0,35085
|
|
13
13
|
monai/apps/utils.py,sha256=aMsYUlfAeRsdQL1YM4AA79GqPbMsQ1OQau9YNevoFQ4,14452
|
14
14
|
monai/apps/auto3dseg/__init__.py,sha256=DhUB2Ol0-iNAk1ZNmD1RkTODUOhdiibv8h9MgcLuF6s,1016
|
15
15
|
monai/apps/auto3dseg/__main__.py,sha256=fCDhD8uhmJQKkKBxLO6hMJhEvZJRIsjTc1Ad3bYmNIY,1411
|
16
|
-
monai/apps/auto3dseg/auto_runner.py,sha256=
|
16
|
+
monai/apps/auto3dseg/auto_runner.py,sha256=a4Ry93TkK0aTb68bwle8HoG4SzUbUf0IbDrY33jTReg,40106
|
17
17
|
monai/apps/auto3dseg/bundle_gen.py,sha256=y_9lbw0xk1em0TsIn7mTJHmD3OQNcNZVsjgkhdYg0Lw,28994
|
18
18
|
monai/apps/auto3dseg/data_analyzer.py,sha256=XJuQ-bSE3G_6r2i6S75jjo-klWTUGpy5aY3WqijSWqk,18628
|
19
19
|
monai/apps/auto3dseg/ensemble_builder.py,sha256=GaLpeAIW5X9oC921cevE86coOsmXW2C136FHuo6UyMo,27277
|
@@ -49,7 +49,7 @@ monai/apps/detection/utils/predict_utils.py,sha256=6j7U-7pLtbmgE6SXKR_MVImc67-M8
|
|
49
49
|
monai/apps/generation/__init__.py,sha256=s9djSd6kvViPnFvMR11Dgd30Lv4oY6FaPJr4ZZJZLq0,573
|
50
50
|
monai/apps/generation/maisi/__init__.py,sha256=s9djSd6kvViPnFvMR11Dgd30Lv4oY6FaPJr4ZZJZLq0,573
|
51
51
|
monai/apps/generation/maisi/networks/__init__.py,sha256=s9djSd6kvViPnFvMR11Dgd30Lv4oY6FaPJr4ZZJZLq0,573
|
52
|
-
monai/apps/generation/maisi/networks/autoencoderkl_maisi.py,sha256=
|
52
|
+
monai/apps/generation/maisi/networks/autoencoderkl_maisi.py,sha256=5kkzGuwphu_dLS9cbUGBZl2e_WffaCe1qySGj-KonbY,35479
|
53
53
|
monai/apps/generation/maisi/networks/controlnet_maisi.py,sha256=2z5ycY_3899C2TQQNUALRW1Wf2OQVlfAmZSv5dycT2I,7734
|
54
54
|
monai/apps/generation/maisi/networks/diffusion_model_unet_maisi.py,sha256=oJvP7jKLW_3vOC_HMufI0AY__c8TUd6r_E9bklzMOVE,19237
|
55
55
|
monai/apps/generation/maisi/utils/__init__.py,sha256=s9djSd6kvViPnFvMR11Dgd30Lv4oY6FaPJr4ZZJZLq0,573
|
@@ -105,7 +105,7 @@ monai/auto3dseg/algo_gen.py,sha256=_BscoAnUzQKRqz5jHvdsuCe3tTxq7PUQYPMLX0WuxCc,4
|
|
105
105
|
monai/auto3dseg/analyzer.py,sha256=-2CTCFhufE6oqGvNRcNF7NQ8ovzL_U5nouxqB14koEI,41323
|
106
106
|
monai/auto3dseg/operations.py,sha256=1sNDWnz5Zs2-scpb1wotxar7yGYQ-VPI-_b2KnZqW9g,5110
|
107
107
|
monai/auto3dseg/seg_summarizer.py,sha256=T5Kwvc6eKet-vlzvBQgCLHbxHto-P5tiN_7uIk5uVfs,8717
|
108
|
-
monai/auto3dseg/utils.py,sha256=
|
108
|
+
monai/auto3dseg/utils.py,sha256=zEicEO_--6-1kzT5HlmhAAd575gnl2AFmW8O3FnIznE,18674
|
109
109
|
monai/bundle/__init__.py,sha256=xvYgiAzq9fiyMkCRo0vwn41ZSzj0udyvF0jmySnqBRI,1443
|
110
110
|
monai/bundle/__main__.py,sha256=RiAn6raPUvPMfXvd03irAhB3nkIAgG1lf8GE34PG4Js,952
|
111
111
|
monai/bundle/config_item.py,sha256=rMjXSGkjJZdi04BwSHwCcIwzIb_TflmC3xDhC3SVJRs,16151
|
@@ -338,7 +338,7 @@ monai/transforms/intensity/__init__.py,sha256=s9djSd6kvViPnFvMR11Dgd30Lv4oY6FaPJ
|
|
338
338
|
monai/transforms/intensity/array.py,sha256=bhKIAMgJu-QMQA8df9QdyancMJMShOIOGHjE__4XdXo,121574
|
339
339
|
monai/transforms/intensity/dictionary.py,sha256=RXZeQG9dPvdvjoiWWlNkYec4NDWBxYXjfct4fywv1Ic,85059
|
340
340
|
monai/transforms/io/__init__.py,sha256=s9djSd6kvViPnFvMR11Dgd30Lv4oY6FaPJr4ZZJZLq0,573
|
341
|
-
monai/transforms/io/array.py,sha256=
|
341
|
+
monai/transforms/io/array.py,sha256=TQ84NjBwEJZXHOwKyB43cC-GB5I95KQFmjpRjXqPgSw,25648
|
342
342
|
monai/transforms/io/dictionary.py,sha256=O1fMHYJUFIgSGE1x0sGXN9Tqn5uPc1cnenfVMbRly-g,17602
|
343
343
|
monai/transforms/lazy/__init__.py,sha256=s9djSd6kvViPnFvMR11Dgd30Lv4oY6FaPJr4ZZJZLq0,573
|
344
344
|
monai/transforms/lazy/array.py,sha256=2jNLmQ3_sMX7DdbfcT3Extpwe5FgOBbbz2RqlDlyNcw,1211
|
@@ -388,8 +388,8 @@ monai/visualize/img2tensorboard.py,sha256=_p5olAefUs6t-y17z0TK32fKxNnUNXVkb0Op1S
|
|
388
388
|
monai/visualize/occlusion_sensitivity.py,sha256=OQHEJLyIhB8zWqQsfKaX-1kvCjWFVYtLfS4dFC0nKFI,18160
|
389
389
|
monai/visualize/utils.py,sha256=B-MhTVs7sQbIqYS3yPnpBwPw2K82rE2PBtGIfpwZtWM,9894
|
390
390
|
monai/visualize/visualizer.py,sha256=qckyaMZCbezYUwE20k5yc-Pb7UozVavMDbrmyQwfYHY,1377
|
391
|
-
monai_weekly-1.4.
|
392
|
-
monai_weekly-1.4.
|
393
|
-
monai_weekly-1.4.
|
394
|
-
monai_weekly-1.4.
|
395
|
-
monai_weekly-1.4.
|
391
|
+
monai_weekly-1.4.dev2428.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
392
|
+
monai_weekly-1.4.dev2428.dist-info/METADATA,sha256=uP6ltDnzhLuj76agsCDBsAsYRoX-8NvDkBiI0I8ZwSI,10953
|
393
|
+
monai_weekly-1.4.dev2428.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
|
394
|
+
monai_weekly-1.4.dev2428.dist-info/top_level.txt,sha256=UaNwRzLGORdus41Ip446s3bBfViLkdkDsXDo34J2P44,6
|
395
|
+
monai_weekly-1.4.dev2428.dist-info/RECORD,,
|
File without changes
|
File without changes
|