MCPcopy Create free account
hub / github.com/AdaptiveMotorControlLab/FMPose3D / update

Method update

fmpose3d/common/utils.py:219–223  ·  view source on GitHub ↗
(self, val, n=1)

Source from the content-addressed store, hash-verified

217 self.count = 0
218
219 def update(self, val, n=1):
220 self.val = val
221 self.sum += val
222 self.count += n
223 self.avg = self.sum / self.count
224
225
226def get_variable(split, target):

Callers 6

to_dictMethod · 0.45
mpjpe_by_action_p1Function · 0.45
mpjpe_by_action_p2Function · 0.45
define_error_listFunction · 0.45
print_error_actionFunction · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected