Closed danoneata closed 6 months ago
Hello! Thanks. I fixed it. All the results in the paper were produced with the correct sign but I must have introduced this error while cleaning the code. A somewhat simpler and cleaner version of PADDLE can be fined in the repo transductive_CLIP.
Thanks for the quick response and the follow-up clarification! Do you have a link to the transductive_CLIP
repo?
Thank you!
Hello! The current code for distance computation in the
get_logits
method reads as follows:But it should rather be
because -½‖x - y‖² =〈x, y〉- ½‖x‖² - ½‖y‖². This means that the current implementation updates the centroids that are far away from the query points.