训练时计算相应的mAP值
./darknet detector train cfg/coco.data yolov3.cfg yolov3.conv.137 -map
测试时计算相应的mAP值
To check accuracy mAP@IoU=50: ./darknet detector map data/obj.data yolo-obj.cfg backup\yolo-obj_7000.weights
To check accuracy mAP@IoU=75: ./darknet detector map data/obj.data yolo-obj.cfg backup\yolo-obj_7000.weights -iou_thresh 0.75
测试时计算相应的mAP值,并保存result.txt
./darknet detector map data/obj.data yolo-obj.cfg backup\yolo-obj_7000.weights -dont_show -ext_output < data/train.txt > result.txt
参考:
https://github.com/AlexeyAB/darknethttps://github.com/AlexeyAB/darknet
版权声明:本文为CSDN博主「九是否非随机的称呼」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/m0_50617544/article/details/121893879
暂无评论