cpu与gpu训练转换
python train.py --weights yolov5s.pt --cfg models/yolov5s.yaml --data data/myvoc.yaml --epoch 200 --batch-size 8 --img 640 --device cpu
python train.py --weights yolov5s.pt --cfg models/yolov5s.yaml --data data/myvoc.yaml --epoch 200 --batch-size 8 --img 640 --device 0
https://huaweicloud.csdn.net/63806a6edacf622b8df87558.html
欢迎讨论,相互学习。
cdtxw@foxmail.com