MCPcopy
hub / github.com/rbgirshick/fast-rcnn / tic

Method tic

lib/utils/timer.py:19–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17 self.average_time = 0.
18
19 def tic(self):
20 # using time.time instead of time.clock because time time.clock
21 # does not normalize for multithreading
22 self.start_time = time.time()
23
24 def toc(self, average=True):
25 self.diff = time.time() - self.start_time

Callers 6

_get_feature_scaleMethod · 0.95
get_pos_examplesMethod · 0.95
demoFunction · 0.95
train_modelMethod · 0.95
test_netFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_netFunction · 0.64