Skip to content

Commit

Permalink
remove meta_dict
Browse files Browse the repository at this point in the history
Signed-off-by: KumoLiu <[email protected]>
  • Loading branch information
KumoLiu committed Oct 11, 2023
1 parent 96a13ac commit f118346
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions models/spleen_deepedit_annotation/configs/evaluate.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"_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 @@ -53,7 +52,7 @@
"metric_details": [
"val_mean_dice"
],
"batch_transform": "$monai.handlers.from_engine(['image_meta_dict'])",
"batch_transform": "$lambda x: [xx['image'].meta for xx in x]",
"summary_ops": "*"
}
],
Expand Down
2 changes: 0 additions & 2 deletions models/spleen_deepedit_annotation/configs/inference.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@
"keys": "pred",
"transform": "@preprocessing",
"orig_keys": "@image_key",
"meta_key_postfix": "meta_dict",
"nearest_interp": false,
"to_tensor": true
},
Expand All @@ -175,7 +174,6 @@
{
"_target_": "SaveImaged",
"keys": "pred",
"meta_keys": "pred_meta_dict",
"output_dir": "@output_dir",
"output_ext": "@output_ext",
"output_dtype": "@output_dtype",
Expand Down

0 comments on commit f118346

Please sign in to comment.