From e8b3be10538964d271974459bc784f43d575b7dc Mon Sep 17 00:00:00 2001 From: littletomatodonkey <2120160898@bit.edu.cn> Date: Sun, 13 Dec 2020 21:24:57 +0800 Subject: [PATCH] Update getting_started.md --- docs/zh_CN/tutorials/getting_started.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/zh_CN/tutorials/getting_started.md b/docs/zh_CN/tutorials/getting_started.md index 0b0a62e6..acbc53a0 100644 --- a/docs/zh_CN/tutorials/getting_started.md +++ b/docs/zh_CN/tutorials/getting_started.md @@ -124,7 +124,7 @@ python tools/eval.py \ ### 2.1 模型训练 -参考如下方式启动模型训练,`paddle.distributed.launch`通过设置`selected_gpus`指定GPU运行卡号: +参考如下方式启动模型训练,`paddle.distributed.launch`通过设置`gpus`指定GPU运行卡号: ```bash # PaddleClas通过launch方式启动多卡多进程训练 @@ -132,7 +132,7 @@ python tools/eval.py \ export CUDA_VISIBLE_DEVICES=0,1,2,3 python -m paddle.distributed.launch \ - --selected_gpus="0,1,2,3" \ + --gpus="0,1,2,3" \ tools/train.py \ -c ./configs/quick_start/MobileNetV3_large_x1_0_finetune.yaml ``` @@ -141,7 +141,7 @@ python -m paddle.distributed.launch \ ```bash python -m paddle.distributed.launch \ - --selected_gpus="0,1,2,3" \ + --gpus="0,1,2,3" \ tools/train.py \ -c ./configs/quick_start/MobileNetV3_large_x1_0_finetune.yaml \ -o pretrained_model="" \ @@ -159,7 +159,7 @@ python -m paddle.distributed.launch \ export CUDA_VISIBLE_DEVICES=0,1,2,3 python -m paddle.distributed.launch \ - --selected_gpus="0,1,2,3" \ + --gpus="0,1,2,3" \ tools/train.py \ -c ./configs/quick_start/MobileNetV3_large_x1_0_finetune.yaml \ -o pretrained_model="./pretrained/MobileNetV3_large_x1_0_pretrained" @@ -179,7 +179,7 @@ python -m paddle.distributed.launch \ export CUDA_VISIBLE_DEVICES=0,1,2,3 python -m paddle.distributed.launch \ - --selected_gpus="0,1,2,3" \ + --gpus="0,1,2,3" \ tools/train.py \ -c ./configs/quick_start/MobileNetV3_large_x1_0_finetune.yaml \ -o checkpoints="./output/MobileNetV3_large_x1_0/5/ppcls" \ -- GitLab