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

Rejection rule in correspondence key-points estimation #7

Open
zohaibmohammad opened this issue May 2, 2021 · 1 comment
Open

Rejection rule in correspondence key-points estimation #7

zohaibmohammad opened this issue May 2, 2021 · 1 comment

Comments

@zohaibmohammad
Copy link

Hi,

Thank you for making your work public.
I am stuck in a problem, can you please help me?
How could I reject the extra (not required) key-points especially in test time? For example, during training, I can use "-1" to exclude the extra key-points but in test scenario all (21) key-points are estimated by the model. So, how could I ignore the key-points that are not required by assuming that I don't have any info about ground truth.

Best regards,
mz

@qq456cvb
Copy link
Owner

qq456cvb commented May 7, 2021

We skip those keypoints that do not exist, which is a common practice, e.g. in Deep Functional Dictionaries (https://github.com/mhsung/deep-functional-dictionaries/blob/master/network/evaluate_keypoints.py#L35). If you don't want any info of ground-truth to be leaked, you may estimate an additional binary mask predicting the existence of keypoint. Then any inconsistent existence prediction results in an infinity distance to the ground-truth. This may require a small modification on the existing code.

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

2 participants