omoindrot/tensorflow-triplet-loss
Implementation of triplet loss in TensorFlow observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3095
- days_rel: n/a
- days_push: 2673
- n_releases_24m: 0
Adoption not part of the score
1126 stars · 280 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A TensorFlow implementation of triplet loss with online triplet mining strategies (batch all and batch hard), for training embedding models like those used in face recognition. It includes MNIST training experiments, embedding visualization, and tests.
Use cases
- train embeddings with triplet loss in tensorflow
- implement online triplet mining
- learn metric learning with batch hard triplet loss
- visualize mnist embeddings with tsne
- reproduce facenet-style embedding training
When to choose
- you need a reference implementation of triplet loss with online mining in TensorFlow 1.x
- you are learning how batch all and batch hard triplet mining work
- you want a well-explained, tested metric learning example
When to avoid
- you use TensorFlow 2.x or PyTorch, since this targets old TensorFlow 1.x and is unmaintained
- you need production-ready, actively maintained metric learning libraries
- you need offline triplet mining or other loss functions
Facets
library · maturity abandoned
machine-learning deep-learning machine-learning deep-learning python triplet-loss tensorflow online-triplet-mining embeddings metric-learning face-recognition
2 sources
- readme: https://github.com/omoindrot/tensorflow-triplet-loss · fetched 2026-08-28 · 5d7bb87b1a89
- homepage: https://omoindrot.github.io/triplet-loss · fetched 2026-08-29 · b0331bc58c5e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| omoindrot/tensorflow-triplet-loss | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="omoindrot/tensorflow-triplet-loss")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem