update prepare datalist function
Browse files- configs/inference.json +1 -1
- configs/metadata.json +2 -1
- configs/train.json +1 -1
- scripts/prepare_datalist.py +1 -1
configs/inference.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
"$import glob",
|
4 |
"$import os"
|
5 |
],
|
6 |
-
"bundle_root": "
|
7 |
"ckpt_dir": "$@bundle_root + '/models'",
|
8 |
"output_dir": "$@bundle_root + '/eval'",
|
9 |
"data_list_file_path": "$@bundle_root + '/configs/datalist.json'",
|
|
|
3 |
"$import glob",
|
4 |
"$import os"
|
5 |
],
|
6 |
+
"bundle_root": ".",
|
7 |
"ckpt_dir": "$@bundle_root + '/models'",
|
8 |
"output_dir": "$@bundle_root + '/eval'",
|
9 |
"data_list_file_path": "$@bundle_root + '/configs/datalist.json'",
|
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.3.
|
4 |
"changelog": {
|
|
|
5 |
"0.3.4": "update output format of inference",
|
6 |
"0.3.3": "update to use monai 1.0.1",
|
7 |
"0.3.2": "enhance readme on commands example",
|
|
|
1 |
{
|
2 |
"schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json",
|
3 |
+
"version": "0.3.5",
|
4 |
"changelog": {
|
5 |
+
"0.3.5": "update prepare datalist function",
|
6 |
"0.3.4": "update output format of inference",
|
7 |
"0.3.3": "update to use monai 1.0.1",
|
8 |
"0.3.2": "enhance readme on commands example",
|
configs/train.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
"$import glob",
|
4 |
"$import os"
|
5 |
],
|
6 |
-
"bundle_root": "
|
7 |
"ckpt_dir": "$@bundle_root + '/models'",
|
8 |
"output_dir": "$@bundle_root + '/eval'",
|
9 |
"data_list_file_path": "$@bundle_root + '/configs/datalist.json'",
|
|
|
3 |
"$import glob",
|
4 |
"$import os"
|
5 |
],
|
6 |
+
"bundle_root": ".",
|
7 |
"ckpt_dir": "$@bundle_root + '/models'",
|
8 |
"output_dir": "$@bundle_root + '/eval'",
|
9 |
"data_list_file_path": "$@bundle_root + '/configs/datalist.json'",
|
scripts/prepare_datalist.py
CHANGED
@@ -47,7 +47,7 @@ def main(args):
|
|
47 |
"""
|
48 |
split the dataset and output the data list into a json file.
|
49 |
"""
|
50 |
-
data_file_base_dir = os.path.join(args.path, "training")
|
51 |
output_json = args.output
|
52 |
# produce deterministic data splits
|
53 |
monai.utils.set_determinism(seed=123)
|
|
|
47 |
"""
|
48 |
split the dataset and output the data list into a json file.
|
49 |
"""
|
50 |
+
data_file_base_dir = os.path.join(os.path.abspath(args.path), "training")
|
51 |
output_json = args.output
|
52 |
# produce deterministic data splits
|
53 |
monai.utils.set_determinism(seed=123)
|