-
Notifications
You must be signed in to change notification settings - Fork 41
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
intra-class prototypes is same. #15
Comments
I was able to reproduce the problem. The 10 different prototypes for each class have almost identical feature values. What is the reason for this?
|
Hey all, thanks for opening this issue, and thanks to the authors for providing the open-source code. I am exploring the proposed prototype approach for my thesis and found some inconsistencies that I would like to discuss. I collected the following questions:
I'll present some of my findings here:
A good representation finds prototypes that are well separable, so values For comparison, I trained the model with only one prototype per class, which led to the same result, showing that the number These findings made me check the model provided in the official repo here, which verifies the findings from above: . To calculate the entries of the distance matrix, we sum the cosine distances between each prototype of one class to each prototype of the other class and divide by the number of counts according to the following formulas: INTER-class prototype distances: The formula for two different classes INTRA-class prototype distances: On the diagonal, to ensure not counting distances between the same prototypes twice, the formula becomes It would be great if you could provide some insights and explanations about this topic. |
Hi.Thanks for your great work.But I have one problem here.
I downloaded the model file hrnet_w48_proto_lr1x_hrnet_proto_80k_latest.pth you supported.and
use code below to get the self similarity of prototypes.
got result:
The prototypes in one class is all the same! I'm confusing this.
Could you please me some help.Thank you.
The text was updated successfully, but these errors were encountered: