yolov5的val.py验证的终端命令

2023-12-24 19:32:47
python val.py --data data.yaml  --weights runs/train/exp15/weights/best.pt

参考参数:

usage: val.py [-h] [--data DATA] [--weights WEIGHTS [WEIGHTS ...]] [--batch-size BATCH_SIZE] [--imgsz IMGSZ] [--conf-thres CONF_THRES] [--iou-thres IOU_THRES] [--max-det MAX_DET] [--task TASK]
              [--device DEVICE] [--workers WORKERS] [--single-cls] [--augment] [--verbose] [--save-txt] [--save-hybrid] [--save-conf] [--save-json] [--project PROJECT] [--name NAME] [--exist-ok]
              [--half] [--dnn]

文章来源:https://blog.csdn.net/qq_44421796/article/details/135185021
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。