-
Notifications
You must be signed in to change notification settings - Fork 106
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
tfa.losses.TripletSemiHardLoss() replacement? #370
Comments
I am also wondering about this... |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I was using triplet loss function from
tensorflow_addons.losses.TripletSemiHardLoss(margin=1.0)
to train my model using following line:tsn.compile(optimizer=tf.keras.optimizers.Adam(0.0001), loss=tfa.losses.TripletSemiHardLoss(margin=1.0))
Any example or idea how to replace this loss function with tripletloss in
tensorflow_similarity.losses
?Thank you.
The text was updated successfully, but these errors were encountered: