這個腳本可以測試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

 

發佈了39 篇原創文章 · 獲贊 24 · 訪問量 3萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章