(predicted, target, action, error_sum, data_type, subject)
| 43 | |
| 44 | |
| 45 | def test_calculation(predicted, target, action, error_sum, data_type, subject): |
| 46 | if data_type == 'h36m': |
| 47 | error_sum = mpjpe_by_action_p1(predicted, target, action, error_sum) |
| 48 | error_sum = mpjpe_by_action_p2(predicted, target, action, error_sum) |
| 49 | elif data_type.startswith('3dhp'): |
| 50 | error_sum = mpjpe_by_action_p1(predicted, target, action, error_sum) |
| 51 | error_sum = mpjpe_by_action_p2(predicted, target, action, error_sum) |
| 52 | |
| 53 | error_sum = mpjpe_by_action_pck(predicted, target, action, error_sum) |
| 54 | error_sum = mpjpe_by_action_auc(predicted, target, action, error_sum) |
| 55 | |
| 56 | return error_sum |
| 57 | |
| 58 | |
| 59 | def mpjpe_by_action_p1(predicted, target, action, action_error_sum): |
nothing calls this directly
no test coverage detected