ktl014
7/28/2017 - 4:44 PM

calculate time ran in script From https://stackoverflow.com/questions/34857988/how-to-calculate-time-spent-on-every-layer-in-cnn-with-caffe-

import time
t = time.time()
run_rcnn_script()
dt = time.time()-t
print "time spent in run_rcnn_script: ", dt, " sec."