[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78ATXZYZ8QYV1VJHZTPNN37":3,"skill-same:01M78ATXZYZ8QYV1VJHZTPNN37":149},{"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":32,"commitSha":33,"skillDirectory":34,"forksCount":14,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M78ATXZYZ8QYV1VJHZTPNN37","tao-train-rtdetr",null,"RT-DETR (Real-Time DEtection TRansformer) for 2D object detection. Designed for real-time inference with competitive accuracy and supports distillation and quantization for deployment optimization. Use when training, evaluating, distilling, quantizing, exporting, or running inference for a TAO RT-DETR model. Trigger phrases include \"train RT-DETR\", \"real-time DETR\", \"low-latency object detection\", \"RT-DETR distillation \u002F quantization\".","Solizardking\u002Ftrain2earn","Solizardking","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F108096810?v=4","01M786KDB10AYV042N0F9BD5B5","Clawd","01M786KDC5C3NPE4W44C5641EZ",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tao-train-rtdetr\ndescription: RT-DETR (Real-Time DEtection TRansformer) for 2D object detection. Designed for real-time inference with\n  competitive accuracy and supports distillation and quantization for deployment optimization. Use when training, evaluating,\n  distilling, quantizing, exporting, or running inference for a TAO RT-DETR model. Trigger phrases include \"train RT-DETR\",\n  \"real-time DETR\", \"low-latency object detection\", \"RT-DETR distillation \u002F quantization\".\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- object\n- detection\n---\n\n# RT-DETR\n\nRT-DETR (Real-Time DEtection TRansformer) for 2D object detection. Designed for real-time inference with competitive accuracy. Supports distillation and quantization for deployment optimization.\n\nSet model.pretrained_backbone_path for backbone weights or train.pretrained_model_path for full model.\n\nFor TAO Deploy TensorRT actions (`gen_trt_engine`, TensorRT `evaluate`, and TensorRT `inference`), read `references\u002Ftao-deploy-rtdetr.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## Supported Actions\n\nThe packaged RT-DETR PyT CLI supports `train`, `distill`, `quantize`, `evaluate`, `export`, `inference`, and `default_specs`. This model skill exposes `train`, `distill`, `quantize`, `evaluate`, `export`, and `inference`; resume\u002Fretrain is performed through `train` with `train.resume_training_checkpoint_path`.\n\nThe parent PyT CLI does not expose `gen_trt_engine`. Use `models\u002Frtdetr\u002Fdeploy` for TensorRT engine generation, TensorRT evaluation, and TensorRT inference.\n\n## Training Requirements\n\n- **Dataset type:** object_detection\n- **Formats:** coco, coco_raw\n- **Monitoring metric:** mAP50 for quick operational checks; `val_mAP` for COCO\u002Fpaper-style benchmark comparisons.\n\n### Per-Action Dataset Requirements\n\n| Action | Spec Key | Source | Files | List? |\n|---|---|---|---|---|\n| distill | dataset.train_data_sources | train_datasets | image_dir: images.tar.gz, json_file: annotations.json | Yes |\n| distill | dataset.val_data_sources | eval_dataset | image_dir: images.tar.gz, json_file: annotations.json | No |\n| evaluate | dataset.test_data_sources | eval_dataset | image_dir: images.tar.gz, json_file: annotations.json | No |\n| inference | dataset.infer_data_sources | inference_dataset | image_dir: images.tar.gz, classmap: label_map.txt | Yes |\n| quantize | dataset.train_data_sources | train_datasets | image_dir: images.tar.gz, json_file: annotations.json | Yes |\n| quantize | dataset.val_data_sources | eval_dataset | image_dir: images.tar.gz, json_file: annotations.json | No |\n| quantize | dataset.quant_calibration_data_sources | train_datasets | image_dir: images.tar.gz, json_file: annotations.json | No |\n| train | dataset.train_data_sources | train_datasets | image_dir: images.tar.gz, json_file: annotations.json | Yes |\n| train | dataset.val_data_sources | eval_dataset | image_dir: images.tar.gz, json_file: annotations.json | 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\"\nS3_EVAL = \"s3:\u002F\u002Fbucket\u002Fdata\u002Feval\"\nCHECKPOINT = \"\u002Fresults\u002F{train_job_id}\u002Fresults_dir\u002Fmodel_epoch_000.pth\"\nONNX_FILE = \"\u002Fresults\u002F{export_job_id}\u002Fresults_dir\u002Frtdetr.onnx\"\n```\n\n**train (mandatory data sources):**\n```python\n{\n    \"train.num_epochs\": 10,\n    \"train.checkpoint_interval\": 10,\n    \"train.validation_interval\": 10,\n    \"train.num_gpus\": 1,\n    \"train.gpu_ids\": [0],\n    \"dataset.num_classes\": \"\u003Cnum_classes> + 1\",\n    \"dataset.train_data_sources\": [{\"image_dir\": f\"{S3_TRAIN}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_TRAIN}\u002Fannotations.json\"}],\n    \"dataset.val_data_sources\": {\"image_dir\": f\"{S3_EVAL}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_EVAL}\u002Fannotations.json\"},\n}\n```\n\n**resume train (mandatory checkpoint):**\n```python\n{\n    \"train.num_epochs\": 11,\n    \"train.resume_training_checkpoint_path\": CHECKPOINT,\n    \"dataset.num_classes\": \"\u003Cnum_classes> + 1\",\n    \"dataset.eval_class_ids\": [1, 2, 3, 4],\n    \"dataset.train_data_sources\": [{\"image_dir\": f\"{S3_TRAIN}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_TRAIN}\u002Fannotations.json\"}],\n    \"dataset.val_data_sources\": {\"image_dir\": f\"{S3_EVAL}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_EVAL}\u002Fannotations.json\"},\n}\n```\n\n**evaluate (mandatory data sources and checkpoint):**\n```python\n{\n    \"dataset.num_classes\": \"\u003Cnum_classes> + 1\",\n    \"dataset.eval_class_ids\": [1, 2, 3, 4],\n    \"dataset.test_data_sources\": {\"image_dir\": f\"{S3_EVAL}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_EVAL}\u002Fannotations.json\"},\n    \"evaluate.checkpoint\": CHECKPOINT,\n}\n```\n\n**export (mandatory checkpoint and output):**\n```python\n{\n    \"dataset.num_classes\": \"\u003Cnum_classes> + 1\",\n    \"export.checkpoint\": CHECKPOINT,\n    \"export.onnx_file\": ONNX_FILE,\n    \"export.input_height\": 640,\n    \"export.input_width\": 640,\n}\n```\n\n**quantize (mandatory data sources):**\n```python\n{\n    \"dataset.num_classes\": \"\u003Cnum_classes> + 1\",\n    \"quantize.layers\": [\n        {\n            \"module_name\": \"*\",\n            \"weights\": {\n                \"dtype\": \"float8_e4m3fn\"\n            },\n            \"activations\": {\n                \"dtype\": \"float8_e4m3fn\"\n            }\n        }\n    ],\n    \"dataset.train_data_sources\": [{\"image_dir\": f\"{S3_TRAIN}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_TRAIN}\u002Fannotations.json\"}],\n    \"dataset.val_data_sources\": {\"image_dir\": f\"{S3_EVAL}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_EVAL}\u002Fannotations.json\"},\n    \"dataset.quant_calibration_data_sources\": {\"image_dir\": f\"{S3_TRAIN}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_TRAIN}\u002Fannotations.json\"},\n    \"quantize.model_path\": CHECKPOINT,\n}\n```\n\n**inference (mandatory data sources and checkpoint):**\n```python\n{\n    \"dataset.num_classes\": \"\u003Cnum_classes> + 1\",\n    \"dataset.infer_data_sources\": {\"image_dir\": [f\"{S3_EVAL}\u002Fimages.tar.gz\"], \"classmap\": f\"{S3_EVAL}\u002Flabel_map.txt\"},\n    \"inference.checkpoint\": CHECKPOINT,\n}\n```\n\n**distill (mandatory data sources and teacher checkpoint):**\n```python\n{\n    \"dataset.train_data_sources\": [{\"image_dir\": f\"{S3_TRAIN}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_TRAIN}\u002Fannotations.json\"}],\n    \"dataset.val_data_sources\": {\"image_dir\": f\"{S3_EVAL}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_EVAL}\u002Fannotations.json\"},\n    \"distill.pretrained_teacher_model_path\": CHECKPOINT,\n}\n```\n## Eval Dataset\n\nOptional. Provides validation mAP at each checkpoint if supplied.\n\n## Important Parameters\n\n- **dataset.num_classes**: Number of classes. Default 80 (MSCOCO 80-class). Must match your dataset annotations.\n- **model.backbone**: Default resnet_50. Supported: ResNet variants, ConvNeXt, FAN, EfficientViT. RT-DETR is optimized for real-time with lighter backbones.\n- **train.optim.lr**: Learning rate. Default 1e-4 (lower than DINO's 2e-4). lr_backbone defaults to 1e-5.\n- **dataset.augmentation.train_spatial_size**: Training input size. Default [640, 640]. Smaller than DINO's multi-scale (up to 1333). Key to RT-DETR's speed.\n- **model.num_feature_levels**: Default 3 (vs DINO's 4). return_interm_indices is [1,2,3].\n- **train.enable_ema**: Exponential moving average. Default False. Enable for potentially smoother convergence.\n- **dataset.remap_mscoco_category**: Default False. Set True only for original MSCOCO dataset with 91-to-80 category ID remapping.\n\n## Multi-GPU \u002F Multi-Node\n\n**Launch method:** `torchrun` (LIGHTNING_EXCLUDED_NETWORK). The entrypoint runs `torchrun --nnodes=N --nproc-per-node=M train.py`, NOT plain `python`.\n\n| Spec Key | Description | Default |\n|----------|-------------|---------|\n| `train.num_gpus` | Number of GPUs per node | 1 |\n| `train.gpu_ids` | GPU device indices | [0] |\n| `train.num_nodes` | Number of nodes | 1 |\n| `train.distributed_strategy` | `ddp` or `fsdp` | `ddp` |\n\n- When increasing `train.num_gpus`, also set `train.gpu_ids` to the same\n  visible device range. For example, an 8-GPU single-node Slurm run must\n  include both `\"train.num_gpus\": 8` and\n  `\"train.gpu_ids\": [0, 1, 2, 3, 4, 5, 6, 7]`.\n- `CUDA_VISIBLE_DEVICES` is explicitly set (unlike Lightning-managed models which use `TAO_VISIBLE_DEVICES`)\n- `ddp` with activation checkpointing: `find_unused_parameters=False`\n- `ddp` without: `find_unused_parameters=True`\n- `fsdp` supported, forces FP16\n\n**Multi-node env vars** (set by orchestrator):\n\n| Variable | Purpose |\n|----------|---------|\n| `WORLD_SIZE` | Number of nodes (triggers multinode mode) |\n| `NODE_RANK` | This node's rank (0-indexed) |\n| `MASTER_ADDR` | Rank-0 node IP |\n| `MASTER_PORT` | Rank-0 port (default 29500) |\n| `NUM_GPU_PER_NODE` | GPUs per node (default: all visible) |\n\n**CRITICAL:** `NODE_RANK` is copied to `RANK` if `RANK` is unset. This is required for torchrun multinode.\n\n## Export \u002F TRT Defaults\n\n- Export input: 640x640, opset 17\n- TRT data types: FP32, FP16, INT8\n- TRT workspace: 1024 MB\n- TRT max_batch_size: 4\n\n## Distillation\n\nRT-DETR supports knowledge distillation with a teacher model. Requires `distill` action with `distill.pretrained_teacher_model_path` and a distillation binding configuration.\n\nUse the packaged `references\u002Fspec_template_distill.yaml` as the starting point. The validated default binding uses the RT-DETR distiller's explicit IOU feature path:\n\n```yaml\ndistill:\n  bindings:\n  - student_module_name: srcs\n    teacher_module_name: srcs\n    criterion: IOU\n    weight: 1.0\n```\n\nDo not substitute DINO-style output names such as `pred_logits` \u002F `pred_boxes`, and do not bind arbitrary decoder heads unless you have verified the module returns captured feature lists. The RT-DETR distiller asserts that IOU bindings must use `srcs` or `dsrcs`.\n\n## Hardware\n\nMinimum 1 GPU(s), recommended 2 GPU(s). 16GB+ (V100 or A100) VRAM per GPU. RT-DETR is more memory-efficient than DINO\u002FGDINO due to smaller input size (640x640) and fewer feature levels. Trains well on single GPU for small-medium datasets.\n\n## Error Patterns\n\n**CUDA out of memory**: Reduce batch_size. RT-DETR at 640x640 is lighter than DINO at 1333px, but batch_size > 8 may still OOM on 16GB GPUs.\n\n**num_classes mismatch**: RT-DETR defaults to 80 (not 91 like DINO). Ensure dataset.num_classes matches your annotation categories.\n\n**CUDA index assert from category IDs**: If COCO category IDs are one-based or otherwise not remapped to zero-based contiguous IDs, set `dataset.num_classes` to `max(category_id) + 1` and keep `dataset.eval_class_ids` aligned to the actual category IDs. For the packaged four-class S3 sample with IDs 1-4, use `dataset.num_classes: 5` and `dataset.eval_class_ids: [1, 2, 3, 4]`.\n\n**return_interm_indices vs num_feature_levels**: Default is [1,2,3] with num_feature_levels=3. Must be consistent if changed.\n\n**Export shape mismatch**: Keep RT-DETR export and deploy consumer input size at\nthe validated `640x640` default unless the model has been trained and checked\nfor a different shape. The older packaged `960x544` template shape can fail\nduring ONNX tracing with `The size of tensor a (...) must match the size of\ntensor b (...)` in `hybrid_encoder.py` positional embedding addition.\n\n**AutoML metric extraction**: RT-DETR emits detection metrics in structured training status and logs. For COCO\u002Fpaper-style benchmark comparisons, optimize `val_mAP` with `direction: maximize`; for explicit AP50 workflows, optimize `mAP50`. Prefer `results_dir\u002Ftrain\u002Fstatus.json` or AutoML result state before parsing raw logs. Do not optimize `val_loss` for default detection model invocations.\n\n**Checkpoint handoff**: For evaluate\u002Fexport\u002Finference\u002Fquantize\u002Fdistill\u002Fresume, use the checkpoint resolver on the best AutoML child job's `results_dir\u002Ftrain\u002F` folder and select the action-appropriate `model_epoch_*.pth` checkpoint. RT-DETR may also write a latest symlink, but that should only be used when a caller explicitly requests latest. Keep `dataset.num_classes`, `dataset.eval_class_ids`, `model.num_queries`, and `model.num_select` consistent with training.\n\n**Parent `rtdetr gen_trt_engine` rejected by the PyT CLI**: In the validated 7.0.0 PyT container, `rtdetr gen_trt_engine` is not a valid parent-model subtask. Use the RT-DETR deploy workflow (`references\u002Ftao-deploy-rtdetr.md`) for TensorRT engine generation, TensorRT evaluation, and TensorRT inference.\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 `rtdetr.config.json`:\n\n| Action | Spec Field | Inference Function | Meaning |\n|---|---|---|---|\n| distill | `distill.pretrained_teacher_model_path` | `parent_model` | model file inferred from the parent job results folder |\n| distill | `encryption_key` | `key` | encryption key |\n| distill | `results_dir` | `output_dir` | current job results directory |\n| evaluate | `encryption_key` | `key` | encryption key |\n| evaluate | `evaluate.checkpoint` | `parent_model` | model file inferred from the parent job results folder |\n| evaluate | `evaluate.trt_engine` | `parent_model` | model file inferred from the parent job results folder |\n| evaluate | `results_dir` | `output_dir` | current job results directory |\n| export | `encryption_key` | `key` | encryption key |\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 | `encryption_key` | `key` | encryption key |\n| inference | `inference.checkpoint` | `parent_model` | model file inferred from the parent job results folder |\n| inference | `inference.trt_engine` | `parent_model` | model file inferred from the parent job results folder |\n| inference | `results_dir` | `output_dir` | current job results directory |\n| quantize | `encryption_key` | `key` | encryption key |\n| quantize | `quantize.model_path` | `parent_model` | model file inferred from the parent job results folder |\n| quantize | `results_dir` | `output_dir` | current job results directory |\n| train | `encryption_key` | `key` | encryption key |\n| train | `model.pretrained_backbone_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.pretrained_model_path` | `ptm_if_no_resume_model` | PTM when no resume checkpoint exists |\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-rtdetr](references\u002Ftao-deploy-rtdetr.md)\n","# RT-DETR\n\nRT-DETR (Real-Time DEtection TRansformer) for 2D object detection. Designed for real-time inference with competitive accuracy. Supports distillation and quantization for deployment optimization.\n\nSet model.pretrained_backbone_path for backbone weights or train.pretrained_model_path for full model.\n\nFor TAO Deploy TensorRT actions (`gen_trt_engine`, TensorRT `evaluate`, and TensorRT `inference`), read `references\u002Ftao-deploy-rtdetr.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## Supported Actions\n\nThe packaged RT-DETR PyT CLI supports `train`, `distill`, `quantize`, `evaluate`, `export`, `inference`, and `default_specs`. This model skill exposes `train`, `distill`, `quantize`, `evaluate`, `export`, and `inference`; resume\u002Fretrain is performed through `train` with `train.resume_training_checkpoint_path`.\n\nThe parent PyT CLI does not expose `gen_trt_engine`. Use `models\u002Frtdetr\u002Fdeploy` for TensorRT engine generation, TensorRT evaluation, and TensorRT inference.\n\n## Training Requirements\n\n- **Dataset type:** object_detection\n- **Formats:** coco, coco_raw\n- **Monitoring metric:** mAP50 for quick operational checks; `val_mAP` for COCO\u002Fpaper-style benchmark comparisons.\n\n### Per-Action Dataset Requirements\n\n| Action | Spec Key | Source | Files | List? |\n|---|---|---|---|---|\n| distill | dataset.train_data_sources | train_datasets | image_dir: images.tar.gz, json_file: annotations.json | Yes |\n| distill | dataset.val_data_sources | eval_dataset | image_dir: images.tar.gz, json_file: annotations.json | No |\n| evaluate | dataset.test_data_sources | eval_dataset | image_dir: images.tar.gz, json_file: annotations.json | No |\n| inference | dataset.infer_data_sources | inference_dataset | image_dir: images.tar.gz, classmap: label_map.txt | Yes |\n| quantize | dataset.train_data_sources | train_datasets | image_dir: images.tar.gz, json_file: annotations.json | Yes |\n| quantize | dataset.val_data_sources | eval_dataset | image_dir: images.tar.gz, json_file: annotations.json | No |\n| quantize | dataset.quant_calibration_data_sources | train_datasets | image_dir: images.tar.gz, json_file: annotations.json | No |\n| train | dataset.train_data_sources | train_datasets | image_dir: images.tar.gz, json_file: annotations.json | Yes |\n| train | dataset.val_data_sources | eval_dataset | image_dir: images.tar.gz, json_file: annotations.json | 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\"\nS3_EVAL = \"s3:\u002F\u002Fbucket\u002Fdata\u002Feval\"\nCHECKPOINT = \"\u002Fresults\u002F{train_job_id}\u002Fresults_dir\u002Fmodel_epoch_000.pth\"\nONNX_FILE = \"\u002Fresults\u002F{export_job_id}\u002Fresults_dir\u002Frtdetr.onnx\"\n```\n\n**train (mandatory data sources):**\n```python\n{\n    \"train.num_epochs\": 10,\n    \"train.checkpoint_interval\": 10,\n    \"train.validation_interval\": 10,\n    \"train.num_gpus\": 1,\n    \"train.gpu_ids\": [0],\n    \"dataset.num_classes\": \"\u003Cnum_classes> + 1\",\n    \"dataset.train_data_sources\": [{\"image_dir\": f\"{S3_TRAIN}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_TRAIN}\u002Fannotations.json\"}],\n    \"dataset.val_data_sources\": {\"image_dir\": f\"{S3_EVAL}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_EVAL}\u002Fannotations.json\"},\n}\n```\n\n**resume train (mandatory checkpoint):**\n```python\n{\n    \"train.num_epochs\": 11,\n    \"train.resume_training_checkpoint_path\": CHECKPOINT,\n    \"dataset.num_classes\": \"\u003Cnum_classes> + 1\",\n    \"dataset.eval_class_ids\": [1, 2, 3, 4],\n    \"dataset.train_data_sources\": [{\"image_dir\": f\"{S3_TRAIN}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_TRAIN}\u002Fannotations.json\"}],\n    \"dataset.val_data_sources\": {\"image_dir\": f\"{S3_EVAL}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_EVAL}\u002Fannotations.json\"},\n}\n```\n\n**evaluate (mandatory data sources and checkpoint):**\n```python\n{\n    \"dataset.num_classes\": \"\u003Cnum_classes> + 1\",\n    \"dataset.eval_class_ids\": [1, 2, 3, 4],\n    \"dataset.test_data_sources\": {\"image_dir\": f\"{S3_EVAL}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_EVAL}\u002Fannotations.json\"},\n    \"evaluate.checkpoint\": CHECKPOINT,\n}\n```\n\n**export (mandatory checkpoint and output):**\n```python\n{\n    \"dataset.num_classes\": \"\u003Cnum_classes> + 1\",\n    \"export.checkpoint\": CHECKPOINT,\n    \"export.onnx_file\": ONNX_FILE,\n    \"export.input_height\": 640,\n    \"export.input_width\": 640,\n}\n```\n\n**quantize (mandatory data sources):**\n```python\n{\n    \"dataset.num_classes\": \"\u003Cnum_classes> + 1\",\n    \"quantize.layers\": [\n        {\n            \"module_name\": \"*\",\n            \"weights\": {\n                \"dtype\": \"float8_e4m3fn\"\n            },\n            \"activations\": {\n                \"dtype\": \"float8_e4m3fn\"\n            }\n        }\n    ],\n    \"dataset.train_data_sources\": [{\"image_dir\": f\"{S3_TRAIN}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_TRAIN}\u002Fannotations.json\"}],\n    \"dataset.val_data_sources\": {\"image_dir\": f\"{S3_EVAL}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_EVAL}\u002Fannotations.json\"},\n    \"dataset.quant_calibration_data_sources\": {\"image_dir\": f\"{S3_TRAIN}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_TRAIN}\u002Fannotations.json\"},\n    \"quantize.model_path\": CHECKPOINT,\n}\n```\n\n**inference (mandatory data sources and checkpoint):**\n```python\n{\n    \"dataset.num_classes\": \"\u003Cnum_classes> + 1\",\n    \"dataset.infer_data_sources\": {\"image_dir\": [f\"{S3_EVAL}\u002Fimages.tar.gz\"], \"classmap\": f\"{S3_EVAL}\u002Flabel_map.txt\"},\n    \"inference.checkpoint\": CHECKPOINT,\n}\n```\n\n**distill (mandatory data sources and teacher checkpoint):**\n```python\n{\n    \"dataset.train_data_sources\": [{\"image_dir\": f\"{S3_TRAIN}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_TRAIN}\u002Fannotations.json\"}],\n    \"dataset.val_data_sources\": {\"image_dir\": f\"{S3_EVAL}\u002Fimages.tar.gz\", \"json_file\": f\"{S3_EVAL}\u002Fannotations.json\"},\n    \"distill.pretrained_teacher_model_path\": CHECKPOINT,\n}\n```\n## Eval Dataset\n\nOptional. Provides validation mAP at each checkpoint if supplied.\n\n## Important Parameters\n\n- **dataset.num_classes**: Number of classes. Default 80 (MSCOCO 80-class). Must match your dataset annotations.\n- **model.backbone**: Default resnet_50. Supported: ResNet variants, ConvNeXt, FAN, EfficientViT. RT-DETR is optimized for real-time with lighter backbones.\n- **train.optim.lr**: Learning rate. Default 1e-4 (lower than DINO's 2e-4). lr_backbone defaults to 1e-5.\n- **dataset.augmentation.train_spatial_size**: Training input size. Default [640, 640]. Smaller than DINO's multi-scale (up to 1333). Key to RT-DETR's speed.\n- **model.num_feature_levels**: Default 3 (vs DINO's 4). return_interm_indices is [1,2,3].\n- **train.enable_ema**: Exponential moving average. Default False. Enable for potentially smoother convergence.\n- **dataset.remap_mscoco_category**: Default False. Set True only for original MSCOCO dataset with 91-to-80 category ID remapping.\n\n## Multi-GPU \u002F Multi-Node\n\n**Launch method:** `torchrun` (LIGHTNING_EXCLUDED_NETWORK). The entrypoint runs `torchrun --nnodes=N --nproc-per-node=M train.py`, NOT plain `python`.\n\n| Spec Key | Description | Default |\n|----------|-------------|---------|\n| `train.num_gpus` | Number of GPUs per node | 1 |\n| `train.gpu_ids` | GPU device indices | [0] |\n| `train.num_nodes` | Number of nodes | 1 |\n| `train.distributed_strategy` | `ddp` or `fsdp` | `ddp` |\n\n- When increasing `train.num_gpus`, also set `train.gpu_ids` to the same\n  visible device range. For example, an 8-GPU single-node Slurm run must\n  include both `\"train.num_gpus\": 8` and\n  `\"train.gpu_ids\": [0, 1, 2, 3, 4, 5, 6, 7]`.\n- `CUDA_VISIBLE_DEVICES` is explicitly set (unlike Lightning-managed models which use `TAO_VISIBLE_DEVICES`)\n- `ddp` with activation checkpointing: `find_unused_parameters=False`\n- `ddp` without: `find_unused_parameters=True`\n- `fsdp` supported, forces FP16\n\n**Multi-node env vars** (set by orchestrator):\n\n| Variable | Purpose |\n|----------|---------|\n| `WORLD_SIZE` | Number of nodes (triggers multinode mode) |\n| `NODE_RANK` | This node's rank (0-indexed) |\n| `MASTER_ADDR` | Rank-0 node IP |\n| `MASTER_PORT` | Rank-0 port (default 29500) |\n| `NUM_GPU_PER_NODE` | GPUs per node (default: all visible) |\n\n**CRITICAL:** `NODE_RANK` is copied to `RANK` if `RANK` is unset. This is required for torchrun multinode.\n\n## Export \u002F TRT Defaults\n\n- Export input: 640x640, opset 17\n- TRT data types: FP32, FP16, INT8\n- TRT workspace: 1024 MB\n- TRT max_batch_size: 4\n\n## Distillation\n\nRT-DETR supports knowledge distillation with a teacher model. Requires `distill` action with `distill.pretrained_teacher_model_path` and a distillation binding configuration.\n\nUse the packaged `references\u002Fspec_template_distill.yaml` as the starting point. The validated default binding uses the RT-DETR distiller's explicit IOU feature path:\n\n```yaml\ndistill:\n  bindings:\n  - student_module_name: srcs\n    teacher_module_name: srcs\n    criterion: IOU\n    weight: 1.0\n```\n\nDo not substitute DINO-style output names such as `pred_logits` \u002F `pred_boxes`, and do not bind arbitrary decoder heads unless you have verified the module returns captured feature lists. The RT-DETR distiller asserts that IOU bindings must use `srcs` or `dsrcs`.\n\n## Hardware\n\nMinimum 1 GPU(s), recommended 2 GPU(s). 16GB+ (V100 or A100) VRAM per GPU. RT-DETR is more memory-efficient than DINO\u002FGDINO due to smaller input size (640x640) and fewer feature levels. Trains well on single GPU for small-medium datasets.\n\n## Error Patterns\n\n**CUDA out of memory**: Reduce batch_size. RT-DETR at 640x640 is lighter than DINO at 1333px, but batch_size > 8 may still OOM on 16GB GPUs.\n\n**num_classes mismatch**: RT-DETR defaults to 80 (not 91 like DINO). Ensure dataset.num_classes matches your annotation categories.\n\n**CUDA index assert from category IDs**: If COCO category IDs are one-based or otherwise not remapped to zero-based contiguous IDs, set `dataset.num_classes` to `max(category_id) + 1` and keep `dataset.eval_class_ids` aligned to the actual category IDs. For the packaged four-class S3 sample with IDs 1-4, use `dataset.num_classes: 5` and `dataset.eval_class_ids: [1, 2, 3, 4]`.\n\n**return_interm_indices vs num_feature_levels**: Default is [1,2,3] with num_feature_levels=3. Must be consistent if changed.\n\n**Export shape mismatch**: Keep RT-DETR export and deploy consumer input size at\nthe validated `640x640` default unless the model has been trained and checked\nfor a different shape. The older packaged `960x544` template shape can fail\nduring ONNX tracing with `The size of tensor a (...) must match the size of\ntensor b (...)` in `hybrid_encoder.py` positional embedding addition.\n\n**AutoML metric extraction**: RT-DETR emits detection metrics in structured training status and logs. For COCO\u002Fpaper-style benchmark comparisons, optimize `val_mAP` with `direction: maximize`; for explicit AP50 workflows, optimize `mAP50`. Prefer `results_dir\u002Ftrain\u002Fstatus.json` or AutoML result state before parsing raw logs. Do not optimize `val_loss` for default detection model invocations.\n\n**Checkpoint handoff**: For evaluate\u002Fexport\u002Finference\u002Fquantize\u002Fdistill\u002Fresume, use the checkpoint resolver on the best AutoML child job's `results_dir\u002Ftrain\u002F` folder and select the action-appropriate `model_epoch_*.pth` checkpoint. RT-DETR may also write a latest symlink, but that should only be used when a caller explicitly requests latest. Keep `dataset.num_classes`, `dataset.eval_class_ids`, `model.num_queries`, and `model.num_select` consistent with training.\n\n**Parent `rtdetr gen_trt_engine` rejected by the PyT CLI**: In the validated 7.0.0 PyT container, `rtdetr gen_trt_engine` is not a valid parent-model subtask. Use the RT-DETR deploy workflow (`references\u002Ftao-deploy-rtdetr.md`) for TensorRT engine generation, TensorRT evaluation, and TensorRT inference.\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 `rtdetr.config.json`:\n\n| Action | Spec Field | Inference Function | Meaning |\n|---|---|---|---|\n| distill | `distill.pretrained_teacher_model_path` | `parent_model` | model file inferred from the parent job results folder |\n| distill | `encryption_key` | `key` | encryption key |\n| distill | `results_dir` | `output_dir` | current job results directory |\n| evaluate | `encryption_key` | `key` | encryption key |\n| evaluate | `evaluate.checkpoint` | `parent_model` | model file inferred from the parent job results folder |\n| evaluate | `evaluate.trt_engine` | `parent_model` | model file inferred from the parent job results folder |\n| evaluate | `results_dir` | `output_dir` | current job results directory |\n| export | `encryption_key` | `key` | encryption key |\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 | `encryption_key` | `key` | encryption key |\n| inference | `inference.checkpoint` | `parent_model` | model file inferred from the parent job results folder |\n| inference | `inference.trt_engine` | `parent_model` | model file inferred from the parent job results folder |\n| inference | `results_dir` | `output_dir` | current job results directory |\n| quantize | `encryption_key` | `key` | encryption key |\n| quantize | `quantize.model_path` | `parent_model` | model file inferred from the parent job results folder |\n| quantize | `results_dir` | `output_dir` | current job results directory |\n| train | `encryption_key` | `key` | encryption key |\n| train | `model.pretrained_backbone_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.pretrained_model_path` | `ptm_if_no_resume_model` | PTM when no resume checkpoint exists |\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-rtdetr](references\u002Ftao-deploy-rtdetr.md)\n",{"name":5,"tags":24,"license":15,"metadata":27,"description":7,"allowed-tools":30,"compatibility":31},[25,26],"object","detection",{"author":28,"version":29},"NVIDIA Corporation","0.1.0","Read Bash","Requires docker + nvidia-container-toolkit.","main","86cc27ffd16af6cb85948f1155578e6f3f61cc4c","skillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn","https:\u002F\u002Fgithub.com\u002FSolizardking","https:\u002F\u002Fmusebook.trade","Got a mile high and never came down","2026-10-08 11:52:53",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add Solizardking\u002Ftrain2earn --skill tao-train-rtdetr",{"tool":46,"command":47},"bunx","bunx skills add Solizardking\u002Ftrain2earn --skill tao-train-rtdetr",{"tool":49,"command":50},"pnpm","pnpm dlx skills add Solizardking\u002Ftrain2earn --skill tao-train-rtdetr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002FSKILL.md",true,[54,60,64,68,72,76,80,84,88,92,96,100,103,107,111,115,119,123,127,131,135,139,143],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"BENCHMARK.md","REFERENCE","参考文档",4050,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002FBENCHMARK.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"evals\u002Fevals.json",794,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Fevals\u002Fevals.json",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fskill_info.yaml",7187,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Freferences\u002Fskill_info.yaml",{"path":69,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fspec_template_deploy_evaluate.yaml",508,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Freferences\u002Fspec_template_deploy_evaluate.yaml",{"path":73,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fspec_template_deploy_gen_trt_engine.yaml",665,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Freferences\u002Fspec_template_deploy_gen_trt_engine.yaml",{"path":77,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fspec_template_deploy_inference.yaml",562,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Freferences\u002Fspec_template_deploy_inference.yaml",{"path":81,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fspec_template_distill.yaml",4212,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Freferences\u002Fspec_template_distill.yaml",{"path":85,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fspec_template_evaluate.yaml",3136,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Freferences\u002Fspec_template_evaluate.yaml",{"path":89,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fspec_template_export.yaml",3233,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Freferences\u002Fspec_template_export.yaml",{"path":93,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fspec_template_inference.yaml",3216,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Freferences\u002Fspec_template_inference.yaml",{"path":97,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fspec_template_quantize.yaml",2966,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Freferences\u002Fspec_template_quantize.yaml",{"path":101,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":98,"sourceHtmlUrl":102},"references\u002Fspec_template_train.yaml","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Freferences\u002Fspec_template_train.yaml",{"path":104,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Ftao-deploy-rtdetr.md",6081,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Freferences\u002Ftao-deploy-rtdetr.md",{"path":108,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Ftao-deploy-rtdetr.skill_info.yaml",3322,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Freferences\u002Ftao-deploy-rtdetr.skill_info.yaml",{"path":112,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":113,"sourceHtmlUrl":114},"schemas\u002Fdistill.schema.json",51766,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Fschemas\u002Fdistill.schema.json",{"path":116,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":117,"sourceHtmlUrl":118},"schemas\u002Fevaluate.schema.json",55417,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Fschemas\u002Fevaluate.schema.json",{"path":120,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":121,"sourceHtmlUrl":122},"schemas\u002Fexport.schema.json",55982,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Fschemas\u002Fexport.schema.json",{"path":124,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":125,"sourceHtmlUrl":126},"schemas\u002Finference.schema.json",56357,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Fschemas\u002Finference.schema.json",{"path":128,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":129,"sourceHtmlUrl":130},"schemas\u002Fmanifest.json",18352,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Fschemas\u002Fmanifest.json",{"path":132,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":133,"sourceHtmlUrl":134},"schemas\u002Fquantize.schema.json",51768,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Fschemas\u002Fquantize.schema.json",{"path":136,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":137,"sourceHtmlUrl":138},"schemas\u002Ftrain.schema.json",51762,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Fschemas\u002Ftrain.schema.json",{"path":140,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":141,"sourceHtmlUrl":142},"skill-card.md",4213,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Fskill-card.md",{"path":144,"resourceType":145,"resourceTypeDesc":146,"sizeBytes":147,"sourceHtmlUrl":148},"skill.oms.sig","OTHER","其他",9333,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Ftao-train-rtdetr\u002Fskill.oms.sig",[150,158,166,174,181,189],{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":154,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":19},"01M78B94RSCAKMH1QS79VE6DG9","testing","For testing with Light Protocol programs and clients on localnet, devnet, and mainnet validation.","MIT","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Ftesting\u002FSKILL.md",[],[],{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":154,"licenseFileUrl":162,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":19},"01M78B81BKY8RX12HETPG8YKWK","qedgen","Formally verify programs by writing Lean 4 proofs. Trigger this skill whenever the user wants to formally verify code, generate Lean 4 proofs, prove properties about algorithms or smart contracts, verify invariants, convert program logic into formal specifications, or anything involving Lean 4 and formal verification. Also trigger when the user mentions \"qedgen\", \"lean proof\", \"formal proof\", \"verify my code\", \"prove correctness\", \"formal verification\", or wants mathematical guarantees about their implementation.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fsolana-formal-verification\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fsolana-formal-verification\u002FSKILL.md",[],[],{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":154,"licenseFileUrl":170,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":19},"01M78B7Q7C5K54E01DN83A60KG","solana-dev","Use when user asks to \"build a Solana dapp\", \"write an Anchor program\", \"create a token\", \"debug Solana errors\", \"set up wallet connection\", \"test my Solana program\", \"deploy to devnet\", or \"explain Solana concepts\" (rent, accounts, PDAs, CPIs, etc.). Also use for quick on-chain lookups via public RPC + curl — \"what's the balance of \u003Cwallet>\", \"look up transaction \u003Csig>\", \"token balance for \u003Caccount>\", \"check this address on mainnet\u002Fdevnet\". End-to-end Solana development playbook covering wallet connection, Anchor\u002FPinocchio programs, Codama client generation, LiteSVM\u002FMollusk\u002FSurfpool testing, security checklists, and JSON-RPC curl lookups against public clusters. Integrates with the Solana MCP server for live documentation search. Prefers framework-kit (@solana\u002Fclient + @solana\u002Freact-hooks) for UI, wallet-standard-first connection (incl. ConnectorKit), @solana\u002Fkit for client\u002FRPC code, and @solana\u002Fweb3-compat for legacy boundaries.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fsolana-dev\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fsolana-dev\u002FSKILL.md",[],[],{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":154,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":19},"01M78B7HXD6N6GWKSVRQ8F6Q31","solana-common-errors","Diagnose and fix common Solana development errors — GLIBC mismatches, Anchor version conflicts, cargo build-sbf \u002F platform-tools failures, LiteSVM issues, edition2024 crate pins, RPC airdrops, and Anchor 0.29→0.32 migrations. Use when builds fail, Anchor CLI won't install, or CI breaks on Debian\u002FUbuntu.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fsolana-common-errors\u002FSKILL.md",[],[],{"skillNo":182,"name":183,"nameZh":6,"description":184,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":185,"sourceHtmlUrl":186,"categories":187,"keywords":188,"publishedAt":19},"01M78B6T7YSYWQ0N4DP40QDXEZ","skill-creator","Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fskill-creator\u002Flicense.txt","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":190,"name":191,"nameZh":6,"description":192,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":154,"licenseFileUrl":6,"sourceHtmlUrl":193,"categories":194,"keywords":195,"publishedAt":19},"01M78B1VFT9X5AND7AE1HZPZGF","phantom-wallet-mcp","Execute wallet operations through the Phantom MCP server. Use when the user wants to interact with their Phantom wallet directly — get addresses, transfer SOL or SPL tokens, buy\u002Fswap tokens, sign transactions, and sign messages across Solana, Ethereum, Bitcoin, and Sui. Requires the @phantom\u002Fmcp-server to be configured as an MCP server.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fphantom-wallet-mcp\u002FSKILL.md",[],[]]