MCPcopy Create free account
hub / github.com/ZhengPeng7/BiRefNet / __init__

Method __init__

utils.py:64–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62class AverageMeter(object):
63 """Computes and stores the average and current value"""
64 def __init__(self):
65 self.reset()
66
67 def reset(self):
68 self.val = 0.0

Callers

nothing calls this directly

Calls 1

resetMethod · 0.95

Tested by

no test coverage detected