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

Method reset

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

Source from the content-addressed store, hash-verified

64 self.reset()
65
66 def reset(self):
67 self.history = []
68 self.val = 0
69 self.min = 10000
70 self.max = 0
71 self.avg = 0
72
73 def empty(self):
74 return len(self.history) == 0

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected