add dataset dir example
Browse files- README.md +6 -0
- configs/metadata.json +3 -2
- docs/README.md +6 -0
README.md
CHANGED
@@ -112,6 +112,12 @@ For more details usage instructions, visit the [MONAI Bundle Configuration Page]
|
|
112 |
python -m monai.bundle run --config_file configs/train.json
|
113 |
```
|
114 |
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
#### Override the `train` config to execute multi-GPU training:
|
116 |
|
117 |
```
|
|
|
112 |
python -m monai.bundle run --config_file configs/train.json
|
113 |
```
|
114 |
|
115 |
+
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`:
|
116 |
+
|
117 |
+
```
|
118 |
+
python -m monai.bundle run --config_file configs/train.json --dataset_dir <actual dataset path>
|
119 |
+
```
|
120 |
+
|
121 |
#### Override the `train` config to execute multi-GPU training:
|
122 |
|
123 |
```
|
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.2": "update ONNX-TensorRT descriptions",
|
6 |
"0.4.1": "update the model weights with the deterministic training",
|
7 |
"0.4.0": "add the ONNX-TensorRT way of model conversion",
|
@@ -21,7 +22,7 @@
|
|
21 |
"0.1.0": "complete the first version model package",
|
22 |
"0.0.1": "initialize the model package structure"
|
23 |
},
|
24 |
-
"monai_version": "1.2.
|
25 |
"pytorch_version": "1.13.1",
|
26 |
"numpy_version": "1.22.2",
|
27 |
"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.3",
|
4 |
"changelog": {
|
5 |
+
"0.4.3": "add dataset dir example",
|
6 |
"0.4.2": "update ONNX-TensorRT descriptions",
|
7 |
"0.4.1": "update the model weights with the deterministic training",
|
8 |
"0.4.0": "add the ONNX-TensorRT way of model conversion",
|
|
|
22 |
"0.1.0": "complete the first version model package",
|
23 |
"0.0.1": "initialize the model package structure"
|
24 |
},
|
25 |
+
"monai_version": "1.2.0rc6",
|
26 |
"pytorch_version": "1.13.1",
|
27 |
"numpy_version": "1.22.2",
|
28 |
"optional_packages_version": {
|
docs/README.md
CHANGED
@@ -105,6 +105,12 @@ For more details usage instructions, visit the [MONAI Bundle Configuration Page]
|
|
105 |
python -m monai.bundle run --config_file configs/train.json
|
106 |
```
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
#### Override the `train` config to execute multi-GPU training:
|
109 |
|
110 |
```
|
|
|
105 |
python -m monai.bundle run --config_file configs/train.json
|
106 |
```
|
107 |
|
108 |
+
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`:
|
109 |
+
|
110 |
+
```
|
111 |
+
python -m monai.bundle run --config_file configs/train.json --dataset_dir <actual dataset path>
|
112 |
+
```
|
113 |
+
|
114 |
#### Override the `train` config to execute multi-GPU training:
|
115 |
|
116 |
```
|