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

Method __init__

PATH/core/clipping.py:65–71  ·  view source on GitHub ↗
(self, mom=None, thresh=None, min_max=False, mean=False, init=False)

Source from the content-addressed store, hash-verified

63
64class ClipMeter(object):
65 def __init__(self, mom=None, thresh=None, min_max=False, mean=False, init=False):
66 self.thresh = thresh
67 self.mom = mom
68 self.min_max = min_max
69 self.mean = mean
70 self.val = 1.0
71 self.init = init
72
73 def get_mean(self):
74 return self.val

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected