We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I was using triplet loss function from tensorflow_addons.losses.TripletSemiHardLoss(margin=1.0) to train my model using following line:
tensorflow_addons.losses.TripletSemiHardLoss(margin=1.0)
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?
tensorflow_similarity.losses
Thank you.
The text was updated successfully, but these errors were encountered:
I am also wondering about this...
Sorry, something went wrong.
tfsim.losses.TripletLoss(distance='l2', positive_mining_strategy='hard', negative_mining_strategy='semi-hard', margin=1.0)
No branches or pull requests
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: