Skip to content

Training using Mahalanobis distance does not seem to work #6

@BenCretois

Description

@BenCretois

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions