Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

tao-train-ocdnet

БесплатноБез исполняемых скриптовНе проверен

OCDNet for scene text detection. Detects arbitrary-oriented text regions in natural images using a differentiable binarization approach. Use when training…

NVIDIAот NVIDIA★ 4 269 звёзд на GitHub

Об этом скилле

OCDNet

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).

OCDNet for scene text detection. Detects arbitrary-oriented text regions in natural images using a differentiable binarization approach.

Set model.pretrained_model_path for pretrained weights.

For TAO Deploy TensorRT actions (gen_trt_engine, TensorRT evaluate, and TensorRT inference), read references/tao-deploy-ocdnet.md first. Deploy spec templates live in this skill's references/ folder with the spec_template_deploy_*.yaml prefix.

The PyT OCDNet CLI supports train, evaluate, export, inference, prune, quantize, and default_specs. It does not expose PyT-side retrain or gen_trt_engine subcommands. The model skill exposes retrain by running ocdnet train with model.load_pruned_graph: true and model.pruned_graph_path. Resume from an epoch checkpoint uses ocdnet train plus train.resume_training_checkpoint_path. TensorRT engine generation is owned by the deploy workflow.

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.

Train Action Policy

This model is AutoML-enabled at the model layer. Before handling any train-stage request, read references/skill_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 / 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/train.schema.json and references/spec_template_train.yaml are packaged, route the train action through nvidia-tao-toolkit:tao-run-automl by default with this model's skill_dir. Preserve workflow/application overrides for datasets, specs, output directories, GPU/platform settings, parent checkpoints, and automl_policy. Use direct model training only when automl_policy: off or the packaged train schema/template is missing; in the missing-schema case, report that AutoML is enabled but not runnable for this model until schemas are generated.

For AutoML train, use train_loss_epoch or train_loss as the optimization metric with direction=minimize. The Lightning progress log emits train_loss_epoch, and TAO status.json records the same final value under train_loss. For one-epoch local AutoML smoke runs, set train.lr_scheduler.args.warmup_epoch: 0; leaving warmup equal to the epoch budget causes the trainer to fail before a recommendation can report a metric. Non-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.

Training Requirements

  • Dataset type: ocdnet
  • Formats: default
  • AutoML training metric: train_loss (the status logger's final train_loss_epoch value), with direction=minimize
  • AutoML metric contract: Use train_loss emitted during training and minimize it. Treat train_loss_epoch as a log fallback alias only; use standalone hmean solely to validate the selected checkpoint.
  • Standalone evaluation metric: hmean, with direction=maximize

Per-Action Dataset Requirements

Action Spec Key Source Runtime value List?
evaluate dataset.validate_dataset.data_path eval_dataset extracted validation split folder with img/ and gt/ Yes
inference inference.input_folder inference_dataset or eval_dataset extracted image folder No
prune dataset.validate_dataset.data_path eval_dataset extracted validation split folder with img/ and gt/ Yes
quantize dataset.train_dataset.data_path train_datasets extracted train split folder with img/ and gt/ Yes
quantize dataset.validate_dataset.data_path eval_dataset extracted validation split folder with img/ and gt/ Yes
quantize dataset.quant_calibration_dataset.images_dir train_datasets or calibration_dataset extracted calibration image folder No
Полный SKILL.md на GitHub

Установить tao-train-ocdnet в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

Вложенные файлы

evals/evals.jsonreferences/skill_info.yamlreferences/spec_template_deploy_evaluate.yamlreferences/spec_template_deploy_gen_trt_engine.yamlreferences/spec_template_deploy_inference.yamlreferences/spec_template_evaluate.yamlreferences/spec_template_export.yamlreferences/spec_template_gen_trt_engine.yamlreferences/spec_template_inference.yamlreferences/spec_template_prune.yamlreferences/spec_template_quantize.yamlreferences/spec_template_retrain.yamlreferences/spec_template_train.yamlreferences/tao-deploy-ocdnet.mdreferences/tao-deploy-ocdnet.skill_info.yamlschemas/evaluate.schema.jsonschemas/export.schema.jsonschemas/gen_trt_engine.schema.jsonschemas/inference.schema.jsonschemas/manifest.jsonschemas/prune.schema.jsonschemas/quantize.schema.jsonschemas/retrain.schema.jsonschemas/train.schema.json

FAQ

Что делает скилл tao-train-ocdnet?

OCDNet for scene text detection. Detects arbitrary-oriented text regions in natural images using a differentiable binarization approach. Use when training, evaluating, exporting, pruning, quantizing, retraining, or running inference for a TAO OCDNet model. Trigger phrases include "train OCDNet", "scene text detection", "arbitrary-oriented text boxes", "differentiable binarization detector".

Как установить скилл tao-train-ocdnet?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл tao-train-ocdnet запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить tao-train-ocdnet с