MCPcopy Create free account
hub / github.com/TencentYoutuResearch/SceneSegmentation-SCRL / __init__

Method __init__

utils.py:7–10  ·  view source on GitHub ↗
(self, name, fmt=':f')

Source from the content-addressed store, hash-verified

5class AverageMeter(object):
6 """Computes and stores the average and current value"""
7 def __init__(self, name, fmt=':f'):
8 self.name = name
9 self.fmt = fmt
10 self.reset()
11
12 def reset(self):
13 self.val = 0

Callers

nothing calls this directly

Calls 1

resetMethod · 0.95

Tested by

no test coverage detected