katielink commited on
Commit
85eb923
1 Parent(s): 0b734e2

unify naming

Browse files
Files changed (2) hide show
  1. configs/metadata.json +2 -1
  2. configs/train.json +2 -1
configs/metadata.json CHANGED
@@ -1,7 +1,8 @@
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": "disable image saving during evaluation",
6
  "0.1.0": "complete the model package",
7
  "0.0.1": "initialize the model package structure"
 
1
  {
2
  "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json",
3
+ "version": "0.2.0",
4
  "changelog": {
5
+ "0.2.0": "unify naming",
6
  "0.1.1": "disable image saving during evaluation",
7
  "0.1.0": "complete the model package",
8
  "0.0.1": "initialize the model package structure"
configs/train.json CHANGED
@@ -10,6 +10,7 @@
10
  "dataset_dir": "/workspace/data/Task09_Spleen",
11
  "images": "$list(sorted(glob.glob(@dataset_dir + '/imagesTr/*.nii.gz')))",
12
  "labels": "$list(sorted(glob.glob(@dataset_dir + '/labelsTr/*.nii.gz')))",
 
13
  "device": "$torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')",
14
  "network_def": {
15
  "_target_": "UNet",
@@ -170,7 +171,7 @@
170
  "_target_": "ValidationHandler",
171
  "validator": "@validate#evaluator",
172
  "epoch_level": true,
173
- "interval": 5
174
  },
175
  {
176
  "_target_": "StatsHandler",
 
10
  "dataset_dir": "/workspace/data/Task09_Spleen",
11
  "images": "$list(sorted(glob.glob(@dataset_dir + '/imagesTr/*.nii.gz')))",
12
  "labels": "$list(sorted(glob.glob(@dataset_dir + '/labelsTr/*.nii.gz')))",
13
+ "val_interval": 5,
14
  "device": "$torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')",
15
  "network_def": {
16
  "_target_": "UNet",
 
171
  "_target_": "ValidationHandler",
172
  "validator": "@validate#evaluator",
173
  "epoch_level": true,
174
+ "interval": "@val_interval"
175
  },
176
  {
177
  "_target_": "StatsHandler",