enhance readme on commands example
Browse files- README.md +3 -0
- configs/metadata.json +2 -1
- docs/README.md +3 -0
README.md
CHANGED
@@ -82,6 +82,9 @@ Override the `train` config to execute multi-GPU training:
|
|
82 |
torchrun --standalone --nnodes=1 --nproc_per_node=8 -m monai.bundle run training --meta_file configs/metadata.json --config_file "['configs/train.json','configs/multi_gpu_train.json']" --logging_file configs/logging.conf
|
83 |
```
|
84 |
|
|
|
|
|
|
|
85 |
Override the `train` config to execute evaluation with the trained model:
|
86 |
|
87 |
```
|
|
|
82 |
torchrun --standalone --nnodes=1 --nproc_per_node=8 -m monai.bundle run training --meta_file configs/metadata.json --config_file "['configs/train.json','configs/multi_gpu_train.json']" --logging_file configs/logging.conf
|
83 |
```
|
84 |
|
85 |
+
Please note that the distributed training related options depend on the actual running environment, thus you may need to remove `--standalone`, modify `--nnodes` or do some other necessary changes according to the machine you used.
|
86 |
+
Please refer to [pytorch's official tutorial](https://pytorch.org/tutorials/intermediate/ddp_tutorial.html) for more details.
|
87 |
+
|
88 |
Override the `train` config to execute evaluation with the trained model:
|
89 |
|
90 |
```
|
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.1": "fix license Copyright error",
|
6 |
"0.3.0": "update license files",
|
7 |
"0.2.1": "fix network_data_format error",
|
|
|
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.2",
|
4 |
"changelog": {
|
5 |
+
"0.3.2": "enhance readme on commands example",
|
6 |
"0.3.1": "fix license Copyright error",
|
7 |
"0.3.0": "update license files",
|
8 |
"0.2.1": "fix network_data_format error",
|
docs/README.md
CHANGED
@@ -75,6 +75,9 @@ Override the `train` config to execute multi-GPU training:
|
|
75 |
torchrun --standalone --nnodes=1 --nproc_per_node=8 -m monai.bundle run training --meta_file configs/metadata.json --config_file "['configs/train.json','configs/multi_gpu_train.json']" --logging_file configs/logging.conf
|
76 |
```
|
77 |
|
|
|
|
|
|
|
78 |
Override the `train` config to execute evaluation with the trained model:
|
79 |
|
80 |
```
|
|
|
75 |
torchrun --standalone --nnodes=1 --nproc_per_node=8 -m monai.bundle run training --meta_file configs/metadata.json --config_file "['configs/train.json','configs/multi_gpu_train.json']" --logging_file configs/logging.conf
|
76 |
```
|
77 |
|
78 |
+
Please note that the distributed training related options depend on the actual running environment, thus you may need to remove `--standalone`, modify `--nnodes` or do some other necessary changes according to the machine you used.
|
79 |
+
Please refer to [pytorch's official tutorial](https://pytorch.org/tutorials/intermediate/ddp_tutorial.html) for more details.
|
80 |
+
|
81 |
Override the `train` config to execute evaluation with the trained model:
|
82 |
|
83 |
```
|