test.cmd
#计算精度和召回率(yolo训练)
echo
darknet.exe detector map obj.data yolov3-obj-test.cfg yolov3-obj_12500.weights
pause
#把测试结果的召回率和精度存放在result.txt文本中
darknet.exe detector map obj.data yolov3-obj-test.cfg yolov3-obj_12500.weights -ext_output < test.txt > result.txt
#把map修改为test,功能为测试。并把测试结果保存在result.txt,其中test.txt存放的是图像路径
echo
darknet.exe detector test obj.data yolov3-obj-test.cfg yolov3-obj_12500.weights -ext_output < test.txt > result.txt
pause