Skip to content

Add similarity loss functions for Keras 3? #20421

@ma7555

Description

@ma7555

Hello,
Is there any interest in allowing training on embeddings using similarity loss functions? Currently the situation is tensorflow similarity is not working with Keras 3, with the latest working tf working version 2.15, TF-Similarity repo does not look very active to hope for an update anytime soon.

I was thinking if there would be some interest, I can rewrite even a single similarity loss function that would open the door for such tasks to take place on keras 3. I checked KerasHub too but it does not seem it has any loss functions.

I can go with the newer CircleLoss.

Metadata

Metadata

Labels

type:featureThe user is asking for a new feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions