You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
What's new
Add semi-hard mining to Triplet Loss, and introduce Cross-Batch Memory support(#175).
Add soft margin variant to Hard Triplet Loss (#178).
Support multiple EncoderHead in a SwitchHead, most useful for two-tower encoders like CLIP, and enable to pass meta data from Encoder to EncoderHead, also useful for passing masks, e.g., attention masks (#180).