PR https://github.com/ultralytics/yolov5/pull/2725 introduced a very specific bug that only affects multi-GPU trainings. Apparently the cause was using the torch.cuda.amp decorator in the autoShape forward method. I've implemented amp more traditionally in this PR, and the bug is resolved. |
||
|---|---|---|
| .. | ||
| hub | ||
| __init__.py | ||
| common.py | ||
| experimental.py | ||
| export.py | ||
| yolo.py | ||
| yolov5l.yaml | ||
| yolov5m.yaml | ||
| yolov5s.yaml | ||
| yolov5x.yaml | ||