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

Method reset

PATH/core/testers/utils/metrics.py:98–101  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

96 self.reranking = reranking
97
98 def reset(self):
99 self.feats = []
100 self.pids = []
101 self.camids = []
102
103 def update(self, output): # called once for each batch
104 feat, pid, camid = output

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by 1

runMethod · 0.76