enhance readme on commands example
Browse files- README.md +3 -0
- configs/metadata.json +2 -1
- docs/README.md +3 -0
README.md
CHANGED
@@ -59,6 +59,9 @@ Override the `train` config to execute multi-GPU training:
|
|
59 |
torchrun --standalone --nnodes=1 --nproc_per_node=2 -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
|
60 |
```
|
61 |
|
|
|
|
|
|
|
62 |
Override the `train` config to execute evaluation with the trained model:
|
63 |
|
64 |
```
|
|
|
59 |
torchrun --standalone --nnodes=1 --nproc_per_node=2 -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
|
60 |
```
|
61 |
|
62 |
+
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.
|
63 |
+
Please refer to [pytorch's official tutorial](https://pytorch.org/tutorials/intermediate/ddp_tutorial.html) for more details.
|
64 |
+
|
65 |
Override the `train` config to execute evaluation with the trained model:
|
66 |
|
67 |
```
|
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.0": "unify naming",
|
|
|
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.0": "unify naming",
|
docs/README.md
CHANGED
@@ -52,6 +52,9 @@ Override the `train` config to execute multi-GPU training:
|
|
52 |
torchrun --standalone --nnodes=1 --nproc_per_node=2 -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
|
53 |
```
|
54 |
|
|
|
|
|
|
|
55 |
Override the `train` config to execute evaluation with the trained model:
|
56 |
|
57 |
```
|
|
|
52 |
torchrun --standalone --nnodes=1 --nproc_per_node=2 -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
|
53 |
```
|
54 |
|
55 |
+
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.
|
56 |
+
Please refer to [pytorch's official tutorial](https://pytorch.org/tutorials/intermediate/ddp_tutorial.html) for more details.
|
57 |
+
|
58 |
Override the `train` config to execute evaluation with the trained model:
|
59 |
|
60 |
```
|