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

RuntimeError: running_mean should contain 126 elements not 63 (example). #19

Closed
JasOlean opened this issue Sep 19, 2019 · 3 comments
Closed

Comments

@JasOlean
Copy link

What is your elements for number of joints (18)?
When I run your code, I got this error " RuntimeError: running_mean should contain 126 elements not 63". 63 means I change number of node.
How to adjust these elements and how to get your elements 126 for your experiment?

@lshiwjx
Copy link
Owner

lshiwjx commented Oct 15, 2019

The number of elements for running_mean = num_person * in_channels * num_point

@JasOlean
Copy link
Author

When I run your kinetics data, I changed num_person = 1, in_channels = 3, num_point = 18. running_mean value is 54. In that case, I got this error "RuntimeError: running_mean should contain 108 elements not 54".
What has happened? why they said should contain 108 elements when num_person = 1?

@lshiwjx
Copy link
Owner

lshiwjx commented Nov 25, 2019

It should be 54, maybe the param num_person is not successfully passed to the model.
You can try to check the data shape.

@lshiwjx lshiwjx closed this as completed Dec 17, 2019
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