[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M788G3RJDHXC6MKYTJCMEFVR":3,"skill-same:01M788G3RJDHXC6MKYTJCMEFVR":96},{"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},"01M788G3RJDHXC6MKYTJCMEFVR","tao-train-pose-classification",null,"Pose classification using ST-GCN (Spatial Temporal Graph Convolutional Network). Classifies skeleton sequences into action categories from pose-keypoint data. Use when training, evaluating, exporting, or running inference for a TAO pose-classification model. Trigger phrases include \"train pose classification\", \"skeleton action recognition\", \"ST-GCN\", \"keypoint sequence classifier\".","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\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-pose-classification\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tao-train-pose-classification\ndescription: Pose classification using ST-GCN (Spatial Temporal Graph Convolutional Network). Classifies skeleton sequences\n  into action categories from pose-keypoint data. Use when training, evaluating, exporting, or running inference for a TAO\n  pose-classification model. Trigger phrases include \"train pose classification\", \"skeleton action recognition\", \"ST-GCN\",\n  \"keypoint sequence classifier\".\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- pose\n- classification\n---\n\n# Pose Classification\n\nPose classification using ST-GCN (Spatial Temporal Graph Convolutional Network). Classifies skeleton sequences into action categories from pose keypoint data.\n\nTypically trained from scratch on skeleton data.\n\nThe packaged PyTorch Pose Classification CLI supports `dataset_convert`, `train`, `evaluate`, `export`, and `inference`. `dataset_convert` is conditional: run it only when the input is raw DeepStream BodyPose JSON. If the dataset is already converted to TAO-ready `.npy` \u002F `.pkl` files, start directly with `train` on those files and mark dataset conversion as `not run: preconverted dataset provided` in validation reports. This model does not expose deploy, prune, quantize, or standalone retrain actions. Resume\u002Fretrain behavior uses `pose_classification train -e ...` with `train.resume_training_checkpoint_path` populated.\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:** pose_classification\n- **Formats:** default\n- **Monitoring metric:** val_loss\n\n### Per-Action Dataset Requirements\n\n| Action | Spec Key | Source | Files | List? |\n|---|---|---|---|---|\n| dataset_convert (optional) | dataset_convert.data | id | DeepStream BodyPose JSON | No |\n| evaluate | evaluate.test_dataset.data_path | train_datasets | val_data.npy | No |\n| evaluate | evaluate.test_dataset.label_path | train_datasets | val_label.pkl | No |\n| inference | inference.test_dataset.data_path | train_datasets | test_data.npy | No |\n| train | dataset.train_dataset.data_path | train_datasets | train_data.npy | No |\n| train | dataset.train_dataset.label_path | train_datasets | train_label.pkl | No |\n| train | dataset.val_dataset.data_path | train_datasets | val_data.npy | No |\n| train | dataset.val_dataset.label_path | train_datasets | val_label.pkl | No |\n\n### Typical Spec Overrides\n\nData source overrides are **mandatory for every action being run** — the agent MUST construct data source paths from the Per-Action Dataset Requirements table above and include them in `spec_overrides`. Do not run `dataset_convert` when the supplied dataset is already converted to `.npy` \u002F `.pkl` files.\n\n```python\nS3_TRAIN = \"s3:\u002F\u002Fbucket\u002Fdata\u002Fpurpose_built_models_pose_classification_train\u002Fnvidia\"\nCHECKPOINT = \"\u002Fresults\u002F{train_job_id}\u002Fresults_dir\u002Fmodel_epoch_000_step_00007.pth\"\n```\n\n**dataset_convert (optional; raw DeepStream BodyPose JSON only):**\n```python\n{\n    \"dataset_convert.data\": \"s3:\u002F\u002Fbucket\u002Fdata\u002F\u003Cdeepstream-bodypose-output>.json\",\n}\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    \"wandb.enable\": False,\n    \"dataset.num_classes\": 6,\n    \"dataset.label_map\": {\n        \"class_0\": 0,\n        \"class_1\": 1,\n        \"class_2\": 2,\n        \"class_3\": 3,\n        \"class_4\": 4,\n        \"class_5\": 5,\n    },\n    \"model.graph_layout\": \"nvidia\",\n    \"dataset.train_dataset.data_path\": f\"{S3_TRAIN}\u002Ftrain_data.npy\",\n    \"dataset.train_dataset.label_path\": f\"{S3_TRAIN}\u002Ftrain_label.pkl\",\n    \"dataset.val_dataset.data_path\": f\"{S3_TRAIN}\u002Fval_data.npy\",\n    \"dataset.val_dataset.label_path\": f\"{S3_TRAIN}\u002Fval_label.pkl\",\n}\n```\n\n**resume train (mandatory checkpoint):**\n```python\n{\n    \"train.num_epochs\": 31,\n    \"train.resume_training_checkpoint_path\": CHECKPOINT,\n    \"dataset.train_dataset.data_path\": f\"{S3_TRAIN}\u002Ftrain_data.npy\",\n    \"dataset.train_dataset.label_path\": f\"{S3_TRAIN}\u002Ftrain_label.pkl\",\n    \"dataset.val_dataset.data_path\": f\"{S3_TRAIN}\u002Fval_data.npy\",\n    \"dataset.val_dataset.label_path\": f\"{S3_TRAIN}\u002Fval_label.pkl\",\n}\n```\n\n**evaluate (mandatory data sources):**\n```python\n{\n    \"evaluate.test_dataset.data_path\": f\"{S3_TRAIN}\u002Fval_data.npy\",\n    \"evaluate.test_dataset.label_path\": f\"{S3_TRAIN}\u002Fval_label.pkl\",\n    \"evaluate.checkpoint\": CHECKPOINT,\n}\n```\n\n**export (mandatory checkpoint and output):**\n```python\n{\n    \"export.checkpoint\": CHECKPOINT,\n    \"export.onnx_file\": \"\u002Fresults\u002F{export_job_id}\u002Fresults_dir\u002Fpose_classification.onnx\",\n}\n```\n\n**inference (mandatory data sources):**\n```python\n{\n    \"inference.test_dataset.data_path\": f\"{S3_TRAIN}\u002Ftest_data.npy\",\n    \"inference.test_dataset.label_path\": f\"{S3_TRAIN}\u002Ftest_label.pkl\",\n    \"inference.checkpoint\": CHECKPOINT,\n    \"inference.output_file\": \"\u002Fresults\u002Fpose_classification_inference.txt\",\n}\n```\n## Dataset Convert\n\nDataset conversion is optional for Pose Classification. Run `pose_classification dataset_convert` only when the user supplies raw DeepStream BodyPose JSON. For the common S3 validation dataset, the data is already converted to `train_data.npy`, `train_label.pkl`, `val_data.npy`, `val_label.pkl`, `test_data.npy`, and `test_label.pkl`; use those files directly for train\u002Fevaluate\u002Finference\u002Fexport flows and do not synthesize fake BodyPose JSON.\n\n## Eval Dataset\n\nOptional. Validation data is provided alongside training as val_data.npy \u002F val_label.pkl. TAO training emits `val_loss` as the TensorBoard validation scalar for this model; use `val_loss` with minimize direction for AutoML selection unless a custom evaluation hook supplies a different metric.\n\n## Important Parameters\n\n- **dataset.num_classes**: Number of pose action classes. Default 6.\n- **model.graph_layout**: Skeleton graph layout. Options: nvidia, openpose. Determines joint connectivity.\n- **model.graph_strategy**: Graph partitioning strategy for GCN.\n- **train.optim.lr**: Learning rate. Default 0.1 (SGD). Higher than vision models due to graph convolution properties.\n- **model.dropout**: Dropout rate for regularization.\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 only\n- Lightweight model, single GPU typically sufficient\n\n## Hardware\n\nMinimum 1 GPU(s), recommended 1 GPU(s). 8GB+ VRAM per GPU. Pose classification is very lightweight — skeleton data is small. Single GPU is sufficient.\n\n## Error Patterns\n\n**Graph layout mismatch**: Ensure model.graph_layout matches the skeleton format in your .npy data files.\n\n**Label shape mismatch**: train_label.pkl class indices must be in range [0, num_classes).\n\n**Missing label map**: The training dataloader expects `dataset.label_map` to be a dictionary. If the dataset only supplies numeric class IDs, set a synthetic contiguous map such as `class_0: 0` through `class_5: 5` for the six-class NVIDIA sample data.\n\n**Checkpoint handoff**: After AutoML\u002Ftrain, use the checkpoint resolver to select the intended saved `.pth` checkpoint under the parent result folder, such as `model_epoch_000_step_00007.pth`, and pass that exact file as `evaluate.checkpoint`, `export.checkpoint`, `inference.checkpoint`, or `train.resume_training_checkpoint_path`. `pc_model_latest.pth` is a latest-checkpoint symlink; use it only when the user explicitly asks for latest rather than a specific\u002Fbest checkpoint. Keep the same `dataset.num_classes`, `dataset.label_map`, and `model.graph_layout` overrides for downstream actions.\n\n**Dataset conversion source**: `dataset_convert` expects the raw JSON output from the DeepStream BodyPose app. The common NVIDIA sample S3 folder is already converted to `train_data.npy`, `train_label.pkl`, `val_data.npy`, `val_label.pkl`, `test_data.npy`, and `test_label.pkl`; skip conversion and start from the converted files when those are present.\n\n**Action-specific dataset paths**: The evaluate and inference templates also contain the training `dataset.train_dataset` and `dataset.val_dataset` blocks. For evaluate, populate `evaluate.test_dataset.data_path` and `evaluate.test_dataset.label_path`. For inference, populate `inference.test_dataset.data_path` and set `inference.output_file`; do not stop after replacing the first `data_path` or `label_path` in the file.\n\n**Output files**: Export needs an explicit `export.onnx_file` path. Inference must set `inference.output_file` to a writable file path; the packaged template default is an empty string, and the current PyTorch inference code opens that value directly.\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 `pose_classification.config.json`:\n\n| Action | Spec Field | Inference Function | Meaning |\n|---|---|---|---|\n| dataset_convert | `dataset_convert.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 | `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.output_file` | `create_inference_result_file_pose` | pose inference result file |\n| inference | `results_dir` | `output_dir` | current job results directory |\n| train | `encryption_key` | `key` | encryption key |\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","# Pose Classification\n\nPose classification using ST-GCN (Spatial Temporal Graph Convolutional Network). Classifies skeleton sequences into action categories from pose keypoint data.\n\nTypically trained from scratch on skeleton data.\n\nThe packaged PyTorch Pose Classification CLI supports `dataset_convert`, `train`, `evaluate`, `export`, and `inference`. `dataset_convert` is conditional: run it only when the input is raw DeepStream BodyPose JSON. If the dataset is already converted to TAO-ready `.npy` \u002F `.pkl` files, start directly with `train` on those files and mark dataset conversion as `not run: preconverted dataset provided` in validation reports. This model does not expose deploy, prune, quantize, or standalone retrain actions. Resume\u002Fretrain behavior uses `pose_classification train -e ...` with `train.resume_training_checkpoint_path` populated.\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:** pose_classification\n- **Formats:** default\n- **Monitoring metric:** val_loss\n\n### Per-Action Dataset Requirements\n\n| Action | Spec Key | Source | Files | List? |\n|---|---|---|---|---|\n| dataset_convert (optional) | dataset_convert.data | id | DeepStream BodyPose JSON | No |\n| evaluate | evaluate.test_dataset.data_path | train_datasets | val_data.npy | No |\n| evaluate | evaluate.test_dataset.label_path | train_datasets | val_label.pkl | No |\n| inference | inference.test_dataset.data_path | train_datasets | test_data.npy | No |\n| train | dataset.train_dataset.data_path | train_datasets | train_data.npy | No |\n| train | dataset.train_dataset.label_path | train_datasets | train_label.pkl | No |\n| train | dataset.val_dataset.data_path | train_datasets | val_data.npy | No |\n| train | dataset.val_dataset.label_path | train_datasets | val_label.pkl | No |\n\n### Typical Spec Overrides\n\nData source overrides are **mandatory for every action being run** — the agent MUST construct data source paths from the Per-Action Dataset Requirements table above and include them in `spec_overrides`. Do not run `dataset_convert` when the supplied dataset is already converted to `.npy` \u002F `.pkl` files.\n\n```python\nS3_TRAIN = \"s3:\u002F\u002Fbucket\u002Fdata\u002Fpurpose_built_models_pose_classification_train\u002Fnvidia\"\nCHECKPOINT = \"\u002Fresults\u002F{train_job_id}\u002Fresults_dir\u002Fmodel_epoch_000_step_00007.pth\"\n```\n\n**dataset_convert (optional; raw DeepStream BodyPose JSON only):**\n```python\n{\n    \"dataset_convert.data\": \"s3:\u002F\u002Fbucket\u002Fdata\u002F\u003Cdeepstream-bodypose-output>.json\",\n}\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    \"wandb.enable\": False,\n    \"dataset.num_classes\": 6,\n    \"dataset.label_map\": {\n        \"class_0\": 0,\n        \"class_1\": 1,\n        \"class_2\": 2,\n        \"class_3\": 3,\n        \"class_4\": 4,\n        \"class_5\": 5,\n    },\n    \"model.graph_layout\": \"nvidia\",\n    \"dataset.train_dataset.data_path\": f\"{S3_TRAIN}\u002Ftrain_data.npy\",\n    \"dataset.train_dataset.label_path\": f\"{S3_TRAIN}\u002Ftrain_label.pkl\",\n    \"dataset.val_dataset.data_path\": f\"{S3_TRAIN}\u002Fval_data.npy\",\n    \"dataset.val_dataset.label_path\": f\"{S3_TRAIN}\u002Fval_label.pkl\",\n}\n```\n\n**resume train (mandatory checkpoint):**\n```python\n{\n    \"train.num_epochs\": 31,\n    \"train.resume_training_checkpoint_path\": CHECKPOINT,\n    \"dataset.train_dataset.data_path\": f\"{S3_TRAIN}\u002Ftrain_data.npy\",\n    \"dataset.train_dataset.label_path\": f\"{S3_TRAIN}\u002Ftrain_label.pkl\",\n    \"dataset.val_dataset.data_path\": f\"{S3_TRAIN}\u002Fval_data.npy\",\n    \"dataset.val_dataset.label_path\": f\"{S3_TRAIN}\u002Fval_label.pkl\",\n}\n```\n\n**evaluate (mandatory data sources):**\n```python\n{\n    \"evaluate.test_dataset.data_path\": f\"{S3_TRAIN}\u002Fval_data.npy\",\n    \"evaluate.test_dataset.label_path\": f\"{S3_TRAIN}\u002Fval_label.pkl\",\n    \"evaluate.checkpoint\": CHECKPOINT,\n}\n```\n\n**export (mandatory checkpoint and output):**\n```python\n{\n    \"export.checkpoint\": CHECKPOINT,\n    \"export.onnx_file\": \"\u002Fresults\u002F{export_job_id}\u002Fresults_dir\u002Fpose_classification.onnx\",\n}\n```\n\n**inference (mandatory data sources):**\n```python\n{\n    \"inference.test_dataset.data_path\": f\"{S3_TRAIN}\u002Ftest_data.npy\",\n    \"inference.test_dataset.label_path\": f\"{S3_TRAIN}\u002Ftest_label.pkl\",\n    \"inference.checkpoint\": CHECKPOINT,\n    \"inference.output_file\": \"\u002Fresults\u002Fpose_classification_inference.txt\",\n}\n```\n## Dataset Convert\n\nDataset conversion is optional for Pose Classification. Run `pose_classification dataset_convert` only when the user supplies raw DeepStream BodyPose JSON. For the common S3 validation dataset, the data is already converted to `train_data.npy`, `train_label.pkl`, `val_data.npy`, `val_label.pkl`, `test_data.npy`, and `test_label.pkl`; use those files directly for train\u002Fevaluate\u002Finference\u002Fexport flows and do not synthesize fake BodyPose JSON.\n\n## Eval Dataset\n\nOptional. Validation data is provided alongside training as val_data.npy \u002F val_label.pkl. TAO training emits `val_loss` as the TensorBoard validation scalar for this model; use `val_loss` with minimize direction for AutoML selection unless a custom evaluation hook supplies a different metric.\n\n## Important Parameters\n\n- **dataset.num_classes**: Number of pose action classes. Default 6.\n- **model.graph_layout**: Skeleton graph layout. Options: nvidia, openpose. Determines joint connectivity.\n- **model.graph_strategy**: Graph partitioning strategy for GCN.\n- **train.optim.lr**: Learning rate. Default 0.1 (SGD). Higher than vision models due to graph convolution properties.\n- **model.dropout**: Dropout rate for regularization.\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 only\n- Lightweight model, single GPU typically sufficient\n\n## Hardware\n\nMinimum 1 GPU(s), recommended 1 GPU(s). 8GB+ VRAM per GPU. Pose classification is very lightweight — skeleton data is small. Single GPU is sufficient.\n\n## Error Patterns\n\n**Graph layout mismatch**: Ensure model.graph_layout matches the skeleton format in your .npy data files.\n\n**Label shape mismatch**: train_label.pkl class indices must be in range [0, num_classes).\n\n**Missing label map**: The training dataloader expects `dataset.label_map` to be a dictionary. If the dataset only supplies numeric class IDs, set a synthetic contiguous map such as `class_0: 0` through `class_5: 5` for the six-class NVIDIA sample data.\n\n**Checkpoint handoff**: After AutoML\u002Ftrain, use the checkpoint resolver to select the intended saved `.pth` checkpoint under the parent result folder, such as `model_epoch_000_step_00007.pth`, and pass that exact file as `evaluate.checkpoint`, `export.checkpoint`, `inference.checkpoint`, or `train.resume_training_checkpoint_path`. `pc_model_latest.pth` is a latest-checkpoint symlink; use it only when the user explicitly asks for latest rather than a specific\u002Fbest checkpoint. Keep the same `dataset.num_classes`, `dataset.label_map`, and `model.graph_layout` overrides for downstream actions.\n\n**Dataset conversion source**: `dataset_convert` expects the raw JSON output from the DeepStream BodyPose app. The common NVIDIA sample S3 folder is already converted to `train_data.npy`, `train_label.pkl`, `val_data.npy`, `val_label.pkl`, `test_data.npy`, and `test_label.pkl`; skip conversion and start from the converted files when those are present.\n\n**Action-specific dataset paths**: The evaluate and inference templates also contain the training `dataset.train_dataset` and `dataset.val_dataset` blocks. For evaluate, populate `evaluate.test_dataset.data_path` and `evaluate.test_dataset.label_path`. For inference, populate `inference.test_dataset.data_path` and set `inference.output_file`; do not stop after replacing the first `data_path` or `label_path` in the file.\n\n**Output files**: Export needs an explicit `export.onnx_file` path. Inference must set `inference.output_file` to a writable file path; the packaged template default is an empty string, and the current PyTorch inference code opens that value directly.\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 `pose_classification.config.json`:\n\n| Action | Spec Field | Inference Function | Meaning |\n|---|---|---|---|\n| dataset_convert | `dataset_convert.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 | `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.output_file` | `create_inference_result_file_pose` | pose inference result file |\n| inference | `results_dir` | `output_dir` | current job results directory |\n| train | `encryption_key` | `key` | encryption key |\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",{"name":5,"tags":24,"license":15,"metadata":27,"description":7,"allowed-tools":30,"compatibility":31},[25,26],"pose","classification",{"author":28,"version":29},"NVIDIA Corporation","0.1.0","Read Bash","Requires docker + nvidia-container-toolkit.","main","86cc27ffd16af6cb85948f1155578e6f3f61cc4c","skillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-pose-classification","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-pose-classification",{"tool":46,"command":47},"bunx","bunx skills add Solizardking\u002Ftrain2earn --skill tao-train-pose-classification",{"tool":49,"command":50},"pnpm","pnpm dlx skills add Solizardking\u002Ftrain2earn --skill tao-train-pose-classification","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-pose-classification\u002FSKILL.md",true,[54,60,64,68,72,76,80,84,88,92],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"BENCHMARK.md","REFERENCE","参考文档",4141,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-pose-classification\u002FBENCHMARK.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"metadata.json",629,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-pose-classification\u002Fmetadata.json",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fskill_info.yaml",4493,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-pose-classification\u002Freferences\u002Fskill_info.yaml",{"path":69,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fspec_template_dataset_convert.yaml",517,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-pose-classification\u002Freferences\u002Fspec_template_dataset_convert.yaml",{"path":73,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fspec_template_evaluate.yaml",1482,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-pose-classification\u002Freferences\u002Fspec_template_evaluate.yaml",{"path":77,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fspec_template_export.yaml",1374,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-pose-classification\u002Freferences\u002Fspec_template_export.yaml",{"path":81,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fspec_template_inference.yaml",1501,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-pose-classification\u002Freferences\u002Fspec_template_inference.yaml",{"path":85,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fspec_template_train.yaml",1304,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-pose-classification\u002Freferences\u002Fspec_template_train.yaml",{"path":89,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":90,"sourceHtmlUrl":91},"skill-card.md",4112,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-pose-classification\u002Fskill-card.md",{"path":93,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":94,"sourceHtmlUrl":95},"verification.json",2697,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-pose-classification\u002Fverification.json",[97,105,113,121,128,136],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":101,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"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":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":101,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"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":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":101,"licenseFileUrl":117,"sourceHtmlUrl":118,"categories":119,"keywords":120,"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":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":101,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"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":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":132,"sourceHtmlUrl":133,"categories":134,"keywords":135,"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":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":101,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"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",[],[]]