Skip to content

Commit a9effe9

Browse files
authored
v0.5.0 adaption (#814)
1 parent c879001 commit a9effe9

28 files changed

+28
-28
lines changed

configs/det/dbnet/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ msrun --worker_num=2 --local_worker_num=2 python tools/train.py --config configs
288288
# Based on verification,binding cores usually results in performance acceleration.Please configure the parameters and run.
289289
msrun --bind_core=True --worker_num=2 --local_worker_num=2 python tools/train.py --config configs/det/dbnet/db_r50_icdar15.yaml
290290
```
291-
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/master/model_train/parallel/msrun_launcher.html).
291+
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/r2.5.0/model_train/parallel/msrun_launcher.html).
292292

293293
The training result (including checkpoints, per-epoch performance and curves) will be saved in the directory parsed by the arg `ckpt_save_dir` in yaml config file. The default directory is `./tmp_det`.
294294

configs/det/dbnet/README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ msrun --worker_num=2 --local_worker_num=2 python tools/train.py --config configs
270270
# 经验证,绑核在大部分情况下有性能加速,请配置参数并运行
271271
msrun --bind_core=True --worker_num=2 --local_worker_num=2 python tools/train.py --config configs/det/dbnet/db_r50_icdar15.yaml
272272
```
273-
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/master/model_train/parallel/msrun_launcher.html).
273+
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/r2.5.0/model_train/parallel/msrun_launcher.html).
274274

275275
训练结果(包括checkpoint、每个epoch的性能和曲线图)将被保存在yaml配置文件的`ckpt_save_dir`参数配置的路径下,默认为`./tmp_det`。
276276

configs/det/dbnet/README_CN_PP-OCRv3.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ msrun --worker_num=4 --local_worker_num=4 python tools/train.py --config configs
338338
# 经验证,绑核在大部分情况下有性能加速,请配置参数并运行
339339
msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py --config configs/det/dbnet/db_mobilenetv3_ppocrv3.yaml
340340
```
341-
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/master/model_train/parallel/msrun_launcher.html).
341+
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/r2.5.0/model_train/parallel/msrun_launcher.html).
342342

343343

344344
* 单卡训练

configs/det/east/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ msrun --worker_num=8 --local_worker_num=8 python tools/train.py --config configs
136136
# Based on verification,binding cores usually results in performance acceleration.Please configure the parameters and run.
137137
msrun --bind_core=True --worker_num=8 --local_worker_num=8 python tools/train.py --config configs/det/east/east_r50_icdar15.yaml
138138
```
139-
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/master/model_train/parallel/msrun_launcher.html).
139+
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/r2.5.0/model_train/parallel/msrun_launcher.html).
140140

141141
The training result (including checkpoints, per-epoch performance and curves) will be saved in the directory parsed by the arg `ckpt_save_dir` in yaml config file. The default directory is `./tmp_det`.
142142

configs/det/east/README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ msrun --worker_num=8 --local_worker_num=8 python tools/train.py --config configs
132132
# 经验证,绑核在大部分情况下有性能加速,请配置参数并运行
133133
msrun --bind_core=True --worker_num=8 --local_worker_num=8 python tools/train.py --config configs/det/east/east_r50_icdar15.yaml
134134
```
135-
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/master/model_train/parallel/msrun_launcher.html).
135+
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/r2.5.0/model_train/parallel/msrun_launcher.html).
136136

137137
训练结果(包括checkpoint、每个epoch的性能和曲线图)将被保存在yaml配置文件的`ckpt_save_dir`参数配置的路径下,默认为`./tmp_det`。
138138

configs/det/psenet/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ msrun --worker_num=8 --local_worker_num=8 python tools/train.py --config configs
156156
msrun --bind_core=True --worker_num=8 --local_worker_num=8 python tools/train.py --config configs/det/psenet/pse_r152_icdar15.yaml
157157

158158
```
159-
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/master/model_train/parallel/msrun_launcher.html).
159+
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/r2.5.0/model_train/parallel/msrun_launcher.html).
160160

161161

162162
The training result (including checkpoints, per-epoch performance and curves) will be saved in the directory parsed by the arg `ckpt_save_dir` in yaml config file. The default directory is `./tmp_det`.

configs/det/psenet/README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ msrun --worker_num=8 --local_worker_num=8 python tools/train.py --config configs
155155
# 经验证,绑核在大部分情况下有性能加速,请配置参数并运行
156156
msrun --bind_core=True --worker_num=8 --local_worker_num=8 python tools/train.py --config configs/det/psenet/pse_r152_icdar15.yaml
157157
```
158-
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/master/model_train/parallel/msrun_launcher.html).
158+
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/r2.5.0/model_train/parallel/msrun_launcher.html).
159159

160160
训练结果(包括checkpoint、每个epoch的性能和曲线图)将被保存在yaml配置文件的`ckpt_save_dir`参数配置的路径下,默认为`./tmp_det`
161161

configs/layout/yolov8/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ msrun --worker_num=4 --local_worker_num=4 python tools/train.py --config configs
9191
# Based on verification,binding cores usually results in performance acceleration.Please configure the parameters and run.
9292
msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py --config configs/layout/yolov8/yolov8n.yaml
9393
```
94-
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/master/model_train/parallel/msrun_launcher.html).
94+
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/r2.5.0/model_train/parallel/msrun_launcher.html).
9595

9696

9797
* Standalone Training

configs/layout/yolov8/README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ msrun --worker_num=4 --local_worker_num=4 python tools/train.py --config configs
107107
# 经验证,绑核在大部分情况下有性能加速,请配置参数并运行
108108
msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py --config configs/layout/yolov8/yolov8n.yaml
109109
```
110-
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/master/model_train/parallel/msrun_launcher.html).
110+
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/r2.5.0/model_train/parallel/msrun_launcher.html).
111111

112112

113113
* 单卡训练

configs/rec/abinet/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ msrun --worker_num=8 --local_worker_num=8 python tools/train.py --config configs
232232
# Based on verification,binding cores usually results in performance acceleration.Please configure the parameters and run.
233233
msrun --bind_core=True --worker_num=8 --local_worker_num=8 python tools/train.py --config configs/rec/abinet/abinet_resnet45_en.yaml
234234
```
235-
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/master/model_train/parallel/msrun_launcher.html).
235+
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/r2.5.0/model_train/parallel/msrun_launcher.html).
236236

237237
The pre-trained model needs to be loaded during ABINet model training, and the weight of the pre-trained model is
238238
from [abinet_pretrain_en.ckpt](https://download.mindspore.cn/toolkits/mindocr/abinet/abinet_pretrain_en-821ca20b.ckpt). It is needed to add the path of the pretrained weight to the model pretrained in "configs/rec/abinet/abinet_resnet45_en.yaml".

configs/rec/abinet/README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ msrun --worker_num=8 --local_worker_num=8 python tools/train.py --config configs
252252
# 经验证,绑核在大部分情况下有性能加速,请配置参数并运行
253253
msrun --bind_core=True --worker_num=8 --local_worker_num=8 python tools/train.py --config configs/rec/abinet/abinet_resnet45_en.yaml
254254
```
255-
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/master/model_train/parallel/msrun_launcher.html).
255+
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/r2.5.0/model_train/parallel/msrun_launcher.html).
256256

257257

258258
ABINet模型训练时需要加载预训练模型,预训练模型的权重来自[abinet_pretrain_en.ckpt](https://download.mindspore.cn/toolkits/mindocr/abinet/abinet_pretrain_en-821ca20b.ckpt),需要在“configs/rec/abinet/abinet_resnet45_en.yaml”中model的pretrained添加预训练权重的路径。

configs/rec/crnn/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ msrun --worker_num=8 --local_worker_num=8 python tools/train.py --config configs
264264
# Based on verification,binding cores usually results in performance acceleration.Please configure the parameters and run.
265265
msrun --bind_core=True --worker_num=8 --local_worker_num=8 python tools/train.py --config configs/rec/crnn/crnn_resnet34.yaml
266266
```
267-
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/master/model_train/parallel/msrun_launcher.html).
267+
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/r2.5.0/model_train/parallel/msrun_launcher.html).
268268

