输入命令,输出预测结果:
./build/examples/ssd/ssd_detect.bin /home/ssd/caffe/models/VGGNet/SSD_512x512/deploy.prototxt /home/ssd/caffe/models/VGGNet/SSD_512x512/VGG_VOC0712_SSD_512x512_iter_50000.caffemodel examples/images/test.txt --out_file examples/images/output.txt --confidence_threshold 0.4
输入命令,对结果画图:
python examples/ssd/plot_detections.py examples/images/output.txt /home/ssd/caffe --labelmap-file data/labelmap_voc.prototxt --save-dir examples/images
./build/examples/ssd/ssd_detect.bin /home/ssd/caffe/models/VGGNet/SSD_512x512/deploy.prototxt /home/ssd/caffe/models/VGGNet/SSD_512x512/VGG_VOC0712_SSD_512x512_iter_50000.caffemodel examples/images/test.txt --out_file examples/images/output.txt --confidence_threshold 0.4
输入命令,对结果画图:
python examples/ssd/plot_detections.py examples/images/output.txt /home/ssd/caffe --labelmap-file data/labelmap_voc.prototxt --save-dir examples/images