YOLOv3 darknet Windows版 评价指标的命令行

本文介绍如何使用YoloV3进行批量图像检测,包括处理未标记图像、保存检测结果、评估模型精度(mAP@IoU=50/75),以及计算anchors。通过具体命令行示例,读者可以了解如何执行这些操作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  1. 批量检测:处理data/train.txt中一列表的图像 , 并将保存检测的结果到 result.json文件 使用:
 darknet.exe detector test cfg/coco.data cfg/yolov3.cfg yolov3.weights -ext_output -dont_show -out result.json < data/train.txt
  1. 批量检测:处理data/train.txt中一列表的图像 , 并将保存检测的结果到 result.txt 文件 使用:
darknet.exe detector test cfg/coco.data cfg/yolov3.cfg yolov3.weights -dont_show -ext_output < data/train.txt > result.txt
  1. 为了检查精确度 mAP@IoU=50使用:
darknet.exe detector map data/obj.data yolo-obj.cfg backup\yolo-obj_7000.weights

5.为了检查精确度 mAP@IoU=75使用:

darknet.exe detector map data/obj.data yolo-obj.cfg backup\yolo-obj_7000.weights -iou_thresh 0.75
  1. 为了计算anchors (k-means算法):
darknet.exe detector calc_anchors data/obj.data -num_of_clusters 9 -width 416 -height 416
  1. 自增量训练 Pseudo-lableing - 为了检测一系列没有标签的图像 data/new_train.txt 并将yolo的检测结果以数据集的格式为每张图像保存下来,像标签 <image_name>.txt (使用这种方式,你就可以提升训练数据的数量)使用命令行:
darknet.exe detector test cfg/coco.data cfg/yolov3.cfg yolov3.weights -thresh 0.25 -dont_show -save_labels < data/new_train.txt
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值