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

Training using Mahalanobis distance does not seem to work #6

Open
BenCretois opened this issue May 22, 2023 · 0 comments
Open

Training using Mahalanobis distance does not seem to work #6

BenCretois opened this issue May 22, 2023 · 0 comments

Comments

@BenCretois
Copy link
Collaborator

When training with the Mahalanobis distance instead of the Euclidean distance it seems that the network is not training i.e. the loss is not decreasing but remain constant.

I have tried changing the learning rate (both higher and lower LR) but it does not seem to change.

The function may not be well implemented and the gradients might get lost somewhere in the mahalanobis_distance function.

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

1 participant