-
Notifications
You must be signed in to change notification settings - Fork 38
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
over confident pseudo tracking when animal exits field of view #183
Comments
@DavidGill159 -- the way we calculate the confidence score is different from DeepLabCut, and our scores will by definition be higher. Using our scaling, it is advised to use |
Hi Dan thanks for getting back to me! I just tried that, but I'm afraid the video prediction still looks the same. |
@DavidGill159 this is an issue that we're aware of and trying out several fixes. In the meantime, a couple points to keep in mind:
|
@DavidGill159 wanted to check back in on this - we have a solution that may or may not work for you depending on the nature of your labeled data; see the FAQ "Why does the network produce high confidence values..." This requires some labeled frames where certain keypoints are occluded so that the network can learn to handle them properly. This approach definitely works in the supervised case, though we have not thoroughly tested what happens when using unsupervised losses. In that case, occluded keypoints in the video data create a tension between the network attempting to output a uniform heatmap to indicate occlusion, and the unsupervised loss trying to localize the keypoint in order to minimize the PCA loss(es). If you end up giving this a try please report back and let me know how it works! |
Hi, I have trained multiple LP models now; single camera supervised, semi-supervised, ctx, multi-camera supervised, and multi-camera ctx. One issue that persists across all models is LP's insistence on tracking landmarks which are not occluded but completely out of the field of view. This is something Deeplabcut deals with quite well by giving low-confidence values to landmarks in these frames; such low-confidence landmarks are then not plotted in video inference. This does not seem to be reflected in LP. How do you propose I go about improving this? This issue poses problems when triangulating the landmarks across different camera views. E.g., In the attached frame (during rearing), the snout likelihood for DLC is 0.003842 and for LP it is 0.906632.
![image](https://private-user-images.githubusercontent.com/116177739/344962112-2209988c-bb5f-4a5d-96ba-dcdde2de260e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODA4ODAsIm5iZiI6MTczOTM4MDU4MCwicGF0aCI6Ii8xM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03OTNhM2U5MTQ1Mzc1MWU2ZTQ5OTkxYTRhODVhMzE4NjU4NDk3N2VkYWE3YzkxODc3OGM4ZTMxYzhkOGNiNjcwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.fwGcy7fjOlJvHe_Uh0PehvYv0cNvkanrKoiEFhGp-2E)
The text was updated successfully, but these errors were encountered: