monai
medical
katielink commited on
Commit
9ee4eef
1 Parent(s): 139850b

update for MetaTensor

Browse files
configs/inference.json CHANGED
@@ -42,10 +42,6 @@
42
  "keys": "image",
43
  "nonzero": true,
44
  "channel_wise": true
45
- },
46
- {
47
- "_target_": "ToTensord",
48
- "keys": "image"
49
  }
50
  ]
51
  },
 
42
  "keys": "image",
43
  "nonzero": true,
44
  "channel_wise": true
 
 
 
 
45
  }
46
  ]
47
  },
configs/metadata.json CHANGED
@@ -1,15 +1,16 @@
1
  {
2
  "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json",
3
- "version": "0.1.0",
4
  "changelog": {
 
5
  "0.1.0": "complete the model package"
6
  },
7
- "monai_version": "0.9.0",
8
  "pytorch_version": "1.12.0",
9
- "numpy_version": "1.21.2",
10
  "optional_packages_version": {
11
- "nibabel": "3.2.1",
12
- "pytorch-ignite": "0.4.8"
13
  },
14
  "task": "Multimodal Brain Tumor segmentation",
15
  "description": "A pre-trained model for volumetric (3D) segmentation of brain tumor subregions from multimodal MRIs based on BraTS 2018 data",
 
1
  {
2
  "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json",
3
+ "version": "0.1.1",
4
  "changelog": {
5
+ "0.1.1": "update for MetaTensor",
6
  "0.1.0": "complete the model package"
7
  },
8
+ "monai_version": "0.9.1",
9
  "pytorch_version": "1.12.0",
10
+ "numpy_version": "1.22.4",
11
  "optional_packages_version": {
12
+ "nibabel": "4.0.1",
13
+ "pytorch-ignite": "0.4.9"
14
  },
15
  "task": "Multimodal Brain Tumor segmentation",
16
  "description": "A pre-trained model for volumetric (3D) segmentation of brain tumor subregions from multimodal MRIs based on BraTS 2018 data",
configs/train.json CHANGED
@@ -127,18 +127,9 @@
127
  "prob": 1.0
128
  }
129
  ],
130
- "final_transforms": [
131
- {
132
- "_target_": "ToTensord",
133
- "keys": [
134
- "image",
135
- "label"
136
- ]
137
- }
138
- ],
139
  "preprocessing": {
140
  "_target_": "Compose",
141
- "transforms": "$@train#preprocessing_transforms + @train#random_transforms + @train#final_transforms"
142
  },
143
  "dataset": {
144
  "_target_": "Dataset",
@@ -219,7 +210,7 @@
219
  "validate": {
220
  "preprocessing": {
221
  "_target_": "Compose",
222
- "transforms": "$@train#preprocessing_transforms + @train#final_transforms"
223
  },
224
  "dataset": {
225
  "_target_": "Dataset",
 
127
  "prob": 1.0
128
  }
129
  ],
 
 
 
 
 
 
 
 
 
130
  "preprocessing": {
131
  "_target_": "Compose",
132
+ "transforms": "$@train#preprocessing_transforms + @train#random_transforms"
133
  },
134
  "dataset": {
135
  "_target_": "Dataset",
 
210
  "validate": {
211
  "preprocessing": {
212
  "_target_": "Compose",
213
+ "transforms": "$@train#preprocessing_transforms"
214
  },
215
  "dataset": {
216
  "_target_": "Dataset",