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 : len(self.keypoints_3d_pred) != len(self) #37

Closed
rrmenon10 opened this issue Nov 25, 2019 · 3 comments
Closed

AssertionError : len(self.keypoints_3d_pred) != len(self) #37

rrmenon10 opened this issue Nov 25, 2019 · 3 comments

Comments

@rrmenon10
Copy link

rrmenon10 commented Nov 25, 2019

Hi,

I followed the instructions for downloading the dataset as mentioned here. But even after following these instructions, I end up with an assertion error at this line. I downloaded the validations results from the google drive link mentioned (file size 5.6M for results_val.pkl; train works fine). Is this because of some error in the validation file link?

Thanks!

@shrubb
Copy link
Collaborator

shrubb commented Nov 26, 2019

This is a notorious problem, happens when you have a different number of images in the dataset from what we had. You're not the first one to face it, so I think we're going to refactor this section entirely, hopefully today.

@karfly
Copy link
Owner

karfly commented Nov 26, 2019

Hi, @rakesh-menon.

Such problem appears, because in our experiments we use full Human3.6M test-set (all frames) and we published precalculated results for all frames. This repository extracts not all, but some of the frames, and that's why you got size mismatch.

In #42 I uploaded new precalculated results which should work with preprocessing pipeline from this repository. Please, update them and tell if it helped you.

@shrubb
Copy link
Collaborator

shrubb commented Nov 26, 2019

@rakesh-menon
It seems like #42 has provided a quick fix by changing that Google drive file (now it is aligned with our Human3.6M preprocessing instructions). Everything should work now, so I decided to leave the code as is.

Thanks for reporting!

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

3 participants