Yolo使用

发布时间:2020年12月19日 阅读:235 次

YOLOv5 常用训练命令

1 在线debug 查看运行记录网站 https://wandb.ai/axuhongbo/YOLOv5/runs/34bs9tgg?workspace=user-axuhongbo

python test.py --weights='./weights/best.pt' --data='../nail/data.yaml' --task='test' --single-cls --save-txt --save-hybrid --save-json --save-conf
python train.py --img 640 --batch 4 --epochs 2 --data ../nail/data.yaml --cfg models/yolov5s.yaml --weights ''
python train.py --data ../nail/data.yaml   --cfg yolov5s.yaml --weights './weights/yolov5s.pt' --batch-size 4 --epoch 30  --single-cls --multi-scale


3

python test.py --weights='./runs/t' --data='../nail/data.yaml' --task='test' --device='1,2'  --single-cls --save-txt --save-hybrid --save-json --save-conf
python train.py --data ../nail/data.yaml --cfg yolov5s.yaml --weights ./weights/yolov5s.pt --batch-size 16 --epoch 100 --single-cls --multi-scale --device 2,3

4


Tag:
相关文章

发表评论: