-
Notifications
You must be signed in to change notification settings - Fork 58
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
Features normalization computing centers #5
Comments
I think that you can see the code normalizing features in clusteing.py :
|
Hi, I have the same question. It seems that the center is the sum of features instead of mean. |
Hi, There are normalize operation, Beacause Cosine similarity only cares about direction! |
Thanks for your reply! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for sharing code!
I have a question about the function get_centers that computes the centers of clusters.
Did you forget to normalize features before multiply them per mask? Or simply the normalization is in the net forward?
Contrastive-Adaptation-Network-for-Unsupervised-Domain-Adaptation/solver/utils.py
Line 99 in bdea238
The text was updated successfully, but these errors were encountered: