Shortcuts

自动混合精度(AMP)训练

如果要开启自动混合精度(AMP)训练,在训练命令最后加上 --amp 即可, 命令如下:

python tools/train.py python ./tools/train.py ${CONFIG} --amp

具体例子如下:

python tools/train.py configs/yolov5/yolov5_s-v61_syncbn_8xb16-300e_coco.py --amp
Read the Docs v: latest
Versions
latest
stable
dev
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.