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

Method __init__

PATH/core/utils.py:39–41  ·  view source on GitHub ↗
(self, length)

Source from the content-addressed store, hash-verified

37class AverageMeter(object):
38 """Computes and stores the average and current value"""
39 def __init__(self, length):
40 self.length = length
41 self.reset()
42
43 def reset(self):
44 self.history = []

Callers

nothing calls this directly

Calls 1

resetMethod · 0.95

Tested by

no test coverage detected