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

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]

你可能感兴趣的:(目标检测yolov5,YOLO)