tensorflow-triplet-loss
Implementation of triplet loss in TensorFlow
GraphCanon updated today · GitHub synced today
Decision brief
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.
Good fit when
- - 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.
Avoid when
- - 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.
- Pricing:
- freemium - The repository under MIT license allows for free use in both open-source and proprietary applications.
- Requirements:
- - Requires TensorFlow installation, the specifics of which will depend on the version compatibility with this repository.
Observed Jul 12, 2026 · Source: enrich:decision_facts
Verify the decision
Maintenance and security
Full trust report- Maintenance
- Dormant (2661d since push)
- As of today
- Provenance
- Not a fork · Personal account
- As of today
- Security (OSV)
- No lockfile
- As of 1mo
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
pip install tensorflow-triplet-loss PyPISimilar tools
Same-category neighbours. No typed graph edges are catalogued for this tool yet.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
A repository that provides an implementation of the triplet loss function using TensorFlow, aimed at generating useful embeddings for various machine learning tasks.
Capability facts
- Languages
- python
Source: github.language · Aug 22, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Aug 22, 2026)
We recommend using python3 and a virtual environment.Source link
Tags
README
Requirements
We recommend using python3 and a virtual environment.
The default venv should be used, or virtualenv with python3.
python3 -m venv .env
source .env/bin/activate
pip install -r requirements_cpu.txt
If you are using a GPU, you will need to install tensorflow-gpu so do:
pip install -r requirements_gpu.txt
For agents
This page has a .md twin and JSON over the API.