[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M788FF0HWCBZ94XVWYZPZ5HR":3,"skill-same:01M788FF0HWCBZ94XVWYZPZ5HR":122},{"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},"01M788FF0HWCBZ94XVWYZPZ5HR","tao-train-ocrnet",null,"OCRNet for scene text recognition. Recognizes text content from cropped text-region images and supports CTC and attention-based decoders. Use when training, evaluating, exporting, pruning, quantizing, retraining, or running inference for a TAO OCRNet model. Trigger phrases include \"train OCRNet\", \"scene text recognition\", \"OCR cropped text\", \"CTC \u002F attention text decoder\".","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-ocrnet\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tao-train-ocrnet\ndescription: OCRNet for scene text recognition. Recognizes text content from cropped text-region images and supports CTC\n  and attention-based decoders. Use when training, evaluating, exporting, pruning, quantizing, retraining, or running\n  inference for a TAO OCRNet model. Trigger phrases include \"train OCRNet\", \"scene text recognition\", \"OCR cropped text\",\n  \"CTC \u002F attention text decoder\".\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- text\n- recognition\n---\n\n# OCRNet\n\nOCRNet for scene text recognition. Recognizes text content from cropped text region images. Supports CTC and attention-based decoders.\n\nSet train.pretrained_model_path for pretrained OCR weights.\n\nFor TAO Deploy TensorRT actions (`gen_trt_engine`, TensorRT `evaluate`, and TensorRT `inference`), read `references\u002Ftao-deploy-ocrnet.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## Training Requirements\n\n- **Dataset type:** ocrnet\n- **Formats:** default\n- **Monitoring metric:** val_acc_1\n\n### Per-Action Dataset Requirements\n\n| Action | Spec Key | Source | Files | List? |\n|---|---|---|---|---|\n| dataset_convert | dataset_convert.input_img_dir | train_datasets or eval_dataset | extracted folder containing cropped text images | No |\n| dataset_convert | dataset_convert.gt_file | train_datasets or eval_dataset | train\u002Fgt_new.txt or test\u002Fgt_new.txt | No |\n| evaluate | dataset.character_list_file | eval_dataset | character_list | No |\n| evaluate | evaluate.test_dataset_dir | eval_dataset | extracted test image folder | No |\n| evaluate | evaluate.test_dataset_gt_file | eval_dataset | test\u002Fgt_new.txt | No |\n| evaluate | evaluate.checkpoint | parent train\u002FAutoML job | best_accuracy.pth or exact requested epoch checkpoint | No |\n| export | dataset.character_list_file | eval_dataset | character_list | No |\n| export | export.checkpoint | parent train\u002FAutoML job | best_accuracy.pth or exact requested epoch checkpoint | No |\n| deploy\u002Fgen_trt_engine | gen_trt_engine.tensorrt.calibration.cal_image_dir | calibration_dataset | extracted calibration image folder for INT8 calibration | Yes |\n| deploy\u002Fgen_trt_engine | gen_trt_engine.onnx_file | parent export job | exported .onnx artifact | No |\n| deploy\u002Fgen_trt_engine | dataset.character_list_file | eval_dataset | character_list | No |\n| inference | dataset.character_list_file | eval_dataset | character_list | No |\n| inference | inference.inference_dataset_dir | inference_dataset | extracted inference image folder | No |\n| inference | inference.checkpoint | parent train\u002FAutoML job | best_accuracy.pth or exact requested epoch checkpoint | No |\n| prune | dataset.character_list_file | eval_dataset | character_list | No |\n| prune | prune.checkpoint | parent train\u002FAutoML job | best_accuracy.pth or exact requested epoch checkpoint | No |\n| quantize | dataset.train_dataset_dir | dataset_convert train job | LMDB folder containing data.mdb and lock.mdb | Yes |\n| quantize | dataset.val_dataset_dir | dataset_convert eval job | LMDB folder containing data.mdb and lock.mdb | No |\n| quantize | dataset.character_list_file | eval_dataset | character_list | No |\n| quantize | dataset.quant_calibration_dataset.images_dir | train_datasets | extracted calibration image folder | No |\n| quantize | quantize.model_path | parent train\u002FAutoML job | checkpoint selected by resolver | No |\n| retrain | dataset.train_dataset_dir | dataset_convert train job | LMDB folder containing data.mdb and lock.mdb | Yes |\n| retrain | dataset.val_dataset_dir | dataset_convert eval job | LMDB folder containing data.mdb and lock.mdb | No |\n| retrain | dataset.character_list_file | eval_dataset | character_list | No |\n| retrain | model.pruned_graph_path | parent prune job | pruned .pth artifact | No |\n| train | dataset.train_dataset_dir | dataset_convert train job | LMDB folder containing data.mdb and lock.mdb | Yes |\n| train | dataset.train_gt_file | train_datasets | train\u002Fgt_new.txt when using raw folders instead of LMDB | No |\n| train | dataset.val_dataset_dir | dataset_convert eval job | LMDB folder containing data.mdb and lock.mdb | No |\n| train | dataset.val_gt_file | eval_dataset | test\u002Fgt_new.txt when using raw folders instead of LMDB | No |\n| train | dataset.character_list_file | eval_dataset | character_list | No |\n\n### Checkpoint Selection\n\nOCRNet training writes both `best_accuracy.pth` and epoch-step checkpoints such as `model_epoch_000_step_00003.pth`. Use the SDK\u002Fmodel checkpoint resolver through the `spec_params` mappings in `references\u002Fskill_info.yaml`; do not guess by sorting for the newest `.pth`.\n\n- Use `best_accuracy.pth` for best-checkpoint `evaluate`, `inference`, `export`, and `prune` requests.\n- Use the exact requested `model_epoch_*_step_*.pth` for epoch\u002Fstep-specific actions.\n- Use `train.resume_training_checkpoint_path` only for resume training, and use `model.pruned_graph_path` for retrain from a prune output. OCRNet does not expose a separate `ocrnet retrain` CLI subtask in the PyT image; the model-skill `retrain` action routes through `ocrnet train -e` with the pruned graph path set.\n- OCRNet `quantize` loads the model through PyTorch. For trusted checkpoints created by the same local run, set `TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=1` if PyTorch 2.6+ rejects the checkpoint as a weights-only load.\n\n### Typical Spec Overrides\n\nData source overrides are **mandatory for every action**. Run `dataset_convert` separately for train and validation splits, then pass the LMDB folders that directly contain `data.mdb` and `lock.mdb` into train, quantize, and retrain. Tarballs from remote storage must be extracted before they are used as image directories.\n\n```python\nTRAIN_IMAGES = \"\u003Cextracted train image folder>\"\nTRAIN_GT = \"\u003Ctrain gt_new.txt>\"\nEVAL_IMAGES = \"\u003Cextracted eval image folder>\"\nEVAL_GT = \"\u003Ceval gt_new.txt>\"\nTRAIN_LMDB = \"\u003Ctrain dataset_convert results_dir>\"\nEVAL_LMDB = \"\u003Ceval dataset_convert results_dir>\"\nCHAR_LIST = \"\u003Ccharacter_list>\"\n```\n\n**dataset_convert (run once per split):**\n```python\n{\n    \"dataset_convert.input_img_dir\": TRAIN_IMAGES,\n    \"dataset_convert.gt_file\": TRAIN_GT,\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    \"dataset.batch_size\": 16,\n    \"dataset.train_dataset_dir\": [TRAIN_LMDB],\n    \"dataset.val_dataset_dir\": EVAL_LMDB,\n    \"dataset.train_gt_file\": \"\",\n    \"dataset.val_gt_file\": \"\",\n    \"dataset.character_list_file\": CHAR_LIST,\n}\n```\n\n**deploy\u002Fgen_trt_engine (mandatory data sources):**\n```python\n{\n    \"gen_trt_engine.onnx_file\": \"\u003Cselected export ONNX>\",\n    \"gen_trt_engine.trt_engine\": \"\u003Coutput engine path>\",\n    \"gen_trt_engine.tensorrt.calibration.cal_cache_file\": \"\u003Coutput calibration cache path>\",\n    \"gen_trt_engine.tensorrt.data_type\": \"fp16\",\n    \"gen_trt_engine.tensorrt.calibration.cal_image_dir\": [TRAIN_IMAGES],\n    \"dataset.character_list_file\": CHAR_LIST,\n}\n```\n\n**evaluate (mandatory data sources):**\n```python\n{\n    \"evaluate.checkpoint\": \"\u003Cselected train\u002FAutoML checkpoint>\",\n    \"dataset.character_list_file\": CHAR_LIST,\n    \"evaluate.test_dataset_dir\": EVAL_IMAGES,\n    \"evaluate.test_dataset_gt_file\": EVAL_GT,\n}\n```\n\n**export (mandatory data sources):**\n```python\n{\n    \"export.checkpoint\": \"\u003Cselected train\u002FAutoML checkpoint>\",\n    \"export.onnx_file\": \"\u003Coutput ONNX path>\",\n    \"dataset.character_list_file\": CHAR_LIST,\n}\n```\n\n**inference (mandatory data sources):**\n```python\n{\n    \"inference.checkpoint\": \"\u003Cselected train\u002FAutoML checkpoint>\",\n    \"dataset.character_list_file\": CHAR_LIST,\n    \"inference.inference_dataset_dir\": EVAL_IMAGES,\n}\n```\n\n**prune (mandatory data sources):**\n```python\n{\n    \"prune.checkpoint\": \"\u003Cselected train\u002FAutoML checkpoint>\",\n    \"prune.pruned_file\": \"\u003Coutput pruned PTH path>\",\n    \"dataset.character_list_file\": CHAR_LIST,\n}\n```\n\n**quantize (mandatory data sources):**\n```python\n{\n    \"dataset.train_dataset_dir\": [TRAIN_LMDB],\n    \"dataset.val_dataset_dir\": EVAL_LMDB,\n    \"dataset.character_list_file\": CHAR_LIST,\n    \"dataset.quant_calibration_dataset.images_dir\": TRAIN_IMAGES,\n    \"quantize.model_path\": \"\u003Cselected train\u002FAutoML checkpoint>\",\n}\n```\n\n**retrain (mandatory data sources):**\n```python\n{\n    \"dataset.train_dataset_dir\": [TRAIN_LMDB],\n    \"dataset.val_dataset_dir\": EVAL_LMDB,\n    \"dataset.character_list_file\": CHAR_LIST,\n    \"model.pruned_graph_path\": \"\u003Cselected prune output>\",\n}\n```\n## Eval Dataset\n\nOptional. Test data provided as separate tarball.\n\n## Important Parameters\n\n- **dataset.character_list_file**: Path to character list defining the supported character set. This determines the output vocabulary size.\n- **model.backbone**: Default ResNet.\n- **model.prediction**: Decoder type. CTC or Attn (attention-based).\n- **train.optim.lr**: Learning rate. Default 1.0 (Adadelta optimizer). High default is specific to Adadelta.\n- **dataset.batch_size**: Per-GPU batch size. Default 16.\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| `train.distributed_strategy` | Strategy name | `auto` |\n\n- Strategy: `auto` for single-GPU, reads `train.distributed_strategy` from config when multi-GPU\n- No explicit `num_nodes` in train script — single-node oriented\n- Lightweight model, single GPU typically sufficient\n\n## Hardware\n\nMinimum 1 GPU(s), recommended 1 GPU(s). 8GB+ VRAM per GPU. OCR text recognition is lightweight. Single GPU is typically sufficient.\n\n## Error Patterns\n\n**dataset_convert required**: If using raw images + gt files, run dataset_convert first to produce LMDB format.\n\n**dataset_convert output folder**: Direct `ocrnet dataset_convert` writes `data.mdb` and `lock.mdb` directly under `dataset_convert.results_dir`. Use that folder itself for `dataset.train_dataset_dir`, `dataset.val_dataset_dir`, quantize, and retrain inputs. SDK-backed runs may wrap the same LMDB folder inside job artifact directories; resolve the actual folder containing `data.mdb` and `lock.mdb`.\n\n**GT file BOM**: Some text-recognition GT files can start with a UTF-8 BOM on the first filename. If dataset conversion logs a missing path with an invisible prefix before the first image name, strip the BOM from a local copy of the GT file before conversion or evaluation.\n\n**Character list mismatch**: All characters in training data must be present in the character_list file.\n\n**Export\u002Fprune output fields required**: `export.onnx_file` and `prune.pruned_file` must be writable output paths. These are declared in `references\u002Fskill_info.yaml` so SDK-backed model runs can create the paths automatically.\n\n**TensorRT lives in deploy**: The PyT OCRNet CLI exposes `dataset_convert`, `evaluate`, `export`, `inference`, `prune`, `quantize`, and `train`, but not `gen_trt_engine`. Use `references\u002Ftao-deploy-ocrnet.md` and `deploy\u002Fskill_info.yaml` for TensorRT engine generation and TensorRT-backed evaluate\u002Finference.\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 `ocrnet.config.json`:\n\n| Action | Spec Field | Inference Function | Meaning |\n|---|---|---|---|\n| 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 | `evaluate.trt_engine` | `parent_model` | model file inferred from the parent job results folder |\n| evaluate | `model.pruned_graph_path` | `pruned_model` | parent pruned model |\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| deploy\u002Fgen_trt_engine | `encryption_key` | `key` | encryption key |\n| deploy\u002Fgen_trt_engine | `gen_trt_engine.onnx_file` | `parent_model` | ONNX file inferred from the parent export job results folder |\n| deploy\u002Fgen_trt_engine | `gen_trt_engine.tensorrt.calibration.cal_cache_file` | `create_cal_cache` | calibration cache path |\n| deploy\u002Fgen_trt_engine | `gen_trt_engine.trt_engine` | `create_engine_file` | output TensorRT engine path |\n| deploy\u002Fgen_trt_engine | `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 | `model.pruned_graph_path` | `pruned_model` | parent pruned model |\n| inference | `results_dir` | `output_dir` | current job results directory |\n| prune | `encryption_key` | `key` | encryption key |\n| prune | `prune.checkpoint` | `parent_model` | model file inferred from the parent job results folder |\n| prune | `prune.pruned_file` | `create_pth_file` | output PTH path |\n| prune | `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| retrain | `encryption_key` | `key` | encryption key |\n| retrain | `model.pruned_graph_path` | `parent_model` | model file inferred from the parent job results folder |\n| retrain | `results_dir` | `output_dir` | current job results directory |\n| train | `encryption_key` | `key` | encryption key |\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-ocrnet](references\u002Ftao-deploy-ocrnet.md)\n","# OCRNet\n\nOCRNet for scene text recognition. Recognizes text content from cropped text region images. Supports CTC and attention-based decoders.\n\nSet train.pretrained_model_path for pretrained OCR weights.\n\nFor TAO Deploy TensorRT actions (`gen_trt_engine`, TensorRT `evaluate`, and TensorRT `inference`), read `references\u002Ftao-deploy-ocrnet.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## Training Requirements\n\n- **Dataset type:** ocrnet\n- **Formats:** default\n- **Monitoring metric:** val_acc_1\n\n### Per-Action Dataset Requirements\n\n| Action | Spec Key | Source | Files | List? |\n|---|---|---|---|---|\n| dataset_convert | dataset_convert.input_img_dir | train_datasets or eval_dataset | extracted folder containing cropped text images | No |\n| dataset_convert | dataset_convert.gt_file | train_datasets or eval_dataset | train\u002Fgt_new.txt or test\u002Fgt_new.txt | No |\n| evaluate | dataset.character_list_file | eval_dataset | character_list | No |\n| evaluate | evaluate.test_dataset_dir | eval_dataset | extracted test image folder | No |\n| evaluate | evaluate.test_dataset_gt_file | eval_dataset | test\u002Fgt_new.txt | No |\n| evaluate | evaluate.checkpoint | parent train\u002FAutoML job | best_accuracy.pth or exact requested epoch checkpoint | No |\n| export | dataset.character_list_file | eval_dataset | character_list | No |\n| export | export.checkpoint | parent train\u002FAutoML job | best_accuracy.pth or exact requested epoch checkpoint | No |\n| deploy\u002Fgen_trt_engine | gen_trt_engine.tensorrt.calibration.cal_image_dir | calibration_dataset | extracted calibration image folder for INT8 calibration | Yes |\n| deploy\u002Fgen_trt_engine | gen_trt_engine.onnx_file | parent export job | exported .onnx artifact | No |\n| deploy\u002Fgen_trt_engine | dataset.character_list_file | eval_dataset | character_list | No |\n| inference | dataset.character_list_file | eval_dataset | character_list | No |\n| inference | inference.inference_dataset_dir | inference_dataset | extracted inference image folder | No |\n| inference | inference.checkpoint | parent train\u002FAutoML job | best_accuracy.pth or exact requested epoch checkpoint | No |\n| prune | dataset.character_list_file | eval_dataset | character_list | No |\n| prune | prune.checkpoint | parent train\u002FAutoML job | best_accuracy.pth or exact requested epoch checkpoint | No |\n| quantize | dataset.train_dataset_dir | dataset_convert train job | LMDB folder containing data.mdb and lock.mdb | Yes |\n| quantize | dataset.val_dataset_dir | dataset_convert eval job | LMDB folder containing data.mdb and lock.mdb | No |\n| quantize | dataset.character_list_file | eval_dataset | character_list | No |\n| quantize | dataset.quant_calibration_dataset.images_dir | train_datasets | extracted calibration image folder | No |\n| quantize | quantize.model_path | parent train\u002FAutoML job | checkpoint selected by resolver | No |\n| retrain | dataset.train_dataset_dir | dataset_convert train job | LMDB folder containing data.mdb and lock.mdb | Yes |\n| retrain | dataset.val_dataset_dir | dataset_convert eval job | LMDB folder containing data.mdb and lock.mdb | No |\n| retrain | dataset.character_list_file | eval_dataset | character_list | No |\n| retrain | model.pruned_graph_path | parent prune job | pruned .pth artifact | No |\n| train | dataset.train_dataset_dir | dataset_convert train job | LMDB folder containing data.mdb and lock.mdb | Yes |\n| train | dataset.train_gt_file | train_datasets | train\u002Fgt_new.txt when using raw folders instead of LMDB | No |\n| train | dataset.val_dataset_dir | dataset_convert eval job | LMDB folder containing data.mdb and lock.mdb | No |\n| train | dataset.val_gt_file | eval_dataset | test\u002Fgt_new.txt when using raw folders instead of LMDB | No |\n| train | dataset.character_list_file | eval_dataset | character_list | No |\n\n### Checkpoint Selection\n\nOCRNet training writes both `best_accuracy.pth` and epoch-step checkpoints such as `model_epoch_000_step_00003.pth`. Use the SDK\u002Fmodel checkpoint resolver through the `spec_params` mappings in `references\u002Fskill_info.yaml`; do not guess by sorting for the newest `.pth`.\n\n- Use `best_accuracy.pth` for best-checkpoint `evaluate`, `inference`, `export`, and `prune` requests.\n- Use the exact requested `model_epoch_*_step_*.pth` for epoch\u002Fstep-specific actions.\n- Use `train.resume_training_checkpoint_path` only for resume training, and use `model.pruned_graph_path` for retrain from a prune output. OCRNet does not expose a separate `ocrnet retrain` CLI subtask in the PyT image; the model-skill `retrain` action routes through `ocrnet train -e` with the pruned graph path set.\n- OCRNet `quantize` loads the model through PyTorch. For trusted checkpoints created by the same local run, set `TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=1` if PyTorch 2.6+ rejects the checkpoint as a weights-only load.\n\n### Typical Spec Overrides\n\nData source overrides are **mandatory for every action**. Run `dataset_convert` separately for train and validation splits, then pass the LMDB folders that directly contain `data.mdb` and `lock.mdb` into train, quantize, and retrain. Tarballs from remote storage must be extracted before they are used as image directories.\n\n```python\nTRAIN_IMAGES = \"\u003Cextracted train image folder>\"\nTRAIN_GT = \"\u003Ctrain gt_new.txt>\"\nEVAL_IMAGES = \"\u003Cextracted eval image folder>\"\nEVAL_GT = \"\u003Ceval gt_new.txt>\"\nTRAIN_LMDB = \"\u003Ctrain dataset_convert results_dir>\"\nEVAL_LMDB = \"\u003Ceval dataset_convert results_dir>\"\nCHAR_LIST = \"\u003Ccharacter_list>\"\n```\n\n**dataset_convert (run once per split):**\n```python\n{\n    \"dataset_convert.input_img_dir\": TRAIN_IMAGES,\n    \"dataset_convert.gt_file\": TRAIN_GT,\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    \"dataset.batch_size\": 16,\n    \"dataset.train_dataset_dir\": [TRAIN_LMDB],\n    \"dataset.val_dataset_dir\": EVAL_LMDB,\n    \"dataset.train_gt_file\": \"\",\n    \"dataset.val_gt_file\": \"\",\n    \"dataset.character_list_file\": CHAR_LIST,\n}\n```\n\n**deploy\u002Fgen_trt_engine (mandatory data sources):**\n```python\n{\n    \"gen_trt_engine.onnx_file\": \"\u003Cselected export ONNX>\",\n    \"gen_trt_engine.trt_engine\": \"\u003Coutput engine path>\",\n    \"gen_trt_engine.tensorrt.calibration.cal_cache_file\": \"\u003Coutput calibration cache path>\",\n    \"gen_trt_engine.tensorrt.data_type\": \"fp16\",\n    \"gen_trt_engine.tensorrt.calibration.cal_image_dir\": [TRAIN_IMAGES],\n    \"dataset.character_list_file\": CHAR_LIST,\n}\n```\n\n**evaluate (mandatory data sources):**\n```python\n{\n    \"evaluate.checkpoint\": \"\u003Cselected train\u002FAutoML checkpoint>\",\n    \"dataset.character_list_file\": CHAR_LIST,\n    \"evaluate.test_dataset_dir\": EVAL_IMAGES,\n    \"evaluate.test_dataset_gt_file\": EVAL_GT,\n}\n```\n\n**export (mandatory data sources):**\n```python\n{\n    \"export.checkpoint\": \"\u003Cselected train\u002FAutoML checkpoint>\",\n    \"export.onnx_file\": \"\u003Coutput ONNX path>\",\n    \"dataset.character_list_file\": CHAR_LIST,\n}\n```\n\n**inference (mandatory data sources):**\n```python\n{\n    \"inference.checkpoint\": \"\u003Cselected train\u002FAutoML checkpoint>\",\n    \"dataset.character_list_file\": CHAR_LIST,\n    \"inference.inference_dataset_dir\": EVAL_IMAGES,\n}\n```\n\n**prune (mandatory data sources):**\n```python\n{\n    \"prune.checkpoint\": \"\u003Cselected train\u002FAutoML checkpoint>\",\n    \"prune.pruned_file\": \"\u003Coutput pruned PTH path>\",\n    \"dataset.character_list_file\": CHAR_LIST,\n}\n```\n\n**quantize (mandatory data sources):**\n```python\n{\n    \"dataset.train_dataset_dir\": [TRAIN_LMDB],\n    \"dataset.val_dataset_dir\": EVAL_LMDB,\n    \"dataset.character_list_file\": CHAR_LIST,\n    \"dataset.quant_calibration_dataset.images_dir\": TRAIN_IMAGES,\n    \"quantize.model_path\": \"\u003Cselected train\u002FAutoML checkpoint>\",\n}\n```\n\n**retrain (mandatory data sources):**\n```python\n{\n    \"dataset.train_dataset_dir\": [TRAIN_LMDB],\n    \"dataset.val_dataset_dir\": EVAL_LMDB,\n    \"dataset.character_list_file\": CHAR_LIST,\n    \"model.pruned_graph_path\": \"\u003Cselected prune output>\",\n}\n```\n## Eval Dataset\n\nOptional. Test data provided as separate tarball.\n\n## Important Parameters\n\n- **dataset.character_list_file**: Path to character list defining the supported character set. This determines the output vocabulary size.\n- **model.backbone**: Default ResNet.\n- **model.prediction**: Decoder type. CTC or Attn (attention-based).\n- **train.optim.lr**: Learning rate. Default 1.0 (Adadelta optimizer). High default is specific to Adadelta.\n- **dataset.batch_size**: Per-GPU batch size. Default 16.\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| `train.distributed_strategy` | Strategy name | `auto` |\n\n- Strategy: `auto` for single-GPU, reads `train.distributed_strategy` from config when multi-GPU\n- No explicit `num_nodes` in train script — single-node oriented\n- Lightweight model, single GPU typically sufficient\n\n## Hardware\n\nMinimum 1 GPU(s), recommended 1 GPU(s). 8GB+ VRAM per GPU. OCR text recognition is lightweight. Single GPU is typically sufficient.\n\n## Error Patterns\n\n**dataset_convert required**: If using raw images + gt files, run dataset_convert first to produce LMDB format.\n\n**dataset_convert output folder**: Direct `ocrnet dataset_convert` writes `data.mdb` and `lock.mdb` directly under `dataset_convert.results_dir`. Use that folder itself for `dataset.train_dataset_dir`, `dataset.val_dataset_dir`, quantize, and retrain inputs. SDK-backed runs may wrap the same LMDB folder inside job artifact directories; resolve the actual folder containing `data.mdb` and `lock.mdb`.\n\n**GT file BOM**: Some text-recognition GT files can start with a UTF-8 BOM on the first filename. If dataset conversion logs a missing path with an invisible prefix before the first image name, strip the BOM from a local copy of the GT file before conversion or evaluation.\n\n**Character list mismatch**: All characters in training data must be present in the character_list file.\n\n**Export\u002Fprune output fields required**: `export.onnx_file` and `prune.pruned_file` must be writable output paths. These are declared in `references\u002Fskill_info.yaml` so SDK-backed model runs can create the paths automatically.\n\n**TensorRT lives in deploy**: The PyT OCRNet CLI exposes `dataset_convert`, `evaluate`, `export`, `inference`, `prune`, `quantize`, and `train`, but not `gen_trt_engine`. Use `references\u002Ftao-deploy-ocrnet.md` and `deploy\u002Fskill_info.yaml` for TensorRT engine generation and TensorRT-backed evaluate\u002Finference.\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 `ocrnet.config.json`:\n\n| Action | Spec Field | Inference Function | Meaning |\n|---|---|---|---|\n| 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 | `evaluate.trt_engine` | `parent_model` | model file inferred from the parent job results folder |\n| evaluate | `model.pruned_graph_path` | `pruned_model` | parent pruned model |\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| deploy\u002Fgen_trt_engine | `encryption_key` | `key` | encryption key |\n| deploy\u002Fgen_trt_engine | `gen_trt_engine.onnx_file` | `parent_model` | ONNX file inferred from the parent export job results folder |\n| deploy\u002Fgen_trt_engine | `gen_trt_engine.tensorrt.calibration.cal_cache_file` | `create_cal_cache` | calibration cache path |\n| deploy\u002Fgen_trt_engine | `gen_trt_engine.trt_engine` | `create_engine_file` | output TensorRT engine path |\n| deploy\u002Fgen_trt_engine | `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 | `model.pruned_graph_path` | `pruned_model` | parent pruned model |\n| inference | `results_dir` | `output_dir` | current job results directory |\n| prune | `encryption_key` | `key` | encryption key |\n| prune | `prune.checkpoint` | `parent_model` | model file inferred from the parent job results folder |\n| prune | `prune.pruned_file` | `create_pth_file` | output PTH path |\n| prune | `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| retrain | `encryption_key` | `key` | encryption key |\n| retrain | `model.pruned_graph_path` | `parent_model` | model file inferred from the parent job results folder |\n| retrain | `results_dir` | `output_dir` | current job results directory |\n| train | `encryption_key` | `key` | encryption key |\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-ocrnet](references\u002Ftao-deploy-ocrnet.md)\n",{"name":5,"tags":24,"license":15,"metadata":27,"description":7,"allowed-tools":30,"compatibility":31},[25,26],"text","recognition",{"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-ocrnet","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-ocrnet",{"tool":46,"command":47},"bunx","bunx skills add Solizardking\u002Ftrain2earn --skill tao-train-ocrnet",{"tool":49,"command":50},"pnpm","pnpm dlx skills add Solizardking\u002Ftrain2earn --skill tao-train-ocrnet","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002FSKILL.md",true,[54,60,64,68,72,76,80,84,88,92,96,100,103,106,110,114,118],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"BENCHMARK.md","REFERENCE","参考文档",4040,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002FBENCHMARK.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"metadata.json",581,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Fmetadata.json",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fskill_info.yaml",8357,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Freferences\u002Fskill_info.yaml",{"path":69,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fspec_template_dataset_convert.yaml",1817,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Freferences\u002Fspec_template_dataset_convert.yaml",{"path":73,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fspec_template_deploy_experiment.yaml",2950,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Freferences\u002Fspec_template_deploy_experiment.yaml",{"path":77,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fspec_template_evaluate.yaml",1960,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Freferences\u002Fspec_template_evaluate.yaml",{"path":81,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fspec_template_export.yaml",1818,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Freferences\u002Fspec_template_export.yaml",{"path":85,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fspec_template_gen_trt_engine.yaml",2141,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Freferences\u002Fspec_template_gen_trt_engine.yaml",{"path":89,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fspec_template_inference.yaml",1939,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Freferences\u002Fspec_template_inference.yaml",{"path":93,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fspec_template_prune.yaml",1912,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Freferences\u002Fspec_template_prune.yaml",{"path":97,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fspec_template_quantize.yaml",1746,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Freferences\u002Fspec_template_quantize.yaml",{"path":101,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":98,"sourceHtmlUrl":102},"references\u002Fspec_template_retrain.yaml","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Freferences\u002Fspec_template_retrain.yaml",{"path":104,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":98,"sourceHtmlUrl":105},"references\u002Fspec_template_train.yaml","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Freferences\u002Fspec_template_train.yaml",{"path":107,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Ftao-deploy-ocrnet.md",5452,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Freferences\u002Ftao-deploy-ocrnet.md",{"path":111,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":112,"sourceHtmlUrl":113},"references\u002Ftao-deploy-ocrnet.skill_info.yaml",4085,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Freferences\u002Ftao-deploy-ocrnet.skill_info.yaml",{"path":115,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":116,"sourceHtmlUrl":117},"skill-card.md",3770,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Fskill-card.md",{"path":119,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":120,"sourceHtmlUrl":121},"verification.json",3907,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-train-ocrnet\u002Fverification.json",[123,131,139,147,154,162],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":127,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"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":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":127,"licenseFileUrl":135,"sourceHtmlUrl":136,"categories":137,"keywords":138,"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":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":127,"licenseFileUrl":143,"sourceHtmlUrl":144,"categories":145,"keywords":146,"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":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":127,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"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":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":158,"sourceHtmlUrl":159,"categories":160,"keywords":161,"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":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":127,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"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",[],[]]