monai
medical
katielink commited on
Commit
23bd216
1 Parent(s): 2a6977a

Unify naming

Browse files
configs/inference.json CHANGED
@@ -4,6 +4,7 @@
4
  "$import glob",
5
  "$import scripts"
6
  ],
 
7
  "device": "$torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')",
8
  "ckpt_path": "$@bundle_root + '/models/model.pt'",
9
  "dataset_dir": "/workspace/data",
 
4
  "$import glob",
5
  "$import scripts"
6
  ],
7
+ "bundle_root": ".",
8
  "device": "$torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')",
9
  "ckpt_path": "$@bundle_root + '/models/model.pt'",
10
  "dataset_dir": "/workspace/data",
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_20220729.json",
3
- "version": "0.1.0",
4
  "changelog": {
 
5
  "0.1.0": "Initial version"
6
  },
7
  "monai_version": "1.0.0rc1",
 
1
  {
2
  "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220729.json",
3
+ "version": "0.2.0",
4
  "changelog": {
5
+ "0.2.0": "unify naming",
6
  "0.1.0": "Initial version"
7
  },
8
  "monai_version": "1.0.0rc1",
configs/train.json CHANGED
@@ -6,6 +6,8 @@
6
  "$import ignite",
7
  "$import scripts"
8
  ],
 
 
9
  "device": "$torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')",
10
  "ckpt_path": "$@bundle_root + '/models/model.pt'",
11
  "dataset_file": "./valvelandmarks.npz",
@@ -240,7 +242,7 @@
240
  "_target_": "ValidationHandler",
241
  "validator": "@evaluator",
242
  "epoch_level": true,
243
- "interval": 1
244
  },
245
  {
246
  "_target_": "CheckpointSaver",
 
6
  "$import ignite",
7
  "$import scripts"
8
  ],
9
+ "bundle_root": ".",
10
+ "val_interval": 1,
11
  "device": "$torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')",
12
  "ckpt_path": "$@bundle_root + '/models/model.pt'",
13
  "dataset_file": "./valvelandmarks.npz",
 
242
  "_target_": "ValidationHandler",
243
  "validator": "@evaluator",
244
  "epoch_level": true,
245
+ "interval": "@val_interval"
246
  },
247
  {
248
  "_target_": "CheckpointSaver",