Skip to content
Snippets Groups Projects
Commit 28ec82a8 authored by Cribellier, Antoine's avatar Cribellier, Antoine
Browse files

Correct intput for optimise function

parent a62faf02
Branches
No related tags found
No related merge requests found
......@@ -225,7 +225,7 @@ def optim_fit_limbs_params(module, limbs_skeleton3d_init, limbs_skeleton, limbs_
return limbs_params_ests, rmse, nb_iterations
def cost_function(module: Callable, param_values: List[int], param_names: List[str], init_skeleton3d: Dict[str, any],
def cost_function(param_values: List[int], module: Callable, param_names: List[str], init_skeleton3d: Dict[str, any],
init_params: Dict[str, any], raw_skeleton: Dict[str, any], options: Dict[str, any]) -> float:
"""
Cost function (sum of residuals) to fit body or wings skeleton (in init_skeleton3d) to points (in raw_skeleton)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment