Individual skill
tao-train-metric-learning-recognition
Metric-learning recognition (ml-recog) for fine-grained visual recognition. Learns embeddings for retrieval-based matching (e.g., retail product recognition) using triplet / contrastive losses. Use when training, evaluating, exporting, or running inference for a TAO metric-learning recognition model. Trigger phrases include "train metric learning", "ml-recog", "retrieval embeddings", "triplet loss recognition", "fine-grained matching".
skills/tao-train-metric-learning-recognition/SKILL.md
Source commit fce3cca4170be75e82c64920654d56ee2811b005
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 3,907
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- agentic-ai Repository topic
- ai-agents Repository topic
- claude-code Repository topic
- codex Repository topic
- coding-agents Repository topic
- cuda Repository topic
- developer-tools Repository topic
- llm Repository topic
- omniverse Repository topic
- metric Declared skill tag
- learning Declared skill tag
- recognition Declared skill tag
- education Derived category
- design Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
BENCHMARK.mddoc · 7,297 bytesSKILL.mdcore · 11,563 bytesSKILL.mdcore · 11,563 bytesSKILL.mdcore · 11,563 bytesSKILL.mdcore · 11,563 bytesSKILL.mdcore · 11,563 bytesSKILL.mdcore · 11,563 bytesSKILL.mdcore · 11,563 bytesSKILL.mdcore · 11,563 bytesconfig/skillspector-baseline.yamlasset · 834 bytesevals/evals.jsonasset · 887 bytesreferences/skill_info.yamlasset · 4,893 bytesreferences/spec_template_deploy_evaluate.yamlasset · 169 bytesreferences/spec_template_deploy_gen_trt_engine.yamlasset · 582 bytesreferences/spec_template_deploy_inference.yamlasset · 308 bytesreferences/spec_template_evaluate.yamlasset · 1,856 bytesreferences/spec_template_export.yamlasset · 1,776 bytesreferences/spec_template_gen_trt_engine.yamlasset · 2,082 bytesreferences/spec_template_inference.yamlasset · 1,887 bytesreferences/spec_template_train.yamlasset · 1,687 bytesreferences/tao-deploy-metric-learning-recognition.mddoc · 6,009 bytesreferences/tao-deploy-metric-learning-recognition.skill_info.yamlasset · 4,086 bytesschemas/evaluate.schema.jsonasset · 36,414 bytesschemas/export.schema.jsonasset · 35,477 bytesschemas/gen_trt_engine.schema.jsonasset · 41,865 bytesschemas/inference.schema.jsonasset · 36,791 bytesschemas/manifest.jsonasset · 10,538 bytesschemas/train.schema.jsonasset · 33,292 bytesskill-card.mddoc · 4,219 bytesskill.oms.sigasset · 9,181 bytes
Read excerpt
# ML Recog
> **Standalone install?** If this session was not initialized by the TAO skill bank plugin, run the `tao-setup` skill first (host preflight, credentials, cross-skill discovery).
Metric learning recognition for fine-grained visual recognition. Learns embeddings for retrieval-based matching (e.g., retail product recognition). Uses triplet/contrastive losses.
Set model.pretrained_model_path for pretrained backbone.
For TAO Deploy TensorRT actions (`gen_trt_engine`, TensorRT `evaluate`, and TensorRT `inference`), read `references/tao-deploy-metric-learning-recognition.md` first. Deploy spec templates live in this skill's `references/` folder with the `spec_template_deploy_*.yaml` prefix.
## Dataclass Schemas
Generated TAO Core schemas are packaged in `schemas/<action>.schema.json`, with `schemas/manifest.json` listing available actions. Each generated schema also emits `references/spec_template_<action>.yaml` from the schema top-level `default` field. AutoML enablement is declared at the model layer in `references/skill_info.yaml` via `automl_enabled`. Runnable AutoML for an action requires `schemas/<action>.schema.json` and `references/spec_template_<action>.yaml` to exist and parse. Use the packaged selected-action schema for `automl_default_parameters`, `automl_disabled_parameters`, defaults, min/max bounds, enums, option weights, math conditions, dependencies, and popular parameters. Do not expect `~/tao-core` at runtime; maintainers regenerate schemas/templates before packaging the skill bank.