#!/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