light_head_rcnn
light_head_rcnn copied to clipboard
about speed of fast nms
Hi, very appreciate to you excellent work!! I have tried your fast_nms operator during inference, I wonder how to calculate processing time of nms, I tried to add some code in $light_head_rcnn/lib/detection_opr/rpn_batched/proposal_opr.py as below, but the time logged out in the terminal doesn't seem like the real processing time, it seems that it's just the time cost of constructing the graph or calling the NMS function. Can you tell me how to calculate the nms processing time? Or how does tf_nms and fast_nms perform in tensorflow when processing number of anchors?
I cut the the network after proposal_opr processing to calculate nms time cost, it turns out that when processing 1000 proposals, timg cost of tf nms is 0.00061s and the time cost of fast_nms is 0.0056s(about ten times of tf nms). Do you have the same speed performance as I got using tensorflow? And can you tell me the speed comparetion of two nms methods under your inner platform?
What you show here is just the code to build the graph, not to run the graph. It doesn't make sense to get the time here.