add dataset dir example
Browse files- README.md +6 -0
- configs/metadata.json +3 -2
- docs/README.md +6 -0
README.md
CHANGED
@@ -109,6 +109,12 @@ For more details usage instructions, visit the [MONAI Bundle Configuration Page]
|
|
109 |
python -m monai.bundle run --config_file configs/train.json
|
110 |
```
|
111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
#### Override the `train` config to execute multi-GPU training:
|
113 |
|
114 |
```
|
|
|
109 |
python -m monai.bundle run --config_file configs/train.json
|
110 |
```
|
111 |
|
112 |
+
Please note that if the default dataset path is not modified with the actual path in the bundle config files, you can also override it by using `--dataset_dir`:
|
113 |
+
|
114 |
+
```
|
115 |
+
python -m monai.bundle run --config_file configs/train.json --dataset_dir <actual dataset path>
|
116 |
+
```
|
117 |
+
|
118 |
#### Override the `train` config to execute multi-GPU training:
|
119 |
|
120 |
```
|
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.
|
4 |
"changelog": {
|
|
|
5 |
"0.4.5": "update ONNX-TensorRT descriptions",
|
6 |
"0.4.4": "update error links",
|
7 |
"0.4.3": "add the ONNX-TensorRT way of model conversion",
|
@@ -23,7 +24,7 @@
|
|
23 |
"0.1.1": "update for MetaTensor",
|
24 |
"0.1.0": "complete the model package"
|
25 |
},
|
26 |
-
"monai_version": "1.2.
|
27 |
"pytorch_version": "1.13.1",
|
28 |
"numpy_version": "1.22.2",
|
29 |
"optional_packages_version": {
|
|
|
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.6",
|
4 |
"changelog": {
|
5 |
+
"0.4.6": "add dataset dir example",
|
6 |
"0.4.5": "update ONNX-TensorRT descriptions",
|
7 |
"0.4.4": "update error links",
|
8 |
"0.4.3": "add the ONNX-TensorRT way of model conversion",
|
|
|
24 |
"0.1.1": "update for MetaTensor",
|
25 |
"0.1.0": "complete the model package"
|
26 |
},
|
27 |
+
"monai_version": "1.2.0rc6",
|
28 |
"pytorch_version": "1.13.1",
|
29 |
"numpy_version": "1.22.2",
|
30 |
"optional_packages_version": {
|
docs/README.md
CHANGED
@@ -102,6 +102,12 @@ For more details usage instructions, visit the [MONAI Bundle Configuration Page]
|
|
102 |
python -m monai.bundle run --config_file configs/train.json
|
103 |
```
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
#### Override the `train` config to execute multi-GPU training:
|
106 |
|
107 |
```
|
|
|
102 |
python -m monai.bundle run --config_file configs/train.json
|
103 |
```
|
104 |
|
105 |
+
Please note that if the default dataset path is not modified with the actual path in the bundle config files, you can also override it by using `--dataset_dir`:
|
106 |
+
|
107 |
+
```
|
108 |
+
python -m monai.bundle run --config_file configs/train.json --dataset_dir <actual dataset path>
|
109 |
+
```
|
110 |
+
|
111 |
#### Override the `train` config to execute multi-GPU training:
|
112 |
|
113 |
```
|