I find some errors in smplifyx
/fit_single_frame.py from line 108 to 120, data_weights‘s shape is 5,but body_pose_prior_weights‘s shape is 4 so that this will raise an error: AssertionError: Number of Body pose prior weights 4 does not match the number of data term weights 5 if data_weights is None:
data_weights = [1, ] * 5
if body_pose_prior_weights is None:
body_pose_prior_weights = [4.04 * 1e2, 4.04 * 1e2, 57.4, 4.78]
msg = (
'Number of Body pose prior weights {}'.format(
len(body_pose_prior_weights)) +
' does not match the number of data term weights {}'.format(
len(data_weights)))
assert (len(data_weights) ==
len(body_pose_prior_weights)), msg
I find some errors in smplifyx /fit_single_frame.py from line 108 to 120, data_weights‘s shape is 5,but body_pose_prior_weights‘s shape is 4 so that this will raise an error: AssertionError: Number of Body pose prior weights 4 does not match the number of data term weights 5 if data_weights is None: data_weights = [1, ] * 5