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

Detect outliers using a heuristic about the temporal smoothness of motion #151

Open
Tracked by #145
niksirbi opened this issue Mar 21, 2024 · 2 comments
Open
Tracked by #145
Assignees
Labels
enhancement New optional feature

Comments

@niksirbi
Copy link
Member

No description provided.

@Lauraschwarz
Copy link
Contributor

This would help a lot with understanding and exploring how well ones model actually works. Being able to explore the data and seeing how many of the nodes jump around a lot (e.g. from mouse1 to mouse2) can help compare the models own internal metrics of performance with its actual performance. Additionally to using velocity of single keypoints the amount of NANs (not detected keypoints) in a given prediction output file could also help. (Keypoint moseq has sth like this implemented here: https://keypoint-moseq.readthedocs.io/en/latest/FAQs.html#high-proportion-of-nans )

@niksirbi
Copy link
Member Author

Thanks @Lauraschwarz , this is helpful!

We plan to use several heuristics as quality-control metrics for the predictions (and to detect outliers):

  • temporal smoothness (aka jumping too much from frame to frame)
  • pose plausibility (if the entire configuration of the body looks "weird")
  • multi-view consistency (if you have more than cameras, do their individual predictions agree with each other?)

We've borrowed these ideas from LightningPose, and they're described here. We haven't implemented these yet, but hopefully we'll start working on them soon.

Regarding the reporting of NaN values, we already have a function for that. I'd encourage you to read the two example below, to see this feature in action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New optional feature
Projects
Status: 🤔 Triage
Development

No branches or pull requests

3 participants