Skip to content

Commit 9231cbe

Browse files
[doc]add amp train notes for detection train (#13481)
* [doc]add amp train notes for detection train * Update detection.md * Update detection.md
1 parent cf26f23 commit 9231cbe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/doc_ch/detection.md

+2
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ python3 tools/train.py -c configs/det/det_mv3_db.yml \
141141
-o Global.pretrained_model=./pretrain_models/MobileNetV3_large_x0_5_pretrained \
142142
Global.use_amp=True Global.scale_loss=1024.0 Global.use_dynamic_loss_scaling=True
143143
```
144+
**注意**
145+
文本检测模型使用AMP时可能遇到训练不收敛问题,可以参考[discussions](https://github.com/PaddlePaddle/PaddleOCR/discussions/12445)中的临时解决方案进行使用。
144146

145147
<a name="25---fleet---"></a>
146148

0 commit comments

Comments
 (0)