269269

270270

configs/rec/crnn/README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ msrun --worker_num=8 --local_worker_num=8 python tools/train.py --config configs
266266
# 经验证,绑核在大部分情况下有性能加速,请配置参数并运行
267267
msrun --bind_core=True --worker_num=8 --local_worker_num=8 python tools/train.py --config configs/rec/crnn/crnn_resnet34.yaml
268268
```
269-
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/master/model_train/parallel/msrun_launcher.html).
269+
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/r2.5.0/model_train/parallel/msrun_launcher.html).
270270

271271

272272
* 单卡训练

configs/rec/master/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ msrun --worker_num=4 --local_worker_num=4 python tools/train.py --config configs
287287
# Based on verification,binding cores usually results in performance acceleration.Please configure the parameters and run.
288288
msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py --config configs/rec/master/master_resnet31.yaml
289289
```
290-
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/master/model_train/parallel/msrun_launcher.html).
290+
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/r2.5.0/model_train/parallel/msrun_launcher.html).
291291

292292

293293

configs/rec/master/README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ msrun --worker_num=4 --local_worker_num=4 python tools/train.py --config configs
290290
# 经验证,绑核在大部分情况下有性能加速,请配置参数并运行
291291
msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py --config configs/rec/master/master_resnet31.yaml
292292
```
293-
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/master/model_train/parallel/msrun_launcher.html).
293+
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/r2.5.0/model_train/parallel/msrun_launcher.html).
294294

295295

296296

configs/rec/rare/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ msrun --worker_num=4 --local_worker_num=4 python tools/train.py --config configs
255255
# Based on verification,binding cores usually results in performance acceleration.Please configure the parameters and run.
256256
msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py --config configs/rec/rare/rare_resnet34.yaml
257257
```
258-
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/master/model_train/parallel/msrun_launcher.html).
258+
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/r2.5.0/model_train/parallel/msrun_launcher.html).
259259

260260

261261
* Standalone Training

configs/rec/rare/README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ msrun --worker_num=4 --local_worker_num=4 python tools/train.py --config configs
256256
# 经验证,绑核在大部分情况下有性能加速,请配置参数并运行
257257
msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py --config configs/rec/rare/rare_resnet34.yaml
258258
```
259-
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/master/model_train/parallel/msrun_launcher.html).
259+
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/r2.5.0/model_train/parallel/msrun_launcher.html).
260260

261261

262262
* 单卡训练

configs/rec/robustscanner/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ msrun --worker_num=4 --local_worker_num=4 python tools/train.py --config configs
284284
# Based on verification,binding cores usually results in performance acceleration.Please configure the parameters and run.
285285
msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py --config configs/rec/robustscanner/robustscanner_resnet31.yaml
286286
```
287-
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/master/model_train/parallel/msrun_launcher.html).
287+
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/r2.5.0/model_train/parallel/msrun_launcher.html).
288288

289289

290290
* Standalone Training

configs/rec/robustscanner/README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ msrun --worker_num=4 --local_worker_num=4 python tools/train.py --config configs
289289
# 经验证,绑核在大部分情况下有性能加速,请配置参数并运行
290290
msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py --config configs/rec/robustscanner/robustscanner_resnet31.yaml
291291
```
292-
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/master/model_train/parallel/msrun_launcher.html).
292+
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/r2.5.0/model_train/parallel/msrun_launcher.html).
293293

294294

295295
* 单卡训练

configs/rec/svtr/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ msrun --worker_num=8 --local_worker_num=8 python tools/train.py --config configs
269269
# Based on verification,binding cores usually results in performance acceleration.Please configure the parameters and run.
270270
msrun --bind_core=True --worker_num=8 --local_worker_num=8 python tools/train.py --config configs/rec/svtr/svtr_tiny_8p.yaml
271271
```
272-
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/master/model_train/parallel/msrun_launcher.html).
272+
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/r2.5.0/model_train/parallel/msrun_launcher.html).
273273

274274

275275

configs/rec/svtr/README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ msrun --worker_num=8 --local_worker_num=8 python tools/train.py --config configs
270270
# 经验证,绑核在大部分情况下有性能加速,请配置参数并运行
271271
msrun --bind_core=True --worker_num=8 --local_worker_num=8 python tools/train.py --config configs/rec/svtr/svtr_tiny_8p.yaml
272272
```
273-
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/master/model_train/parallel/msrun_launcher.html).
273+
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/r2.5.0/model_train/parallel/msrun_launcher.html).
274274

275275

276276

configs/rec/svtr/README_CN_PP-OCRv3.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ msrun --worker_num=4 --local_worker_num=4 python tools/train.py --config configs
301301
# 经验证,绑核在大部分情况下有性能加速,请配置参数并运行
302302
msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py --config configs/rec/svtr/svtr_ppocrv3_ch.yaml
303303
```
304-
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/master/model_train/parallel/msrun_launcher.html).
304+
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/r2.5.0/model_train/parallel/msrun_launcher.html).
305305

306306

307307

configs/rec/visionlan/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py
193193
msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py --config configs/rec/visionlan/visionlan_resnet45_LF_2.yaml
194194
msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py --config configs/rec/visionlan/visionlan_resnet45_LA.yaml
195195
```
196-
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/master/model_train/parallel/msrun_launcher.html).
196+
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/r2.5.0/model_train/parallel/msrun_launcher.html).
197197

198198
The training result (including checkpoints, per-epoch performance and curves) will be saved in the directory parsed by the arg `ckpt_save_dir` in yaml config file. The default directory is `./tmp_visionlan`.
199199

configs/rec/visionlan/README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py
184184
msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py --config configs/rec/visionlan/visionlan_resnet45_LF_2.yaml
185185
msrun --bind_core=True --worker_num=4 --local_worker_num=4 python tools/train.py --config configs/rec/visionlan/visionlan_resnet45_LA.yaml
186186
```
187-
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/master/model_train/parallel/msrun_launcher.html).
187+
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/r2.5.0/model_train/parallel/msrun_launcher.html).
188188

189189
训练结果(包括checkpoints、每个阶段的性能和loss曲线)将保存在yaml配置文件中由参数`ckpt_save_dir`解析的目录中。默认目录为`./tmp_visionlan`
190190

configs/table/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ msrun --worker_num=8 --local_worker_num=8 python tools/train.py --config configs
144144
# Based on verification,binding cores usually results in performance acceleration.Please configure the parameters and run.
145145
msrun --bind_core=True --worker_num=8 --local_worker_num=8 python tools/train.py --config configs/table/table_master.yaml
146146
```
147-
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/master/model_train/parallel/msrun_launcher.html).
147+
**Note:** For more information about msrun configuration, please refer to [here](https://www.mindspore.cn/docs/en/r2.5.0/model_train/parallel/msrun_launcher.html).
148148

149149

150150
The training result (including checkpoints, per-epoch performance and curves) will be saved in the directory parsed by the arg `ckpt_save_dir` in yaml config file. The default directory is `./tmp_table`.

configs/table/README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ msrun --worker_num=8 --local_worker_num=8 python tools/train.py --config configs
138138
# 经验证,绑核在大部分情况下有性能加速,请配置参数并运行
139139
msrun --bind_core=True --worker_num=8 --local_worker_num=8 python tools/train.py --config configs/table/table_master.yaml
140140
```
141-
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/master/model_train/parallel/msrun_launcher.html).
141+
**注意:** 有关 msrun 配置的更多信息,请参考[此处](https://www.mindspore.cn/docs/zh-CN/r2.5.0/model_train/parallel/msrun_launcher.html).
142142

143143
训练结果(包括checkpoint、每个epoch的性能和曲线图)将被保存在yaml配置文件的`ckpt_save_dir`参数配置的路径下,默认为`./tmp_table`。
144144

0 commit comments

Comments
 (0)