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

Fix handling of low likelihood spans that reach end of epoch #22

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

dpeg22
Copy link
Collaborator

@dpeg22 dpeg22 commented Oct 27, 2022

There is a case where a span of low likelihood frames would reach the end of the data (e.g. if the bodypart is occluded when the recording ends). This PR sets the position for these frames to NaN since there is no valid, high-likelihood endpoint with which to interpolate.

Unfortunately, I also threw in some naming and formatting changes that are relatively minor.

@dpeg22 dpeg22 added the bug Something isn't working label Oct 27, 2022
@dpeg22 dpeg22 requested a review from edeno October 27, 2022 18:05
@dpeg22 dpeg22 self-assigned this Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant