[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CQSH08SW5HZ30ME9W4T0D8":3,"skill-same:01M7CQSH08SW5HZ30ME9W4T0D8":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M7CQSH08SW5HZ30ME9W4T0D8","tao-train-metric-learning-recognition",null,"Metric-learning recognition (ml-recog) for fine-grained visual recognition. Learns embeddings for retrieval-based matching (e.g., retail product recognition) using triplet \u002F 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\".","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fnvidia-skills\u002Ftao-train-metric-learning-recognition\u002Fskills\u002Ftao-train-metric-learning-recognition\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tao-train-metric-learning-recognition\ndescription: Metric-learning recognition (ml-recog) for fine-grained visual recognition. Learns embeddings for\n  retrieval-based matching (e.g., retail product recognition) using triplet \u002F contrastive losses. Use when training,\n  evaluating, exporting, or running inference for a TAO metric-learning recognition model. Trigger phrases include\n  \"train metric learning\", \"ml-recog\", \"retrieval embeddings\", \"triplet loss recognition\", \"fine-grained matching\".\nlicense: Apache-2.0\ncompatibility: Requires docker + nvidia-container-toolkit.\nmetadata:\n  version: \"0.1.0\"\n  author: NVIDIA Corporation\nallowed-tools: Read Bash\ntags:\n- metric\n- learning\n- recognition\n---\n\n# ML Recog\n\nMetric learning recognition for fine-grained visual recognition. Learns embeddings for retrieval-based matching (e.g., retail product recognition). Uses triplet\u002Fcontrastive losses.\n\nSet model.pretrained_model_path for pretrained backbone.\n\nFor TAO Deploy TensorRT actions (`gen_trt_engine`, TensorRT `evaluate`, and TensorRT `inference`), read `references\u002Ftao-deploy-metric-learning-recognition.md` first. Deploy spec templates live in this skill's `references\u002F` folder with the `spec_template_deploy_*.yaml` prefix.\n\n## Dataclass Schemas\n\nGenerated TAO Core schemas are packaged in `schemas\u002F\u003Caction>.schema.json`, with `schemas\u002Fmanifest.json` listing available actions. Each generated schema also emits `references\u002Fspec_template_\u003Caction>.yaml` from the schema top-level `default` field. AutoML enablement is declared at the model layer in `references\u002Fskill_info.yaml` via `automl_enabled`. Runnable AutoML still requires `schemas\u002Ftrain.schema.json` and `references\u002Fspec_template_train.yaml` to exist and parse. Use the packaged train schema for `automl_default_parameters`, `automl_disabled_parameters`, defaults, min\u002Fmax bounds, enums, option weights, math conditions, dependencies, and popular parameters. Do not expect `~\u002Ftao-core` at runtime; maintainers regenerate schemas\u002Ftemplates before packaging the skill bank.\n\n## Train Action Policy\n\nThis model is AutoML-enabled at the model layer. Before handling any train-stage request, read `references\u002Fskill_info.yaml` and resolve the run override from either an explicit `automl_policy` value or the user's workflow request. Use `automl_policy: on` by default and only expose `on` \u002F `off` in new launch prompts. Treat phrases like \"turn off AutoML\", \"disable AutoML\", \"no HPO\", or \"plain training\" as `automl_policy: off` for this run only. When `automl_policy: on`, `automl_enabled: true`, and both `schemas\u002Ftrain.schema.json` and `references\u002Fspec_template_train.yaml` are packaged, route the train action through `tao-skill-bank:tao-run-automl` by default with this model's `skill_dir`. Preserve workflow\u002Fapplication overrides for datasets, specs, output directories, GPU\u002Fplatform settings, parent checkpoints, and `automl_policy`. Use direct model training only when `automl_policy: off` or the packaged train schema\u002Ftemplate is missing; in the missing-schema case, report that AutoML is enabled but not runnable for this model until schemas are generated.\n\nNon-train actions such as `evaluate`, `inference`, `export`, and deploy flows stay in this model skill. The per-run `automl_policy` override does not change model metadata.\n\n## Training Requirements\n\n- **Dataset type:** ml_recog\n- **Formats:** default\n- **Monitoring metric:** val Precision at Rank 1\n\n### Per-Action Dataset Requirements\n\n| Action | Spec Key | Source | Files | List? |\n|---|---|---|---|---|\n| evaluate | dataset.val_dataset | train_datasets | reference: metric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Freference.tar.gz, query: metric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Ftest.tar.gz | No |\n| inference | dataset.val_dataset | train_datasets | reference: metric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Freference.tar.gz, query:  | No |\n| inference | inference.input_path | train_datasets | metric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Ftest.tar.gz | No |\n| train | dataset.train_dataset | train_datasets | metric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Fknown_classes\u002Ftrain.tar.gz | No |\n| train | dataset.val_dataset | train_datasets | reference: metric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Fknown_classes\u002Freference.tar.gz, query: metric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Fknown_classes\u002Fval.tar.gz | No |\n\n### Typical Spec Overrides\n\nData source overrides are **mandatory for every action** — the agent MUST construct data source paths from the Per-Action Dataset Requirements table above and include them in `spec_overrides`.\n\n```python\nS3_TRAIN = \"s3:\u002F\u002Fbucket\u002Fdata\u002Ftrain\"\n```\n\n**train (mandatory data sources):**\n```python\n{\n    \"train.num_epochs\": 30,\n    \"train.checkpoint_interval\": 10,\n    \"train.validation_interval\": 10,\n    \"train.num_gpus\": 1,\n    \"dataset.train_dataset\": f\"{S3_TRAIN}\u002Fmetric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Fknown_classes\u002Ftrain.tar.gz\",\n    \"dataset.val_dataset\": {\"reference\": f\"{S3_TRAIN}\u002Fmetric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Fknown_classes\u002Freference.tar.gz\", \"query\": f\"{S3_TRAIN}\u002Fmetric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Fknown_classes\u002Fval.tar.gz\"},\n}\n```\n\n**evaluate (mandatory data sources):**\n```python\n{\n    \"evaluate.checkpoint\": \"\u003Cselected train\u002FAutoML checkpoint>\",\n    \"dataset.val_dataset\": {\"reference\": f\"{S3_TRAIN}\u002Fmetric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Freference.tar.gz\", \"query\": f\"{S3_TRAIN}\u002Fmetric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Ftest.tar.gz\"},\n}\n```\n\n**inference (mandatory data sources):**\n```python\n{\n    \"inference.checkpoint\": \"\u003Cselected train\u002FAutoML checkpoint>\",\n    \"dataset.val_dataset\": {\"reference\": f\"{S3_TRAIN}\u002Fmetric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Freference.tar.gz\"},\n    \"inference.input_path\": f\"{S3_TRAIN}\u002Fmetric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Ftest.tar.gz\",\n}\n```\n## Eval Dataset\n\nRequired. Evaluation requires reference and query datasets for retrieval metrics.\n\n## Important Parameters\n\n- **model.backbone**: Default resnet_50. Options: resnet_50, resnet_101, fan_small, fan_base, fan_large, fan_tiny, nvdinov2_vit_large_legacy.\n- **model.feat_dim**: Embedding dimension. Default 256. Output feature vector size for similarity matching.\n- **train.batch_size**: Per-GPU batch size. Default 4. `val_batch_size` also 4. For training and AutoML search, `train.batch_size` must be divisible by `dataset.num_instance`.\n- **dataset.num_instance**: Instances per identity in a batch (P\u002FK sampling). Default 4. Controls how many images of the same class appear together. If using a custom AutoML range for `train.batch_size`, use explicit options that are multiples of this value.\n- **train.optim.trunk.base_lr**: Learning rate for the trunk (backbone). Default 3.5e-4 (Adam).\n- **train.optim.embedder.base_lr**: Learning rate for the embedding head. Default 3.5e-4.\n- **train.optim.triplet_loss_margin**: Margin for triplet loss. Default 0.3. smooth_loss=True by default.\n- **train.optim.miner_function_margin**: Hard mining margin. Default 0.1. Controls pair mining difficulty.\n- **train.optim.steps**: LR decay steps. Default [40, 70] with gamma=0.1.\n- **dataset.train_dataset**: Path to training images organized in class folders.\n- **dataset.val_dataset**: Dict with 'reference' and 'query' keys pointing to ImageNet-format directories for retrieval evaluation.\n\n## Multi-GPU \u002F Multi-Node\n\n**Launch method:** Lightning-managed (single `python` process, Lightning spawns workers).\n\n| Spec Key | Description | Default |\n|----------|-------------|---------|\n| `train.num_gpus` | Number of GPUs | 1 |\n| `train.gpu_ids` | GPU device indices | [0] |\n\n- Strategy: `auto` (Lightning picks best strategy automatically)\n- No explicit `num_nodes` or `distributed_strategy` config — single-node oriented\n\n## Hardware\n\nMinimum 1 GPU(s), recommended 2 GPU(s). 16GB+ VRAM per GPU. Metric learning benefits from larger batch sizes for better triplet sampling but is otherwise moderate on memory.\n\n## Error Patterns\n\n**Reference\u002Fquery mismatch**: Ensure reference and query datasets share compatible class namespaces for evaluation.\n\n**PyTorch 2.6 checkpoint load failure on checkpoint actions**: Current TAO\nML-Recog checkpoints may contain OmegaConf objects. For checkpoints produced by\nthe same trusted TAO train\u002FAutoML workflow, set\n`TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=1` in downstream evaluate, inference, export,\nor resume\u002Fretrain job env vars so Lightning can load the full checkpoint. Do not\nuse this env var for untrusted checkpoints.\n\n## Spec Param \u002F Parent Model Inference\n\nModel-specific inference mappings belong in this MD file, not in `config.json`. Generated runners should read this section and apply the mappings with SDK helpers before `create_job()`. This mirrors the old microservices `infer_params.py` flow.\n\nInference mappings from TAO Core `ml_recog.config.json`:\n\n| Action | Spec Field | Inference Function | Meaning |\n|---|---|---|---|\n| evaluate | `evaluate.checkpoint` | `parent_model` | model file inferred from the parent job results folder |\n| evaluate | `results_dir` | `output_dir` | current job results directory |\n| export | `export.checkpoint` | `parent_model` | model file inferred from the parent job results folder |\n| export | `export.onnx_file` | `create_onnx_file` | output ONNX path |\n| export | `results_dir` | `output_dir` | current job results directory |\n| inference | `inference.checkpoint` | `parent_model` | model file inferred from the parent job results folder |\n| inference | `results_dir` | `output_dir` | current job results directory |\n| train | `model.pretrained_model_path` | `ptm_if_no_resume_model` | PTM when no resume checkpoint exists |\n| train | `results_dir` | `output_dir` | current job results directory |\n| train | `train.resume_training_checkpoint_path` | `resume_model` | model file inferred from the current job results folder |\n\nFor `parent_model` or `parent_model_folder`, pass the upstream train\u002Fexport\u002FAutoML child job id as `parent_job_id`. The SDK lists the parent result folder, filters checkpoint artifacts, and returns the selected model file or folder. Do not add these mappings back to `config.json` and do not patch generated runner scripts to guess checkpoint paths.\n\n## Deployment\n\n- [tao-deploy-metric-learning-recognition](references\u002Ftao-deploy-metric-learning-recognition.md)\n","# ML Recog\n\nMetric learning recognition for fine-grained visual recognition. Learns embeddings for retrieval-based matching (e.g., retail product recognition). Uses triplet\u002Fcontrastive losses.\n\nSet model.pretrained_model_path for pretrained backbone.\n\nFor TAO Deploy TensorRT actions (`gen_trt_engine`, TensorRT `evaluate`, and TensorRT `inference`), read `references\u002Ftao-deploy-metric-learning-recognition.md` first. Deploy spec templates live in this skill's `references\u002F` folder with the `spec_template_deploy_*.yaml` prefix.\n\n## Dataclass Schemas\n\nGenerated TAO Core schemas are packaged in `schemas\u002F\u003Caction>.schema.json`, with `schemas\u002Fmanifest.json` listing available actions. Each generated schema also emits `references\u002Fspec_template_\u003Caction>.yaml` from the schema top-level `default` field. AutoML enablement is declared at the model layer in `references\u002Fskill_info.yaml` via `automl_enabled`. Runnable AutoML still requires `schemas\u002Ftrain.schema.json` and `references\u002Fspec_template_train.yaml` to exist and parse. Use the packaged train schema for `automl_default_parameters`, `automl_disabled_parameters`, defaults, min\u002Fmax bounds, enums, option weights, math conditions, dependencies, and popular parameters. Do not expect `~\u002Ftao-core` at runtime; maintainers regenerate schemas\u002Ftemplates before packaging the skill bank.\n\n## Train Action Policy\n\nThis model is AutoML-enabled at the model layer. Before handling any train-stage request, read `references\u002Fskill_info.yaml` and resolve the run override from either an explicit `automl_policy` value or the user's workflow request. Use `automl_policy: on` by default and only expose `on` \u002F `off` in new launch prompts. Treat phrases like \"turn off AutoML\", \"disable AutoML\", \"no HPO\", or \"plain training\" as `automl_policy: off` for this run only. When `automl_policy: on`, `automl_enabled: true`, and both `schemas\u002Ftrain.schema.json` and `references\u002Fspec_template_train.yaml` are packaged, route the train action through `tao-skill-bank:tao-run-automl` by default with this model's `skill_dir`. Preserve workflow\u002Fapplication overrides for datasets, specs, output directories, GPU\u002Fplatform settings, parent checkpoints, and `automl_policy`. Use direct model training only when `automl_policy: off` or the packaged train schema\u002Ftemplate is missing; in the missing-schema case, report that AutoML is enabled but not runnable for this model until schemas are generated.\n\nNon-train actions such as `evaluate`, `inference`, `export`, and deploy flows stay in this model skill. The per-run `automl_policy` override does not change model metadata.\n\n## Training Requirements\n\n- **Dataset type:** ml_recog\n- **Formats:** default\n- **Monitoring metric:** val Precision at Rank 1\n\n### Per-Action Dataset Requirements\n\n| Action | Spec Key | Source | Files | List? |\n|---|---|---|---|---|\n| evaluate | dataset.val_dataset | train_datasets | reference: metric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Freference.tar.gz, query: metric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Ftest.tar.gz | No |\n| inference | dataset.val_dataset | train_datasets | reference: metric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Freference.tar.gz, query:  | No |\n| inference | inference.input_path | train_datasets | metric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Ftest.tar.gz | No |\n| train | dataset.train_dataset | train_datasets | metric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Fknown_classes\u002Ftrain.tar.gz | No |\n| train | dataset.val_dataset | train_datasets | reference: metric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Fknown_classes\u002Freference.tar.gz, query: metric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Fknown_classes\u002Fval.tar.gz | No |\n\n### Typical Spec Overrides\n\nData source overrides are **mandatory for every action** — the agent MUST construct data source paths from the Per-Action Dataset Requirements table above and include them in `spec_overrides`.\n\n```python\nS3_TRAIN = \"s3:\u002F\u002Fbucket\u002Fdata\u002Ftrain\"\n```\n\n**train (mandatory data sources):**\n```python\n{\n    \"train.num_epochs\": 30,\n    \"train.checkpoint_interval\": 10,\n    \"train.validation_interval\": 10,\n    \"train.num_gpus\": 1,\n    \"dataset.train_dataset\": f\"{S3_TRAIN}\u002Fmetric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Fknown_classes\u002Ftrain.tar.gz\",\n    \"dataset.val_dataset\": {\"reference\": f\"{S3_TRAIN}\u002Fmetric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Fknown_classes\u002Freference.tar.gz\", \"query\": f\"{S3_TRAIN}\u002Fmetric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Fknown_classes\u002Fval.tar.gz\"},\n}\n```\n\n**evaluate (mandatory data sources):**\n```python\n{\n    \"evaluate.checkpoint\": \"\u003Cselected train\u002FAutoML checkpoint>\",\n    \"dataset.val_dataset\": {\"reference\": f\"{S3_TRAIN}\u002Fmetric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Freference.tar.gz\", \"query\": f\"{S3_TRAIN}\u002Fmetric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Ftest.tar.gz\"},\n}\n```\n\n**inference (mandatory data sources):**\n```python\n{\n    \"inference.checkpoint\": \"\u003Cselected train\u002FAutoML checkpoint>\",\n    \"dataset.val_dataset\": {\"reference\": f\"{S3_TRAIN}\u002Fmetric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Freference.tar.gz\"},\n    \"inference.input_path\": f\"{S3_TRAIN}\u002Fmetric_learning_recognition\u002Fretail-product-checkout-dataset_classification_demo\u002Funknown_classes\u002Ftest.tar.gz\",\n}\n```\n## Eval Dataset\n\nRequired. Evaluation requires reference and query datasets for retrieval metrics.\n\n## Important Parameters\n\n- **model.backbone**: Default resnet_50. Options: resnet_50, resnet_101, fan_small, fan_base, fan_large, fan_tiny, nvdinov2_vit_large_legacy.\n- **model.feat_dim**: Embedding dimension. Default 256. Output feature vector size for similarity matching.\n- **train.batch_size**: Per-GPU batch size. Default 4. `val_batch_size` also 4. For training and AutoML search, `train.batch_size` must be divisible by `dataset.num_instance`.\n- **dataset.num_instance**: Instances per identity in a batch (P\u002FK sampling). Default 4. Controls how many images of the same class appear together. If using a custom AutoML range for `train.batch_size`, use explicit options that are multiples of this value.\n- **train.optim.trunk.base_lr**: Learning rate for the trunk (backbone). Default 3.5e-4 (Adam).\n- **train.optim.embedder.base_lr**: Learning rate for the embedding head. Default 3.5e-4.\n- **train.optim.triplet_loss_margin**: Margin for triplet loss. Default 0.3. smooth_loss=True by default.\n- **train.optim.miner_function_margin**: Hard mining margin. Default 0.1. Controls pair mining difficulty.\n- **train.optim.steps**: LR decay steps. Default [40, 70] with gamma=0.1.\n- **dataset.train_dataset**: Path to training images organized in class folders.\n- **dataset.val_dataset**: Dict with 'reference' and 'query' keys pointing to ImageNet-format directories for retrieval evaluation.\n\n## Multi-GPU \u002F Multi-Node\n\n**Launch method:** Lightning-managed (single `python` process, Lightning spawns workers).\n\n| Spec Key | Description | Default |\n|----------|-------------|---------|\n| `train.num_gpus` | Number of GPUs | 1 |\n| `train.gpu_ids` | GPU device indices | [0] |\n\n- Strategy: `auto` (Lightning picks best strategy automatically)\n- No explicit `num_nodes` or `distributed_strategy` config — single-node oriented\n\n## Hardware\n\nMinimum 1 GPU(s), recommended 2 GPU(s). 16GB+ VRAM per GPU. Metric learning benefits from larger batch sizes for better triplet sampling but is otherwise moderate on memory.\n\n## Error Patterns\n\n**Reference\u002Fquery mismatch**: Ensure reference and query datasets share compatible class namespaces for evaluation.\n\n**PyTorch 2.6 checkpoint load failure on checkpoint actions**: Current TAO\nML-Recog checkpoints may contain OmegaConf objects. For checkpoints produced by\nthe same trusted TAO train\u002FAutoML workflow, set\n`TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=1` in downstream evaluate, inference, export,\nor resume\u002Fretrain job env vars so Lightning can load the full checkpoint. Do not\nuse this env var for untrusted checkpoints.\n\n## Spec Param \u002F Parent Model Inference\n\nModel-specific inference mappings belong in this MD file, not in `config.json`. Generated runners should read this section and apply the mappings with SDK helpers before `create_job()`. This mirrors the old microservices `infer_params.py` flow.\n\nInference mappings from TAO Core `ml_recog.config.json`:\n\n| Action | Spec Field | Inference Function | Meaning |\n|---|---|---|---|\n| evaluate | `evaluate.checkpoint` | `parent_model` | model file inferred from the parent job results folder |\n| evaluate | `results_dir` | `output_dir` | current job results directory |\n| export | `export.checkpoint` | `parent_model` | model file inferred from the parent job results folder |\n| export | `export.onnx_file` | `create_onnx_file` | output ONNX path |\n| export | `results_dir` | `output_dir` | current job results directory |\n| inference | `inference.checkpoint` | `parent_model` | model file inferred from the parent job results folder |\n| inference | `results_dir` | `output_dir` | current job results directory |\n| train | `model.pretrained_model_path` | `ptm_if_no_resume_model` | PTM when no resume checkpoint exists |\n| train | `results_dir` | `output_dir` | current job results directory |\n| train | `train.resume_training_checkpoint_path` | `resume_model` | model file inferred from the current job results folder |\n\nFor `parent_model` or `parent_model_folder`, pass the upstream train\u002Fexport\u002FAutoML child job id as `parent_job_id`. The SDK lists the parent result folder, filters checkpoint artifacts, and returns the selected model file or folder. Do not add these mappings back to `config.json` and do not patch generated runner scripts to guess checkpoint paths.\n\n## Deployment\n\n- [tao-deploy-metric-learning-recognition](references\u002Ftao-deploy-metric-learning-recognition.md)\n",{"name":5,"tags":24,"license":15,"metadata":28,"description":7,"allowed-tools":31,"compatibility":32},[25,26,27],"metric","learning","recognition",{"author":29,"version":30},"NVIDIA Corporation","0.1.0","Read Bash","Requires docker + nvidia-container-toolkit.","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fnvidia-skills\u002Ftao-train-metric-learning-recognition\u002Fskills\u002Ftao-train-metric-learning-recognition",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill tao-train-metric-learning-recognition",{"tool":47,"command":48},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill tao-train-metric-learning-recognition",{"tool":50,"command":51},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill tao-train-metric-learning-recognition","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fnvidia-skills\u002Ftao-train-metric-learning-recognition\u002Fskills\u002Ftao-train-metric-learning-recognition\u002FSKILL.md",true,[],[56,64,69,76,81,88],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":65,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":77,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":89,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]