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

wrong index in joint_loss? #4

Open
Droliven opened this issue Dec 9, 2021 · 1 comment
Open

wrong index in joint_loss? #4

Droliven opened this issue Dec 9, 2021 · 1 comment

Comments

@Droliven
Copy link

Droliven commented Dec 9, 2021

In your line 20 of the train.py joint_loss, it writes:

parts_idx = [(np.array(p) * 3).tolist() + (np.array(p) * 3 + 1).tolist() + (np.array(p) * 3 + 2).tolist() for p in parts]

I think the 48 joints are in order of 16 x 3, instead of 3 x 16, so parts_idx should be:

parts_idx = [np.asarray([[i*3, i*3+1, i*3+2] for i in p]).flatten().tolist() for p in parts]

@XiaoyuBIE1994
Copy link

I think that won't change the results when computing the loss

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