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

If the training set does not contain a frame where all joints are labeled, crashes with IndexError #20

Open
cellistigs opened this issue Aug 30, 2021 · 0 comments

Comments

@cellistigs
Copy link

Hello!

This issue is potentially related to #9 when training with a small number of frames. If there is not a single training frame in your training set with all joints labeled, the code will throw the error attached in the screenshot below:
Screen Shot 2021-08-26 at 10 50 52 AM

This is because all of the frames in my training set have at least one point missing. I have tracked this down to the method _compute_targets in the deepgraphpose.dataset module, line 599 (computing the max on joints across datapoints). Is there a reason not to take the number of joints directly from the config file? If not, I can make the change and submit a pull request.

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

1 participant