Individual skill
tao-train-optical-inspection
Optical Inspection for defect detection using Siamese networks. Compares image pairs to detect manufacturing defects, anomalies, or quality issues. Use when training, evaluating, exporting, or running inference for a TAO Optical Inspection model on AOI / quality-control data. Trigger phrases include "train optical inspection", "AOI defect detection", "Siamese defect classifier", "PCB / manufacturing inspection".
skills/tao-train-optical-inspection/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,909
- 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
- defect Declared skill tag
- detection Declared skill tag
- data 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,135 bytesSKILL.mdcore · 17,842 bytesSKILL.mdcore · 17,842 bytesSKILL.mdcore · 17,842 bytesSKILL.mdcore · 17,842 bytesSKILL.mdcore · 17,842 bytesSKILL.mdcore · 17,842 bytesSKILL.mdcore · 17,842 bytesSKILL.mdcore · 17,842 bytesSKILL.mdcore · 17,842 bytesSKILL.mdcore · 17,842 bytesconfig/skillspector-baseline.yamlasset · 1,045 bytesevals/evals.jsonasset · 839 bytesreferences/skill_info.yamlasset · 4,985 bytesreferences/spec_template_deploy_experiment.yamlasset · 1,561 bytesreferences/spec_template_evaluate.yamlasset · 2,061 bytesreferences/spec_template_export.yamlasset · 2,149 bytesreferences/spec_template_gen_trt_engine.yamlasset · 2,336 bytesreferences/spec_template_inference.yamlasset · 2,062 bytesreferences/spec_template_train.yamlasset · 1,936 bytesreferences/tao-deploy-optical-inspection.mddoc · 5,772 bytesreferences/tao-deploy-optical-inspection.skill_info.yamlasset · 3,563 bytesschemas/evaluate.schema.jsonasset · 33,951 bytesschemas/export.schema.jsonasset · 34,031 bytesschemas/gen_trt_engine.schema.jsonasset · 39,525 bytesschemas/inference.schema.jsonasset · 33,952 bytesschemas/manifest.jsonasset · 15,880 bytesschemas/train.schema.jsonasset · 34,401 bytesscripts/validate_dataset.pyruns · 11,448 bytesskill-card.mddoc · 4,502 bytesskill.oms.sigasset · 18,945 bytestests/fixtures/dataset/invalid_label.csvasset · 189 bytestests/fixtures/dataset/missing_columns.csvasset · 91 bytestests/fixtures/dataset/missing_lighting/dataset.csvasset · 109 bytestests/fixtures/dataset/missing_lighting/images/board/AOI_B/capture/PerComponent/C42@1_LowAngleLight.jpgasset · 0 bytestests/fixtures/dataset/missing_lighting/images/board/AOI_B/capture/PerComponent/C42@1_SolderLight.jpgasset · 0 bytestests/fixtures/dataset/missing_lighting/images/board/AOI_B/capture/PerComponent/C42@1_UniformLight.jpgasset · 0 bytestests/fixtures/dataset/missing_lighting/images/golden/images/boardBOT/C42@1_LowAngleLight.jpgasset · 0 bytestests/fixtures/dataset/missing_lighting/images/golden/images/boardBOT/C42@1_SolderLight.jpgasset · 0 bytestests/fixtures/dataset/missing_lighting/images/golden/images/boardBOT/C42@1_UniformLight.jpgasset · 0 bytestests/fixtures/dataset/missing_lighting/images/golden/images/boardBOT/C42@1_WhiteLight.jpgasset · 0 bytestests/fixtures/dataset/missing_path.csvasset · 105 bytestests/fixtures/dataset/single_class.csvasset · 338 bytestests/fixtures/dataset/valid/dataset.csvasset · 341 bytestests/fixtures/dataset/valid/images/690-2G133-0210-000/AOI_B/FXLH_690-2G133-0210-000_1320422122195_F_AOI_B_20220123100122/PerComponent/R821@1_LowAngleLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/690-2G133-0210-000/AOI_B/FXLH_690-2G133-0210-000_1320422122195_F_AOI_B_20220123100122/PerComponent/R821@1_SolderLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/690-2G133-0210-000/AOI_B/FXLH_690-2G133-0210-000_1320422122195_F_AOI_B_20220123100122/PerComponent/R821@1_UniformLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/690-2G133-0210-000/AOI_B/FXLH_690-2G133-0210-000_1320422122195_F_AOI_B_20220123100122/PerComponent/R821@1_WhiteLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/690-2G133-0210-000/AOI_T/FXLH_690-2G133-0210-000_1320422122038_F_AOI_T_20220123130101/PerComponent/R1209@1_LowAngleLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/690-2G133-0210-000/AOI_T/FXLH_690-2G133-0210-000_1320422122038_F_AOI_T_20220123130101/PerComponent/R1209@1_SolderLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/690-2G133-0210-000/AOI_T/FXLH_690-2G133-0210-000_1320422122038_F_AOI_T_20220123130101/PerComponent/R1209@1_UniformLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/690-2G133-0210-000/AOI_T/FXLH_690-2G133-0210-000_1320422122038_F_AOI_T_20220123130101/PerComponent/R1209@1_WhiteLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/golden/images/690-2G133-0210-000BOT/R821@1_LowAngleLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/golden/images/690-2G133-0210-000BOT/R821@1_SolderLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/golden/images/690-2G133-0210-000BOT/R821@1_UniformLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/golden/images/690-2G133-0210-000BOT/R821@1_WhiteLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/golden/images/690-2G133-0210-000TOP/R1209@1_LowAngleLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/golden/images/690-2G133-0210-000TOP/R1209@1_SolderLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/golden/images/690-2G133-0210-000TOP/R1209@1_UniformLight.jpgasset · 0 bytestests/fixtures/dataset/valid/images/golden/images/690-2G133-0210-000TOP/R1209@1_WhiteLight.jpgasset · 0 bytestests/test_validate_dataset.pyruns · 4,955 bytes
Read excerpt
# Optical Inspection
> **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).
Optical inspection for defect detection using Siamese networks. Compares image pairs to detect manufacturing defects, anomalies, or quality issues.
Set train.pretrained_model_path for pretrained Siamese weights.
For TAO Deploy TensorRT actions (`gen_trt_engine`, TensorRT `evaluate`, and TensorRT `inference`), read `references/tao-deploy-optical-inspection.md` first. The parent PyT container does not expose `optical_inspection gen_trt_engine`; TensorRT engine generation is deploy-only. 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.