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

Method get_clip_val

PATH/core/clipping.py:76–80  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 return self.val
75
76 def get_clip_val(self):
77 if self.mean:
78 return self.get_mean()
79 else:
80 return self.get_mean() * (1+self.thresh)
81
82 def update(self, x):
83 if self.init:

Callers 1

updateMethod · 0.95

Calls 1

get_meanMethod · 0.95

Tested by

no test coverage detected