diff --git a/models/brats_mri_axial_slices_generative_diffusion/configs/metadata.json b/models/brats_mri_axial_slices_generative_diffusion/configs/metadata.json index 5be0baaf..fe5ce1c1 100644 --- a/models/brats_mri_axial_slices_generative_diffusion/configs/metadata.json +++ b/models/brats_mri_axial_slices_generative_diffusion/configs/metadata.json @@ -1,7 +1,8 @@ { "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20240725.json", - "version": "1.1.1", + "version": "1.1.2", "changelog": { + "1.1.2": "update issue for IgniteInfo", "1.1.1": "enable tensorrt", "1.1.0": "update to use monai 1.4, model ckpt not changed, rm GenerativeAI repo", "1.0.9": "update to use monai 1.3.1", diff --git a/models/brats_mri_axial_slices_generative_diffusion/scripts/ldm_trainer.py b/models/brats_mri_axial_slices_generative_diffusion/scripts/ldm_trainer.py index a298461e..c6a5ab89 100644 --- a/models/brats_mri_axial_slices_generative_diffusion/scripts/ldm_trainer.py +++ b/models/brats_mri_axial_slices_generative_diffusion/scripts/ldm_trainer.py @@ -14,11 +14,10 @@ from typing import TYPE_CHECKING, Any, Callable, Iterable, Sequence import torch -from monai.config import IgniteInfo from monai.engines.utils import IterationEvents, default_metric_cmp_fn, default_prepare_batch from monai.inferers import Inferer, SimpleInferer from monai.transforms import Transform -from monai.utils import min_version, optional_import +from monai.utils import IgniteInfo, min_version, optional_import from monai.utils.enums import CommonKeys, GanKeys from torch.optim.optimizer import Optimizer from torch.utils.data import DataLoader diff --git a/models/brats_mri_generative_diffusion/configs/metadata.json b/models/brats_mri_generative_diffusion/configs/metadata.json index ec870a84..ce2305ea 100644 --- a/models/brats_mri_generative_diffusion/configs/metadata.json +++ b/models/brats_mri_generative_diffusion/configs/metadata.json @@ -1,7 +1,8 @@ { "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20240725.json", - "version": "1.1.1", + "version": "1.1.2", "changelog": { + "1.1.2": "update issue for IgniteInfo", "1.1.1": "enable tensorrt", "1.1.0": "update to use monai 1.4, model ckpt not changed, rm GenerativeAI repo", "1.0.9": "update to use monai 1.3.1", diff --git a/models/brats_mri_generative_diffusion/scripts/ldm_trainer.py b/models/brats_mri_generative_diffusion/scripts/ldm_trainer.py index c1a21bfa..073607f7 100644 --- a/models/brats_mri_generative_diffusion/scripts/ldm_trainer.py +++ b/models/brats_mri_generative_diffusion/scripts/ldm_trainer.py @@ -14,11 +14,10 @@ from typing import TYPE_CHECKING, Any, Callable, Iterable, Sequence import torch -from monai.config import IgniteInfo from monai.engines.utils import IterationEvents, default_metric_cmp_fn, default_prepare_batch from monai.inferers import Inferer, SimpleInferer from monai.transforms import Transform -from monai.utils import min_version, optional_import +from monai.utils import IgniteInfo, min_version, optional_import from monai.utils.enums import CommonKeys, GanKeys from torch.optim.optimizer import Optimizer from torch.utils.data import DataLoader diff --git a/models/lung_nodule_ct_detection/configs/metadata.json b/models/lung_nodule_ct_detection/configs/metadata.json index 57cb3b51..4bc75d27 100644 --- a/models/lung_nodule_ct_detection/configs/metadata.json +++ b/models/lung_nodule_ct_detection/configs/metadata.json @@ -1,7 +1,8 @@ { "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json", - "version": "0.6.7", + "version": "0.6.8", "changelog": { + "0.6.8": "update issue for IgniteInfo", "0.6.7": "use monai 1.4 and update large files", "0.6.6": "update to use monai 1.3.1", "0.6.5": "remove notes for trt_export in readme", diff --git a/models/lung_nodule_ct_detection/scripts/detection_saver.py b/models/lung_nodule_ct_detection/scripts/detection_saver.py index 001b1cfb..805da7c3 100644 --- a/models/lung_nodule_ct_detection/scripts/detection_saver.py +++ b/models/lung_nodule_ct_detection/scripts/detection_saver.py @@ -14,9 +14,8 @@ import warnings from typing import TYPE_CHECKING, Callable, Optional -from monai.config import IgniteInfo from monai.handlers.classification_saver import ClassificationSaver -from monai.utils import evenly_divisible_all_gather, min_version, optional_import, string_list_all_gather +from monai.utils import IgniteInfo, evenly_divisible_all_gather, min_version, optional_import, string_list_all_gather from .utils import detach_to_numpy diff --git a/models/lung_nodule_ct_detection/scripts/evaluator.py b/models/lung_nodule_ct_detection/scripts/evaluator.py index 501e75f1..2bd3e5c4 100644 --- a/models/lung_nodule_ct_detection/scripts/evaluator.py +++ b/models/lung_nodule_ct_detection/scripts/evaluator.py @@ -15,11 +15,10 @@ import torch from monai.apps.detection.networks.retinanet_detector import RetinaNetDetector -from monai.config import IgniteInfo from monai.engines.evaluator import SupervisedEvaluator from monai.engines.utils import IterationEvents, default_metric_cmp_fn from monai.transforms import Transform -from monai.utils import ForwardMode, min_version, optional_import +from monai.utils import ForwardMode, IgniteInfo, min_version, optional_import from monai.utils.enums import CommonKeys as Keys from torch.utils.data import DataLoader diff --git a/models/lung_nodule_ct_detection/scripts/trainer.py b/models/lung_nodule_ct_detection/scripts/trainer.py index 246910f1..2b88ff41 100644 --- a/models/lung_nodule_ct_detection/scripts/trainer.py +++ b/models/lung_nodule_ct_detection/scripts/trainer.py @@ -14,12 +14,11 @@ from typing import TYPE_CHECKING, Any, Callable, Dict, Iterable, List, Optional, Sequence, Tuple, Union import torch -from monai.config import IgniteInfo from monai.engines.trainer import Trainer from monai.engines.utils import IterationEvents, default_metric_cmp_fn from monai.inferers import Inferer from monai.transforms import Transform -from monai.utils import min_version, optional_import +from monai.utils import IgniteInfo, min_version, optional_import from monai.utils.enums import CommonKeys as Keys from torch.optim.optimizer import Optimizer from torch.utils.data import DataLoader diff --git a/models/maisi_ct_generative/configs/metadata.json b/models/maisi_ct_generative/configs/metadata.json index a0d2c53e..ebe7cc43 100644 --- a/models/maisi_ct_generative/configs/metadata.json +++ b/models/maisi_ct_generative/configs/metadata.json @@ -1,7 +1,8 @@ { "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_generator_ldm_20240318.json", - "version": "0.4.3", + "version": "0.4.4", "changelog": { + "0.4.4": "update issue for IgniteInfo", "0.4.3": "remove download large files, add weights_only when loading weights and add label_dict to large files", "0.4.2": "update train.json to fix finetune ckpt bug", "0.4.1": "update large files", diff --git a/models/maisi_ct_generative/scripts/trainer.py b/models/maisi_ct_generative/scripts/trainer.py index 7b8eae9f..7af78893 100644 --- a/models/maisi_ct_generative/scripts/trainer.py +++ b/models/maisi_ct_generative/scripts/trainer.py @@ -15,13 +15,12 @@ import torch import torch.nn.functional as F -from monai.config import IgniteInfo from monai.engines.trainer import Trainer from monai.engines.utils import IterationEvents, PrepareBatchExtraInput, default_metric_cmp_fn from monai.inferers import Inferer from monai.networks.schedulers import Scheduler from monai.transforms import Transform -from monai.utils import RankFilter, min_version, optional_import +from monai.utils import IgniteInfo, RankFilter, min_version, optional_import from monai.utils.enums import CommonKeys as Keys from torch.optim.optimizer import Optimizer from torch.utils.data import DataLoader diff --git a/models/pathology_nuclei_classification/configs/metadata.json b/models/pathology_nuclei_classification/configs/metadata.json index b5d8f780..6ca6d528 100644 --- a/models/pathology_nuclei_classification/configs/metadata.json +++ b/models/pathology_nuclei_classification/configs/metadata.json @@ -1,7 +1,8 @@ { "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json", - "version": "0.1.9", + "version": "0.2.0", "changelog": { + "0.2.0": "update issue for IgniteInfo", "0.1.9": "update tensorrt benchmark results", "0.1.8": "enable tensorrt", "0.1.7": "update to use monai 1.3.1", diff --git a/models/pathology_nuclei_classification/scripts/handlers.py b/models/pathology_nuclei_classification/scripts/handlers.py index 9d43ca76..b5f038e1 100644 --- a/models/pathology_nuclei_classification/scripts/handlers.py +++ b/models/pathology_nuclei_classification/scripts/handlers.py @@ -15,8 +15,7 @@ import numpy as np import torch import torch.distributed -from monai.config import IgniteInfo -from monai.utils import min_version, optional_import +from monai.utils import IgniteInfo, min_version, optional_import from sklearn.metrics import classification_report Events, _ = optional_import("ignite.engine", IgniteInfo.OPT_IMPORT_VERSION, min_version, "Events") diff --git a/models/pathology_nuclick_annotation/configs/metadata.json b/models/pathology_nuclick_annotation/configs/metadata.json index feebbb98..51bc7244 100644 --- a/models/pathology_nuclick_annotation/configs/metadata.json +++ b/models/pathology_nuclick_annotation/configs/metadata.json @@ -1,7 +1,8 @@ { "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json", - "version": "0.2.0", + "version": "0.2.1", "changelog": { + "0.2.1": "update issue for IgniteInfo", "0.2.0": "use monai 1.4 and update large files", "0.1.9": "update to use monai 1.3.1", "0.1.8": "add load_pretrain flag for infer", diff --git a/models/pathology_nuclick_annotation/scripts/handlers.py b/models/pathology_nuclick_annotation/scripts/handlers.py index 55fd3e11..d76bd523 100644 --- a/models/pathology_nuclick_annotation/scripts/handlers.py +++ b/models/pathology_nuclick_annotation/scripts/handlers.py @@ -15,8 +15,7 @@ import numpy as np import torch import torch.distributed -from monai.config import IgniteInfo -from monai.utils import min_version, optional_import +from monai.utils import IgniteInfo, min_version, optional_import Events, _ = optional_import("ignite.engine", IgniteInfo.OPT_IMPORT_VERSION, min_version, "Events") make_grid, _ = optional_import("torchvision.utils", name="make_grid")