unify naming
Browse files- configs/inference.json +1 -0
- configs/metadata.json +2 -1
- configs/train.json +3 -1
configs/inference.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
"imports": [
|
| 3 |
"$import glob"
|
| 4 |
],
|
|
|
|
| 5 |
"device": "$torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')",
|
| 6 |
"ckpt_path": "$@bundle_root + '/models/model.pt'",
|
| 7 |
"dataset_dir": "/workspace/data",
|
|
|
|
| 2 |
"imports": [
|
| 3 |
"$import glob"
|
| 4 |
],
|
| 5 |
+
"bundle_root": ".",
|
| 6 |
"device": "$torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')",
|
| 7 |
"ckpt_path": "$@bundle_root + '/models/model.pt'",
|
| 8 |
"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_20220324.json",
|
| 3 |
-
"version": "0.
|
| 4 |
"changelog": {
|
|
|
|
| 5 |
"0.1.0": "Initial version"
|
| 6 |
},
|
| 7 |
"monai_version": "0.9.0",
|
|
|
|
| 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.0": "Initial version"
|
| 7 |
},
|
| 8 |
"monai_version": "0.9.0",
|
configs/train.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
| 5 |
"$import torch",
|
| 6 |
"$from ignite.engine import Events"
|
| 7 |
],
|
|
|
|
|
|
|
| 8 |
"device": "$torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')",
|
| 9 |
"ckpt_path": "$@bundle_root + '/models/model.pt'",
|
| 10 |
"dataset_file": "./allimages3label.npz",
|
|
@@ -270,7 +272,7 @@
|
|
| 270 |
"_target_": "ValidationHandler",
|
| 271 |
"validator": "@evaluator",
|
| 272 |
"epoch_level": true,
|
| 273 |
-
"interval":
|
| 274 |
},
|
| 275 |
{
|
| 276 |
"_target_": "CheckpointSaver",
|
|
|
|
| 5 |
"$import torch",
|
| 6 |
"$from ignite.engine import Events"
|
| 7 |
],
|
| 8 |
+
"bundle_root": ".",
|
| 9 |
+
"val_interval": 1,
|
| 10 |
"device": "$torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')",
|
| 11 |
"ckpt_path": "$@bundle_root + '/models/model.pt'",
|
| 12 |
"dataset_file": "./allimages3label.npz",
|
|
|
|
| 272 |
"_target_": "ValidationHandler",
|
| 273 |
"validator": "@evaluator",
|
| 274 |
"epoch_level": true,
|
| 275 |
+
"interval": "@val_interval"
|
| 276 |
},
|
| 277 |
{
|
| 278 |
"_target_": "CheckpointSaver",
|