ssd中test the detection speed

来源:互联网 发布:管家婆进销存软件 价格 编辑:程序博客网 时间:2024/05/19 03:30

https://github.com/weiliu89/caffe/issues/332

P.S. For the detection speed evaluation, I basically add timing function in your "ssd_detect.ipynb" example:

需要做一个循环,对几百+的图片进行一个检测,然后计算时间。

import timestart = time.time()detections = net.forward()['detection_out']end = time.time()print end-start
https://github.com/weiliu89/caffe/issues/270

weiliu89 commented on 24 Nov 2016

To test time, you can use ./build/tools/caffe time -gpu 0 -model models/VGGNet/VOC0712/SSD_300x300/deploy.prototxt The actual time may have other latency (e.g. read image from disk, do nms to output final detection results).

原创粉丝点击