monai
medical
katielink commited on
Commit
8800be8
·
1 Parent(s): e81629a

enhance readme on commands example

Browse files
Files changed (3) hide show
  1. README.md +3 -0
  2. configs/metadata.json +2 -1
  3. docs/README.md +3 -0
README.md CHANGED
@@ -85,6 +85,9 @@ Override the `train` config to execute multi-GPU training:
85
  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
86
  ```
87
 
 
 
 
88
  Override the `train` config to execute evaluation with the trained model:
89
 
90
  ```
 
85
  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
86
  ```
87
 
88
+ 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.
89
+ Please refer to [pytorch's official tutorial](https://pytorch.org/tutorials/intermediate/ddp_tutorial.html) for more details.
90
+
91
  Override the `train` config to execute evaluation with the trained model:
92
 
93
  ```
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.1",
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
@@ -78,6 +78,9 @@ Override the `train` config to execute multi-GPU training:
78
  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
79
  ```
80
 
 
 
 
81
  Override the `train` config to execute evaluation with the trained model:
82
 
83
  ```
 
78
  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
79
  ```
80
 
81
+ 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.
82
+ Please refer to [pytorch's official tutorial](https://pytorch.org/tutorials/intermediate/ddp_tutorial.html) for more details.
83
+
84
  Override the `train` config to execute evaluation with the trained model:
85
 
86
  ```