Skip to content

Commit

Permalink
revert spleen
Browse files Browse the repository at this point in the history
Signed-off-by: KumoLiu <[email protected]>
  • Loading branch information
KumoLiu committed Oct 13, 2023
1 parent 55a9028 commit ff1efcf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion models/spleen_ct_segmentation/configs/evaluate.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
],
"transform": "@validate#preprocessing",
"orig_keys": "image",
"meta_key_postfix": "meta_dict",
"nearest_interp": [
false,
true
Expand All @@ -38,6 +39,7 @@
"_target_": "SaveImaged",
"_disabled_": true,
"keys": "pred",
"meta_keys": "pred_meta_dict",
"output_dir": "@output_dir",
"resample": false,
"squeeze_end_dims": true
Expand Down Expand Up @@ -66,7 +68,7 @@
"metric_details": [
"val_mean_dice"
],
"batch_transform": "$lambda x: [xx['image'].meta for xx in x]",
"batch_transform": "$monai.handlers.from_engine(['image_meta_dict'])",
"summary_ops": "*"
}
],
Expand Down
2 changes: 2 additions & 0 deletions models/spleen_ct_segmentation/configs/inference.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
"keys": "pred",
"transform": "@preprocessing",
"orig_keys": "image",
"meta_key_postfix": "meta_dict",
"nearest_interp": false,
"to_tensor": true
},
Expand All @@ -117,6 +118,7 @@
{
"_target_": "SaveImaged",
"keys": "pred",
"meta_keys": "pred_meta_dict",
"output_dir": "@output_dir"
}
]
Expand Down
5 changes: 2 additions & 3 deletions models/spleen_ct_segmentation/configs/metadata.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json",
"version": "0.5.4",
"version": "0.5.3",
"changelog": {
"0.5.4": "remove meta dict usage",
"0.5.3": "fix the wrong GPU index issue of multi-node",
"0.5.2": "remove error dollar symbol in readme",
"0.5.1": "add RAM warning",
Expand Down Expand Up @@ -32,7 +31,7 @@
"0.1.0": "complete the model package",
"0.0.1": "initialize the model package structure"
},
"monai_version": "1.3.0",
"monai_version": "1.2.0",
"pytorch_version": "1.13.1",
"numpy_version": "1.22.2",
"optional_packages_version": {
Expand Down

0 comments on commit ff1efcf

Please sign in to comment.