{"data":{"slug":"omoindrot-tensorflow-triplet-loss","name":"tensorflow-triplet-loss","tagline":"Implementation of triplet loss in TensorFlow","github_url":"https://github.com/omoindrot/tensorflow-triplet-loss","owner":"omoindrot","repo":"tensorflow-triplet-loss","owner_avatar_url":"https://avatars.githubusercontent.com/u/13662086?v=4","primary_language":"Python","stars":1126,"forks":280,"topics":["embeddings","online-triplet-mining","tensorflow","triplet-loss"],"archived":false,"github_pushed_at":"2019-05-09T18:20:20+00:00","maintenance_label":"Dormant","stars_delta_30d":-1,"url":"https://www.graphcanon.com/tools/omoindrot-tensorflow-triplet-loss","markdown_url":"https://www.graphcanon.com/tools/omoindrot-tensorflow-triplet-loss.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/omoindrot-tensorflow-triplet-loss","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=omoindrot-tensorflow-triplet-loss","description":"Implementation of triplet loss in TensorFlow","homepage_url":"https://omoindrot.github.io/triplet-loss","license":"MIT","open_issues":32,"watchers":33,"ai_summary":"A repository that provides an implementation of the triplet loss function using TensorFlow, aimed at generating useful embeddings for various machine learning tasks.","readme_excerpt":"## Requirements\n\nWe recommend using python3 and a virtual environment.\nThe default `venv` should be used, or `virtualenv` with `python3`.\n\n```bash\npython3 -m venv .env\nsource .env/bin/activate\npip install -r requirements_cpu.txt\n```\n\nIf you are using a GPU, you will need to install `tensorflow-gpu` so do:\n```bash\npip install -r requirements_gpu.txt\n```","github_created_at":"2018-03-13T07:05:04+00:00","created_at":"2026-07-11T11:31:32.031294+00:00","updated_at":"2026-08-22T18:01:48.096787+00:00","categories":[{"slug":"model-training","name":"Model Training","url":"https://www.graphcanon.com/categories/model-training","markdown_url":"https://www.graphcanon.com/categories/model-training.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/model-training"}],"tags":[{"slug":"embeddings","name":"embeddings"},{"slug":"online-triplet-mining","name":"online-triplet-mining"},{"slug":"tensorflow","name":"tensorflow"},{"slug":"triplet-loss","name":"triplet-loss"}],"trust":{"provenance":{"is_fork":false,"github_id":125007217,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-22T18:01:47.211Z","maintenance":{"label":"Dormant","score":18,"methodology":"github_public_v1","releases_90d":0,"days_since_push":2661,"last_release_at":null,"stars_delta_30d":-1,"open_issues_delta_30d":0},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T11:31:33.182Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-22T18:01:47.700Z"},"languages":{"value":["python"],"source":"github.language","observed_at":"2026-08-22T18:01:47.700Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-08-22T18:01:47.700Z"}},"decision_facts":{"hosting":null,"pricing":{"model":"freemium","summary":"The repository under MIT license allows for free use in both open-source and proprietary applications."},"requirements":{"notes":["- Requires TensorFlow installation, the specifics of which will depend on the version compatibility with this repository."],"min_ram_gb":null,"requires_docker":false},"constraints":{"min_ram_gb":null,"pricing_model":"freemium","requires_docker":false},"when_to_use":["- When you are working with a project that requires dense and discriminative feature embeddings and have opted to use TensorFlow as your deep learning framework.","- If your application needs an efficient way of mining triplets online, making it suitable for cases where dynamic adjustments in embedding space are necessary."],"when_not_to_use":["- If you prefer or require the use of another deep learning library besides TensorFlow, such as PyTorch.","- In scenarios where the computational overhead of online triplet mining is prohibitive and pre-defined triplets can sufficiently cover your training needs."],"source":"enrich:decision_facts","observed_at":"2026-07-12T13:08:31.664Z"},"constraint_facets":{"min_ram_gb":null,"pricing_model":"freemium","requires_docker":false},"decision_summary":[{"label":"Pricing","value":"freemium - The repository under MIT license allows for free use in both open-source and proprietary applications."},{"label":"Requirements","value":"- Requires TensorFlow installation, the specifics of which will depend on the version compatibility with this repository."},{"label":"Adopt for","value":"tensorflow-triplet-loss is an implementation of the triplet loss function using TensorFlow tailored for generating quality embeddings in Python projects under the MIT license."}]}}