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

Function define_error_list

fmpose3d/common/utils.py:201–209  ·  view source on GitHub ↗
(actions)

Source from the content-addressed store, hash-verified

199
200
201def define_error_list(actions):
202 error_sum = {}
203 error_sum.update(
204 {
205 actions[i]: {"p1": AccumLoss(), "p2": AccumLoss()}
206 for i in range(len(actions))
207 }
208 )
209 return error_sum
210
211
212class AccumLoss(object):

Callers 1

test_multi_hypothesisFunction · 0.50

Calls 2

AccumLossClass · 0.70
updateMethod · 0.45

Tested by 1

test_multi_hypothesisFunction · 0.40