{"adoption": {"forks": 280, "observed_at": "2026-08-28T04:03:41.320372+00:00", "stars": 1126}, "canonical_url": "https://ross.abutalabs.com/products/tensorflow-triplet-loss", "card": {"archived": false, "artifact_type": "library", "description": "Implementation of triplet loss in TensorFlow", "domain": ["machine-learning", "deep-learning"], "enriched": true, "function": ["machine-learning", "deep-learning"], "health_score": 20, "homepage": "https://omoindrot.github.io/triplet-loss", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "abandoned", "member_repos": ["omoindrot/tensorflow-triplet-loss"], "name": "omoindrot/tensorflow-triplet-loss", "platform": ["python"], "pushed_at": "2019-05-09T18:20:20+00:00", "repo": "omoindrot/tensorflow-triplet-loss", "stars": 1126, "tags": ["triplet-loss", "tensorflow", "online-triplet-mining", "embeddings", "metric-learning", "face-recognition"], "topics": ["tensorflow", "triplet-loss", "online-triplet-mining", "embeddings"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/tensorflow-triplet-loss", "repo": "omoindrot/tensorflow-triplet-loss", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:41.320372+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:39:12.832743+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5d7bb87b1a8973ee2bf6784a7a7153d70d57c0ae098c67fd538c9e59e21b8081", "fetched_at": "2026-08-28T04:03:41.320372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/omoindrot/tensorflow-triplet-loss"}, {"content_hash": "b0331bc58c5e1cd24ba1c3f8f97e883a9bf7a69b9284ef6506cc15200c6ffcb5", "fetched_at": "2026-08-29T12:43:45.796376+00:00", "kind": "homepage", "missing": false, "url": "https://omoindrot.github.io/triplet-loss"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:41.320372+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:39:12.832743+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5d7bb87b1a8973ee2bf6784a7a7153d70d57c0ae098c67fd538c9e59e21b8081", "fetched_at": "2026-08-28T04:03:41.320372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/omoindrot/tensorflow-triplet-loss"}, {"content_hash": "b0331bc58c5e1cd24ba1c3f8f97e883a9bf7a69b9284ef6506cc15200c6ffcb5", "fetched_at": "2026-08-29T12:43:45.796376+00:00", "kind": "homepage", "missing": false, "url": "https://omoindrot.github.io/triplet-loss"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:39:12.832743+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5d7bb87b1a8973ee2bf6784a7a7153d70d57c0ae098c67fd538c9e59e21b8081", "fetched_at": "2026-08-28T04:03:41.320372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/omoindrot/tensorflow-triplet-loss"}, {"content_hash": "b0331bc58c5e1cd24ba1c3f8f97e883a9bf7a69b9284ef6506cc15200c6ffcb5", "fetched_at": "2026-08-29T12:43:45.796376+00:00", "kind": "homepage", "missing": false, "url": "https://omoindrot.github.io/triplet-loss"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:41.320372+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:41.320372+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:41.320372+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:39:12.832743+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5d7bb87b1a8973ee2bf6784a7a7153d70d57c0ae098c67fd538c9e59e21b8081", "fetched_at": "2026-08-28T04:03:41.320372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/omoindrot/tensorflow-triplet-loss"}, {"content_hash": "b0331bc58c5e1cd24ba1c3f8f97e883a9bf7a69b9284ef6506cc15200c6ffcb5", "fetched_at": "2026-08-29T12:43:45.796376+00:00", "kind": "homepage", "missing": false, "url": "https://omoindrot.github.io/triplet-loss"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:41.320372+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:41.320372+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:39:12.832743+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5d7bb87b1a8973ee2bf6784a7a7153d70d57c0ae098c67fd538c9e59e21b8081", "fetched_at": "2026-08-28T04:03:41.320372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/omoindrot/tensorflow-triplet-loss"}, {"content_hash": "b0331bc58c5e1cd24ba1c3f8f97e883a9bf7a69b9284ef6506cc15200c6ffcb5", "fetched_at": "2026-08-29T12:43:45.796376+00:00", "kind": "homepage", "missing": false, "url": "https://omoindrot.github.io/triplet-loss"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:41.320372+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:41.320372+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:41.320372+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:39:12.832743+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5d7bb87b1a8973ee2bf6784a7a7153d70d57c0ae098c67fd538c9e59e21b8081", "fetched_at": "2026-08-28T04:03:41.320372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/omoindrot/tensorflow-triplet-loss"}, {"content_hash": "b0331bc58c5e1cd24ba1c3f8f97e883a9bf7a69b9284ef6506cc15200c6ffcb5", "fetched_at": "2026-08-29T12:43:45.796376+00:00", "kind": "homepage", "missing": false, "url": "https://omoindrot.github.io/triplet-loss"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:41.320372+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:41.320372+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:39:12.832743+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5d7bb87b1a8973ee2bf6784a7a7153d70d57c0ae098c67fd538c9e59e21b8081", "fetched_at": "2026-08-28T04:03:41.320372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/omoindrot/tensorflow-triplet-loss"}, {"content_hash": "b0331bc58c5e1cd24ba1c3f8f97e883a9bf7a69b9284ef6506cc15200c6ffcb5", "fetched_at": "2026-08-29T12:43:45.796376+00:00", "kind": "homepage", "missing": false, "url": "https://omoindrot.github.io/triplet-loss"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:39:12.832743+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5d7bb87b1a8973ee2bf6784a7a7153d70d57c0ae098c67fd538c9e59e21b8081", "fetched_at": "2026-08-28T04:03:41.320372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/omoindrot/tensorflow-triplet-loss"}, {"content_hash": "b0331bc58c5e1cd24ba1c3f8f97e883a9bf7a69b9284ef6506cc15200c6ffcb5", "fetched_at": "2026-08-29T12:43:45.796376+00:00", "kind": "homepage", "missing": false, "url": "https://omoindrot.github.io/triplet-loss"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:39:12.832743+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5d7bb87b1a8973ee2bf6784a7a7153d70d57c0ae098c67fd538c9e59e21b8081", "fetched_at": "2026-08-28T04:03:41.320372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/omoindrot/tensorflow-triplet-loss"}, {"content_hash": "b0331bc58c5e1cd24ba1c3f8f97e883a9bf7a69b9284ef6506cc15200c6ffcb5", "fetched_at": "2026-08-29T12:43:45.796376+00:00", "kind": "homepage", "missing": false, "url": "https://omoindrot.github.io/triplet-loss"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:39:12.832743+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5d7bb87b1a8973ee2bf6784a7a7153d70d57c0ae098c67fd538c9e59e21b8081", "fetched_at": "2026-08-28T04:03:41.320372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/omoindrot/tensorflow-triplet-loss"}, {"content_hash": "b0331bc58c5e1cd24ba1c3f8f97e883a9bf7a69b9284ef6506cc15200c6ffcb5", "fetched_at": "2026-08-29T12:43:45.796376+00:00", "kind": "homepage", "missing": false, "url": "https://omoindrot.github.io/triplet-loss"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3095, "days_push": 2673, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}