这个脚本可以测试yolov3转换为caffemodel的性能

#!/bin/bash
if [ "$1" ] ;then
../caffe-master/build/examples/yolo/yolov3_detect.bin \
          dpu.prototxt \
          dpu_10000.caffemodel \
          /home/test/darknet/VOC2019/ImageSets/Main/test_all.txt \
          -out_file dpu_caffe_result.txt \
          -confidence_threshold 0.5 \
          -classes 1 \
          -anchorCnt 3
fi

python map.py dpu_caffe_result.txt /home/test/darknet/VOC2019/ImageSets/Main/test_all.txt head

 

你可能感兴趣的:(DarkNet,caffe)