GANDLF 0.1.5.dev20250813__py3-none-any.whl → 0.1.5.dev20250814__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.
Potentially problematic release.
This version of GANDLF might be problematic. Click here for more details.
- GANDLF/models/lightning_module.py +1 -1
- GANDLF/utils/modelio.py +3 -1
- GANDLF/version.py +1 -1
- {gandlf-0.1.5.dev20250813.dist-info → gandlf-0.1.5.dev20250814.dist-info}/METADATA +3 -3
- {gandlf-0.1.5.dev20250813.dist-info → gandlf-0.1.5.dev20250814.dist-info}/RECORD +9 -9
- {gandlf-0.1.5.dev20250813.dist-info → gandlf-0.1.5.dev20250814.dist-info}/WHEEL +0 -0
- {gandlf-0.1.5.dev20250813.dist-info → gandlf-0.1.5.dev20250814.dist-info}/entry_points.txt +0 -0
- {gandlf-0.1.5.dev20250813.dist-info → gandlf-0.1.5.dev20250814.dist-info}/licenses/LICENSE +0 -0
- {gandlf-0.1.5.dev20250813.dist-info → gandlf-0.1.5.dev20250814.dist-info}/top_level.txt +0 -0
|
@@ -1713,7 +1713,7 @@ class GandlfLightningModule(pl.LightningModule):
|
|
|
1713
1713
|
print(f"Previous latest model loaded from {self.model_paths['latest']}.")
|
|
1714
1714
|
else:
|
|
1715
1715
|
raise RuntimeError(
|
|
1716
|
-
"
|
|
1716
|
+
f"Best/latest models not found to load: {self.model_paths}"
|
|
1717
1717
|
)
|
|
1718
1718
|
|
|
1719
1719
|
@rank_zero_only
|
GANDLF/utils/modelio.py
CHANGED
|
@@ -175,7 +175,9 @@ def load_model(
|
|
|
175
175
|
Returns:
|
|
176
176
|
dict: Model dictionary containing model parameters and metadata.
|
|
177
177
|
"""
|
|
178
|
-
|
|
178
|
+
# For PyTorch 2.7+, use weights_only=False to maintain backward compatibility
|
|
179
|
+
# This prevents the new security warning in PyTorch 2.7+
|
|
180
|
+
model_dict = torch.load(path, map_location=device, weights_only=False)
|
|
179
181
|
|
|
180
182
|
# check if the model dictionary is complete
|
|
181
183
|
if full_sanity_check:
|
GANDLF/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.1.5-
|
|
1
|
+
__version__ = "0.1.5-dev20250814"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: GANDLF
|
|
3
|
-
Version: 0.1.5.
|
|
3
|
+
Version: 0.1.5.dev20250814
|
|
4
4
|
Summary: PyTorch-based framework that handles segmentation/regression/classification using various DL architectures for medical imaging.
|
|
5
5
|
Author: MLCommons
|
|
6
6
|
Author-email: gandlf@mlcommons.org
|
|
@@ -18,9 +18,9 @@ Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
|
|
|
18
18
|
Requires-Python: >3.9, <3.13
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
|
-
Requires-Dist: torch==2.
|
|
21
|
+
Requires-Dist: torch==2.7.1
|
|
22
22
|
Requires-Dist: black==23.11.0
|
|
23
|
-
Requires-Dist: lightning==2.
|
|
23
|
+
Requires-Dist: lightning==2.5.2
|
|
24
24
|
Requires-Dist: numpy==1.26.4
|
|
25
25
|
Requires-Dist: scipy
|
|
26
26
|
Requires-Dist: SimpleITK!=2.0.*
|
|
@@ -5,7 +5,7 @@ GANDLF/logger.py,sha256=oamQ1SOTTpAnC8vQ67o211Q6_bExGg_hAuqlHGlJfAI,2951
|
|
|
5
5
|
GANDLF/logging_config.yaml,sha256=9XxRxAKtLn5ehT1khpR8wEiJGW64sx1lylAspM5KaWk,1337
|
|
6
6
|
GANDLF/parseConfig.py,sha256=jO-ybIPxLw23OWDvFdTukbft0ZM8UOofGnoL2C5CEps,754
|
|
7
7
|
GANDLF/training_manager.py,sha256=AZlf-fl7KAwZgyre8-0M5lAyma6NvtiGX6XT51AJdxU,11436
|
|
8
|
-
GANDLF/version.py,sha256=
|
|
8
|
+
GANDLF/version.py,sha256=FADkCQywKgXiInlogC6KJpAtUGT86Qf6y77LBJnLEVY,34
|
|
9
9
|
GANDLF/anonymize/__init__.py,sha256=Nxig-jM-a-aKlK09PNi1zhNulEpLTyjnsY_oGQKdjhQ,1953
|
|
10
10
|
GANDLF/anonymize/convert_to_nifti.py,sha256=MOfSDncFGJGb-EQP9sFGn0yuKpX010Ioi2KNwttaex8,1339
|
|
11
11
|
GANDLF/cli/__init__.py,sha256=F05eyL2HKyWkHczRZuPE_Z2Yg685P9ARYxTwz6njGeQ,784
|
|
@@ -125,7 +125,7 @@ GANDLF/models/imagenet_unet.py,sha256=vTAuckJ0Bs9nfe2G0nKISqgxWArIYdM4poGpTk56QY
|
|
|
125
125
|
GANDLF/models/imagenet_vgg.py,sha256=FrMNLIxCtaMHWZ9JO7pWtoXTT1f8eVDuREx9108Aw2g,10367
|
|
126
126
|
GANDLF/models/light_unet.py,sha256=jzcTHH7kv_ikriYxIe7fbQJkmwOQZzePW4KLCW2FGWM,6645
|
|
127
127
|
GANDLF/models/light_unet_multilayer.py,sha256=xrKy--lljbCX7U2eYjpFZA69C6qlHmA5W-fEckPBll4,4534
|
|
128
|
-
GANDLF/models/lightning_module.py,sha256=
|
|
128
|
+
GANDLF/models/lightning_module.py,sha256=QLBL-QKp5DADHn8PpGjAJO4l3J7M4WI95kymPFvfGOk,83332
|
|
129
129
|
GANDLF/models/modelBase.py,sha256=NFmKcEylNchm0LVqwRoD_iIMFj36IsaKwVCPJPLux3g,5752
|
|
130
130
|
GANDLF/models/resnet.py,sha256=0PB7sGSLHUq2F6tyHYqxepmU1eBccSwCzBrD7Qmc280,16987
|
|
131
131
|
GANDLF/models/sdnet.py,sha256=uhHvOHRTAx4ANxv2lKXfBn6Bg4Broqzb77qekVjXeFI,14528
|
|
@@ -177,14 +177,14 @@ GANDLF/utils/generic.py,sha256=NyJgaeCdryBlHMziPPLmWtIk450u042NWQgs_qh7knw,11744
|
|
|
177
177
|
GANDLF/utils/handle_collisions.py,sha256=UFgfrddQqeipOdpKk0Mo-wwJ-TYTESNZyXzEyQeaLdI,3082
|
|
178
178
|
GANDLF/utils/imaging.py,sha256=_qCgvIXHZW_k_IUYLU95G5L5yoozxCRCYxo65TI-95U,15983
|
|
179
179
|
GANDLF/utils/modelbase.py,sha256=MJ1ufJGQ-ZgfYWTg7o4f-Iz78d7SYiyxN7MT8bnNDaw,950
|
|
180
|
-
GANDLF/utils/modelio.py,sha256=
|
|
180
|
+
GANDLF/utils/modelio.py,sha256=xmzAn7P0kqJd_Gcf17nMcV784poW2qpi3AY483Tk2ko,8247
|
|
181
181
|
GANDLF/utils/parameter_processing.py,sha256=DA7ZEsizWWLJZnCxBnDNh1NyA-bw5oirOvodiZZWbIk,5675
|
|
182
182
|
GANDLF/utils/pred_target_processors.py,sha256=aatXJ6jdJaNAHa_tPzHfC1gOQrPYJLtg-cYeUFvkM_s,2701
|
|
183
183
|
GANDLF/utils/tensor.py,sha256=SbcTyWs_qaFTnxpFlJHiq9xNKesDu7t0YZsm9eUnDSk,21565
|
|
184
184
|
GANDLF/utils/write_parse.py,sha256=HROxskhet-uIdUJmz16z_7p9r0mf8hWsqQFygwZ8ap0,9202
|
|
185
|
-
gandlf-0.1.5.
|
|
186
|
-
gandlf-0.1.5.
|
|
187
|
-
gandlf-0.1.5.
|
|
188
|
-
gandlf-0.1.5.
|
|
189
|
-
gandlf-0.1.5.
|
|
190
|
-
gandlf-0.1.5.
|
|
185
|
+
gandlf-0.1.5.dev20250814.dist-info/licenses/LICENSE,sha256=GlZPAfA4eckod8IVayhBXkqCpESXf6cc9BGli_Jwims,11357
|
|
186
|
+
gandlf-0.1.5.dev20250814.dist-info/METADATA,sha256=EC4MoE_Ad9vcHx0g2G2Kf2zlfn8-e5_hEZ6hNxQ3-ok,9904
|
|
187
|
+
gandlf-0.1.5.dev20250814.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
188
|
+
gandlf-0.1.5.dev20250814.dist-info/entry_points.txt,sha256=agwocNI7Upi-sFDe1rMl71dGN8YhCBB7WJmtBHRF4jg,902
|
|
189
|
+
gandlf-0.1.5.dev20250814.dist-info/top_level.txt,sha256=i5D9wEbQhl085_9Lx2m7x-9Zu6nlx1tjYYbuSihG09E,7
|
|
190
|
+
gandlf-0.1.5.dev20250814.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|