mmyolo/docs/en/common_usage/amp_training.md

14 lines
375 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Automatic mixed precisionAMPtraining
To enable Automatic Mixing Precision (AMP) training, add `--amp` to the end of the training command, which is as follows:
```shell
python tools/train.py python ./tools/train.py ${CONFIG} --amp
```
Specific examples are as follows:
```shell
python tools/train.py configs/yolov5/yolov5_s-v61_syncbn_8xb16-300e_coco.py --amp
```