Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError: Number of Body pose prior weights 4 does not match the number of data term weights 5 #225

Open
whl-007 opened this issue Aug 20, 2024 · 2 comments

Comments

@whl-007
Copy link

whl-007 commented Aug 20, 2024

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
@whl-007
Copy link
Author

whl-007 commented Aug 20, 2024

Can somebody help me?

@whiteRedBlue
Copy link

Hello, I also had the same problem, can you please solve it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants