Skip to content

Commit

Permalink
[Doc] fix typo in training command (#3004)
Browse files Browse the repository at this point in the history
* Update train_and_test.md end

* Update train_and_test.md
  • Loading branch information
jitrc committed Apr 23, 2024
1 parent f2ec026 commit de574ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en/user_guides/train_and_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ different port and visible devices.

```shell
CUDA_VISIBLE_DEVICES=0,1,2,3 PORT=29500 bash ./tools/dist_train.sh ${CONFIG_FILE1} 4 [PY_ARGS]
CUDA_VISIBLE_DEVICES=4,5,6,7 GPUS=29501 bash ./tools/dist_train.sh ${CONFIG_FILE2} 4 [PY_ARGS]
CUDA_VISIBLE_DEVICES=4,5,6,7 PORT=29501 bash ./tools/dist_train.sh ${CONFIG_FILE2} 4 [PY_ARGS]
```

### Train with multiple machines
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_cn/user_guides/train_and_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ PORT=29666 bash ./tools/dist_train.sh ${CONFIG_FILE} ${GPU_NUM} [PY_ARGS]

```shell
CUDA_VISIBLE_DEVICES=0,1,2,3 PORT=29500 bash ./tools/dist_train.sh ${CONFIG_FILE1} 4 [PY_ARGS]
CUDA_VISIBLE_DEVICES=4,5,6,7 GPUS=29501 bash ./tools/dist_train.sh ${CONFIG_FILE2} 4 [PY_ARGS]
CUDA_VISIBLE_DEVICES=4,5,6,7 PORT=29501 bash ./tools/dist_train.sh ${CONFIG_FILE2} 4 [PY_ARGS]
```

### 分布式训练
Expand Down

0 comments on commit de574ed

Please sign in to comment.