MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / empty

Method empty

PATH/core/utils.py:48–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 self.avg = 0
47
48 def empty(self):
49 return len(self.history) == 0
50
51 def update(self, val):
52 self.history.append(val)

Callers 6

__call__Method · 0.45
__call__Method · 0.45
catMethod · 0.45
all_gatherMethod · 0.45
load_gt_boxesMethod · 0.45
load_det_boxesMethod · 0.45

Calls

no outgoing calls

Tested by 3

all_gatherMethod · 0.36
load_gt_boxesMethod · 0.36
load_det_boxesMethod · 0.36