tao-generate-od-defects
Run AnomalyGenNext 1.1 inference from a native testcase or a prepared generation plan, then publish validated fine-grained and binary COCO labels. Use for synthetic object-detection defect generation, not model training.
- 01GitHub stars
- 3.6K
- 02Installs
- New
- 03Files scanned
- 10
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 7a380bfd1a25e6e4… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
Generate AnomalyGenNext OD Defects
This leaf uses the upstream generator and pseudo-labeler in the pinned public
container. It does not prepare detector gaps, run AMP, train AnomalyGenNext, or
append outputs to a detector training set.
Read references/execution-contract.md when adapting input or completion
behavior, and references/container-runtime.md before submission.
Inputs
Pass either:
--inputs-dirpointing to the completed output oftao-prepare-anomalygennext-inputs; or--input-data-path,--checkpoint, and matching--recipefor a native AnomalyGenNext testcase.
Also provide the Cosmos3-Nano base checkpoint, the complete AnomalyGenNext checkpoint root, and one or more GPUs. Every testcase image and aligned mask must exist, every anomaly type must occur in the recipe, and the requested row count must match the testcase. When a prepared integrity manifest exists, every recorded hash is verified before generation.
Run
Invoke tao-launch-workflow, review the exact image, mounts, GPU shape, runtime,
and output directory, then submit the generate action:
scripts/generate_od_defects.py \
--inputs-dir /results/prepared_inputs \
--base-checkpoint /models/Cosmos3-Nano \
--checkpoint-root /workspace/paidf-anomalygen/checkpoints \
--output-dir /temporary/generation \
--published-root /persistent/generation \
--no-guardrail \
--num-gpus 1
When execution uses temporary storage, --published-root records the
persistent locations that will contain the saved results.
Guardrails are enabled by default and preserve the native invocation without a
guardrail flag. The wrapper appends --no-guardrail only when explicitly
disabled.
--no-guardrail disables text screening, image content-safety screening, and
face blurring together. The checkpoint root is mounted over the image's
canonical /workspace/paidf-anomalygen/checkpoints tree and validated before
GPU work. The Nano tokenizer, Edge processor, and DINOv2 assets are always
required; guardrail-enabled runs additionally require the Qwen3Guard and Cosmos
Guardrail repositories. Generation is forced offline after validation. The
selected platform must honor the declared checkpoint_root.container_path;
the generation leaf rejects a different mount point. The base-checkpoint
argument remains separate: it is the parent containing
checkpoint.json and the model/ checkpoint directory.
Completion
For each dataset, generated + guardrail_blocked must equal requested rows.
With --no-guardrail, generated must equal requested rows and
guardrail_blocked remains zero. The validation summary records the selected
guardrail mode.
The pseudo-label count must match generated images, each image needs an
annotation, categories must be declared anomaly types, and every COCO bbox must
be positive and inside its image. The action emits:
DATASET/raw/
DATASET/pseudo_labels/coco_annotations.json
pseudo_labels/coco_annotations.json
pseudo_labels/coco_annotations_od_defect.json
validation_summary.json
status.json
The native COCO preserves TEXTURE+DEFECT categories. The binary file maps all
annotations to defect. Only a calling application may admit these outputs to
training; this leaf always reports training_pool_mutated=false.
Files
10- BENCHMARK.md
c8fd6648f36.9 KB - SKILL.md
c64c49991f3.8 KB - config/skillspector-baseline.yaml
2d8a48a40a1.4 KB - evals/evals.json
7fde554cca901 B - references/container-runtime.md
d60a1ee6d02.9 KB - references/execution-contract.md
32b10584c74.5 KB - references/skill_info.yaml
87e0aaeffc1.8 KB - scripts/generate_od_defects.py
ab1934028615.0 KB - scripts/tests/test_generate_od_defects.py
dc2a48a25e10.9 KB - skill-card.md
ffbbc5d1834.7 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from NVIDIA/skills8
Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby, CSV/Parquet I/O, nullable semantics, and multi-GPU DataFrame workloads.
Use when asked to install, deploy, run, validate, troubleshoot, or stop NVIDIA AI-Q Blueprint infrastructure.
Use when asked to run deep research or AI-Q research through a reachable NVIDIA AI-Q Blueprint backend.
Customize NVIDIA Nemotron Voice Agent's Generic Pipecat example for healthcare appointment, five-field patient intake, or custom tool-calling workflows without a separate backend.
Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or asks to calibrate live cameras; VIOS records clips, AMC ingests them, then runs calibration.
Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip) against a running AMC microservice. Use when user says 'test sample dataset', 'run sample calibration', 'verify AMC install', or 'launch and test'.
Calibrates pre-recorded `cam_*.mp4` datasets through the AutoMagicCalib REST API. Use for user-supplied local MP4s; route live RTSP streams to `amc-run-rtsp-calibration`.
Launch AutoMagicCalib microservice and web UI from NGC release images via Docker Compose. Use when user says 'deploy auto calibration', 'launch auto calibration', 'launch AMC', 'start MS+UI', or 'set up auto-magic-calib'. Requires NGC API key.
Related ai-ml skillsscan passed
Pair a remote AI agent with your browser. (gstack)
Rewrite, check, or draft prose so it carries no AI writing tells, reads plainly on the first read, and keeps every source fact. Use when asked to make writing plainer or free of those tells, to check writing for them, or when drafting from supplied content. Use ce-promote for channel-specific market
One API and one credential for frontier and open-source LLMs and embedding models, built into your Neon branch and powered by Databricks. Use when a user wants to call an LLM, generate embeddings, add AI/chat/an agent to their app, route between model providers (OpenAI, Anthropic, Google/Gemini, Met
Manages datasets, tables, and jobs in BigQuery. Use when you need to interact with BigQuery, run SQL queries, manage BigQuery resources (datasets, tables, views), or perform basic data ingestion and analysis.
Build a knowledge base from web content with Firecrawl. Use for local reference docs, RAG-ready chunks, fine-tuning datasets, documentation mirrors, topic corpora, or LLM-ready markdown organized from web sources.
Build AI applications using Azure AI Projects SDK for JavaScript (@azure/ai-projects). Use when working with Foundry project clients, agents, connections, deployments, datasets, indexes, evaluations, or getting OpenAI clients.