[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7992EJMEVJ068YA18VKASK1":3,"skill-same:01M7992EJMEVJ068YA18VKASK1":163},{"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":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M7992EJMEVJ068YA18VKASK1","tao-train-depth-anything-v2",null,"Monocular depth estimation using Metric Depth Anything v2 or Relative Depth Anything architectures. Predicts per-pixel depth from single RGB images. Use when training, evaluating, exporting, or running inference for a TAO monocular depth model. Trigger phrases include \"train monocular depth\", \"DepthAnything v2\", \"metric depth from single image\", \"monocular depth estimation\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tao-train-depth-anything-v2\ndescription: Monocular depth estimation using Metric Depth Anything v2 or Relative Depth Anything architectures. Predicts\n  per-pixel depth from single RGB images. Use when training, evaluating, exporting, or running inference for a TAO\n  monocular depth model. Trigger phrases include \"train monocular depth\", \"DepthAnything v2\", \"metric depth from single\n  image\", \"monocular depth estimation\".\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- monocular\n- depth\n- estimation\n---\n\n# Depth Net Mono\n\nMonocular depth estimation using Metric Depth Anything v2 or Relative Depth Anything architectures. Predicts per-pixel depth from single RGB images.\n\nPretrained checkpoint loading varies by model variant and use case — see the **Pretrained checkpoint loading — use case matrix** in `references\u002Fparameters.md`.\n\nThe mono and stereo skills both invoke the unified TAO `depth_net` CLI inside the container; the mono\u002Fstereo family is selected via `model.model_type` (full parameter glossary in `references\u002Fparameters.md`).\n\nFor TAO Deploy TensorRT actions (`gen_trt_engine`, TensorRT `evaluate`, and TensorRT `inference`), read `references\u002Ftao-deploy-depth-anything-v2.md` first. The deploy spec template lives in this skill's `references\u002Fspec_template_deploy.yaml`.\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. Treat phrases like \"turn off AutoML\", \"disable AutoML\", \"no HPO\", or \"plain training\" as `automl_policy: off` for this run only; otherwise default to `auto`. When `automl_policy: auto`, `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## Workflow\n\n### Prerequisites — data accessibility\n\nYour dataset (RGB images + GT depth files) must be reachable from inside the container:\n- **SDK runner**: place files at the S3 paths the runner resolves (the `S3_TRAIN` \u002F `S3_EVAL` placeholders shown in the spec overrides). The runner handles S3 → container-path mounting transparently.\n- **Direct `docker run`** (e.g. local testing): mount the host dataset root read-only at the same in-container path:\n\n```\ndocker run ... -v \u003Chost_data_root>:\u003Chost_data_root>:ro \u003Ccontainer> ...\n```\n\nThe same accessibility requirement applies to the `\u003Coutput_dir>` written by all actions.\n\n### Step 1 — Annotation file\n\nPer-line annotation file referenced by `data_sources[*].data_file`:\n\n| Columns | Format | Use |\n|---|---|---|\n| 1 | `\u003Cimage>` | Mono inference (no GT) |\n| 2 | `\u003Cimage> \u003Cgt_depth>` | Mono with GT |\n\nIf you already have one, point to it. Otherwise generate via `depth_net convert`:\n\n```\ndepth_net convert -e \u003Cconvert_spec.yaml>\n```\n\n`convert_spec.yaml` template:\n\n```yaml\ndata_root: \u003Cdirectory whose immediate children are scene\u002Fsample folders that contain your image+depth files; convert walks data_root recursively but expects per-scene subdirectories at one level below>\nimage_dir_pattern: [\u003Csubstring matching left\u002FRGB image paths>]\ndepth_dir_pattern: [\u003Csubstring matching GT depth paths>]\nimage_extension: ''     # optional .endswith filter, e.g. '.jpg'\ndepth_extension: ''     # optional, swapped during depth derivation, e.g. '.png'\nsplit_ratio: 0.0        # 0.0\u002F1.0 = test-only; 0.8 = 80\u002F20 train+val\n```\n\n`convert` walks `data_root` recursively, selects paths whose path-string contains *all* substrings in `image_dir_pattern` (AND-filter), then derives the depth path by replacing `image_dir_pattern[0]` with `depth_dir_pattern[0]` and `image_extension` with `depth_extension`. Inspect your dataset's directory layout and identify the substring distinguishing RGB images from depth files (e.g. `rgb_` vs `sync_depth_`).\n\n`data_root` must point at the parent that contains the per-scene subdirectories (e.g. for NYU eval, use `\u002Fdata\u002Fnyu_v2\u002Feval\u002Ftest`, not `\u002Fdata\u002Fnyu_v2\u002Feval\u002Ftest\u002Fbathroom` — the latter limits the walk to a single scene). Always include the leading dot in `image_extension` \u002F `depth_extension` (e.g. `'.jpg'` not `'jpg'`); the substring swap is form-sensitive and a mismatch silently corrupts derived paths.\n\n### Step 2 — Pair `model_type` and `dataset_name` based on your data\n\nDefault — generic class for each task:\n\n| Data category | `model_type` | `dataset_name` |\n|---|---|---|\n| Disparity-encoded data (pixels) | `RelativeDepthAnything` | `RelativeMonoDataset` |\n| Metric depth (meters) | `MetricDepthAnything` | `MetricMonoDataset` |\n| Mono inference (no GT, any image) | matches train choice | `RelativeMonoDataset` or `MetricMonoDataset` |\n\nDataset-specific class — switch when the data needs preprocessing the generic class does not perform:\n\n| Special case | `model_type` | `dataset_name` | What the class adds |\n|---|---|---|---|\n| NYU `sync_depth_*.png` (raw uint16 millimetres) — relative | `RelativeDepthAnything` | `NYUDV2Relative` | mm→m unit conversion + Eigen evaluation crop |\n| NYU `sync_depth_*.png` (raw uint16 millimetres) — metric | `MetricDepthAnything` | `NYUDV2` | same |\n\nUsing a generic class on data that requires unit conversion (e.g. raw NYU uint16 PNGs) results in an empty valid mask and silent `train_loss = NaN`. Match the class to your data's encoding.\n\n### Step 3 — Write spec yaml from the spec overrides\n\nCopy the action block from `references\u002Fspec-overrides.md`. Replace:\n- `model.model_type` from Step 2\n- `dataset.\u003C...>.data_sources[*].dataset_name` from Step 2\n- `data_sources[*].data_file` with the path from Step 1 (S3 path under SDK runner, host path for direct docker)\n- For metric finetune: additionally apply the **Metric Variant Finetuning Recipe** in `references\u002Ffinetuning.md`.\n\nFor mono training set `train.precision: fp32` (recommended) or `bf16` (Ampere SM80+, alternative).\n\n### Step 4 — Run\n\n```\ndocker run --gpus 'device=0' --shm-size 16G --ipc=host \\\n  --user $(id -u):$(id -g) \\\n  -v \u003Cdata_root>:\u003Cdata_root>:ro \\\n  -v \u003Coutput_dir>:\u003Coutput_dir> \\\n  \u003Ccontainer> \\\n  depth_net \u003Caction> -e \u003Cspec.yaml>\n```\n\nWithout `--user $(id -u):$(id -g)` the container writes outputs as `nobody:nogroup`, blocking host-side cleanup and retry.\n\n### Step 5 — Verify\n\n- Container exit code 0\n- `status.json` `kpi` block populated\n- For `train`: inspect per-step `train_loss` directly — the entrypoint reports `Execution status: PASS` even when `train_loss = NaN` (see the **Sanity-run PASS criteria** in `references\u002Ffinetuning.md`)\n- For `evaluate` \u002F `inference`: artifacts under `results_dir`\n\nFor TAO Deploy TensorRT actions (`gen_trt_engine`, TensorRT `evaluate`, and TensorRT `inference`), read `references\u002Ftao-deploy-depth-anything-v2.md` first. Deploy spec templates live in this skill's `references\u002F` folder with the `spec_template_deploy_*.yaml` prefix.\n\n## Training Requirements\n\n- **Valid `dataset_name` values for mono `data_sources`** (case-insensitive): `ThreeDVLM`, `FSD`, `NvCLIP`, `IssacStereo`, `Crestereo`, `Middlebury`, `NYUDV2`, `NYUDV2Relative`, `RelativeMonoDataset`, `MetricMonoDataset`. `NYUDV2` carries metric depth GT (meters) — pair with `MetricDepthAnything`; `NYUDV2Relative` is the same data with relative-depth conventions — pair with `RelativeDepthAnything`.\n- **Monitoring metric:** val\u002Floss\n\n### Per-Action Dataset Requirements\n\n| Action | Spec Key | Source | Files | List? |\n|---|---|---|---|---|\n| evaluate | dataset.test_dataset.data_sources | eval_dataset | data_file: annotations.txt + dataset_name | Yes |\n| inference | dataset.infer_dataset.data_sources | inference_dataset | data_file: annotations.txt + dataset_name | Yes |\n| quantize | dataset.train_dataset.data_sources | train_datasets | data_file: annotations.txt + dataset_name | Yes |\n| quantize | dataset.val_dataset.data_sources | eval_dataset | data_file: annotations.txt + dataset_name | Yes |\n| quantize | dataset.quant_calibration_dataset.images_dir | train_datasets | images.tar.gz | No |\n| train | dataset.train_dataset.data_sources | train_datasets | data_file: annotations.txt + dataset_name | Yes |\n| train | dataset.val_dataset.data_sources | eval_dataset | data_file: annotations.txt + dataset_name | Yes |\n\n### Spec Overrides\n\nData source overrides are **mandatory for every action** — construct the data source paths from the Per-Action Dataset Requirements table above and include them in `spec_overrides`; each `data_sources` entry is a dict with the two mandatory fields `data_file` and `dataset_name`. See `references\u002Fspec-overrides.md` for the full per-action `train` \u002F `evaluate` \u002F `export` \u002F `inference` \u002F `quantize` override blocks and the precision recommendations.\n\n## Eval Dataset\n\nOptional. Val dataset configured via `dataset.val_dataset.data_sources` (each entry needs `data_file` and `dataset_name`).\n\n## Important Parameters\n\nFull parameter glossary (`model.*`, `train.*`, `dataset.*`, `export.*`, `inference.*` fields with options, defaults, and sources) plus the **Pretrained checkpoint loading — use case matrix** live in `references\u002Fparameters.md`. Key starting points: `model.model_type` (default `MetricDepthAnything`), `model.encoder` (default `vitl`), `train.optim.lr` (default 1e-4, AdamW), `train.precision` (`fp32` recommended), `dataset.{train,val,test,infer}_dataset.augmentation.crop_size` (default `[518, 518]`).\n\n## Finetuning Recipes\n\nRelative and Metric variant finetuning recipes — including required spec keys, the metric `dataset.{normalize_depth, min_depth, max_depth}` block required in both train AND export specs, trainer-enforced defaults (`clip_grad_norm: 0.1`, `warmup_steps: 20`, `weight_decay: 1e-4`), sanity-run overrides, and the **Sanity-run PASS criteria** for catching silent `train_loss = NaN` — are in `references\u002Ffinetuning.md`. Both recipes use `train.optim.lr: 5e-6` with `LambdaLR` (the AdamW default `1e-4` is too aggressive when finetuning from a converged\u002Fpretrained backbone).\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.num_nodes` | Number of nodes | 1 |\n| `train.distributed_strategy` | `ddp` or `fsdp` | `ddp` |\n\n- `ddp` with activation checkpointing: `find_unused_parameters=False`\n- `ddp` without: `find_unused_parameters=True`\n- `fsdp` forces precision to FP16\n\n**Multi-node env vars** (set by orchestrator): `WORLD_SIZE`, `NODE_RANK`, `MASTER_ADDR`, `MASTER_PORT`, `NUM_GPU_PER_NODE`.\n\n## Export \u002F TRT Defaults\n\n- TRT data types: FP32, BF16 (Ampere SM80+). FP16 is not supported for the ViT-L mono backbone.\n- Recommended TRT precision: `bf16`. Use `fp32` if BF16 hardware is unavailable.\n\nFull TAO Deploy reference: [tao-deploy-depth-anything-v2](references\u002Ftao-deploy-depth-anything-v2.md).\n\n## Hardware\n\nMinimum 1 GPU(s), recommended 2 GPU(s). 24GB+ VRAM per GPU. ViT-Large encoder is memory intensive. Use `fp32` (recommended) or `bf16` (Ampere SM80+, alternative) for training. Activation checkpointing is available for larger inputs.\n\n## Error Patterns\n\nCommon failure signatures and fixes — depth range mismatch, missing pretrained weights, `Key 'encoder' not in 'MonoBackBone'`, missing `dataset_name`, `depth_net_mono: not found`, metric variant hyperparameter sourcing, and the export refuse-to-overwrite ONNX error — are documented in `references\u002Ftroubleshooting.md`.\n\n## Spec Param \u002F Parent Model Inference\n\nModel-specific inference mappings (the full `depth_net_mono.config.json` per-action spec-field → inference-function table, plus `parent_model` \u002F `parent_job_id` resolution guidance) are in `references\u002Fspec-param-inference.md`. These mappings belong in MD, not in `config.json`; generated runners should read that reference and apply the mappings with SDK helpers before `create_job()`.\n","# Depth Net Mono\n\nMonocular depth estimation using Metric Depth Anything v2 or Relative Depth Anything architectures. Predicts per-pixel depth from single RGB images.\n\nPretrained checkpoint loading varies by model variant and use case — see the **Pretrained checkpoint loading — use case matrix** in `references\u002Fparameters.md`.\n\nThe mono and stereo skills both invoke the unified TAO `depth_net` CLI inside the container; the mono\u002Fstereo family is selected via `model.model_type` (full parameter glossary in `references\u002Fparameters.md`).\n\nFor TAO Deploy TensorRT actions (`gen_trt_engine`, TensorRT `evaluate`, and TensorRT `inference`), read `references\u002Ftao-deploy-depth-anything-v2.md` first. The deploy spec template lives in this skill's `references\u002Fspec_template_deploy.yaml`.\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. Treat phrases like \"turn off AutoML\", \"disable AutoML\", \"no HPO\", or \"plain training\" as `automl_policy: off` for this run only; otherwise default to `auto`. When `automl_policy: auto`, `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## Workflow\n\n### Prerequisites — data accessibility\n\nYour dataset (RGB images + GT depth files) must be reachable from inside the container:\n- **SDK runner**: place files at the S3 paths the runner resolves (the `S3_TRAIN` \u002F `S3_EVAL` placeholders shown in the spec overrides). The runner handles S3 → container-path mounting transparently.\n- **Direct `docker run`** (e.g. local testing): mount the host dataset root read-only at the same in-container path:\n\n```\ndocker run ... -v \u003Chost_data_root>:\u003Chost_data_root>:ro \u003Ccontainer> ...\n```\n\nThe same accessibility requirement applies to the `\u003Coutput_dir>` written by all actions.\n\n### Step 1 — Annotation file\n\nPer-line annotation file referenced by `data_sources[*].data_file`:\n\n| Columns | Format | Use |\n|---|---|---|\n| 1 | `\u003Cimage>` | Mono inference (no GT) |\n| 2 | `\u003Cimage> \u003Cgt_depth>` | Mono with GT |\n\nIf you already have one, point to it. Otherwise generate via `depth_net convert`:\n\n```\ndepth_net convert -e \u003Cconvert_spec.yaml>\n```\n\n`convert_spec.yaml` template:\n\n```yaml\ndata_root: \u003Cdirectory whose immediate children are scene\u002Fsample folders that contain your image+depth files; convert walks data_root recursively but expects per-scene subdirectories at one level below>\nimage_dir_pattern: [\u003Csubstring matching left\u002FRGB image paths>]\ndepth_dir_pattern: [\u003Csubstring matching GT depth paths>]\nimage_extension: ''     # optional .endswith filter, e.g. '.jpg'\ndepth_extension: ''     # optional, swapped during depth derivation, e.g. '.png'\nsplit_ratio: 0.0        # 0.0\u002F1.0 = test-only; 0.8 = 80\u002F20 train+val\n```\n\n`convert` walks `data_root` recursively, selects paths whose path-string contains *all* substrings in `image_dir_pattern` (AND-filter), then derives the depth path by replacing `image_dir_pattern[0]` with `depth_dir_pattern[0]` and `image_extension` with `depth_extension`. Inspect your dataset's directory layout and identify the substring distinguishing RGB images from depth files (e.g. `rgb_` vs `sync_depth_`).\n\n`data_root` must point at the parent that contains the per-scene subdirectories (e.g. for NYU eval, use `\u002Fdata\u002Fnyu_v2\u002Feval\u002Ftest`, not `\u002Fdata\u002Fnyu_v2\u002Feval\u002Ftest\u002Fbathroom` — the latter limits the walk to a single scene). Always include the leading dot in `image_extension` \u002F `depth_extension` (e.g. `'.jpg'` not `'jpg'`); the substring swap is form-sensitive and a mismatch silently corrupts derived paths.\n\n### Step 2 — Pair `model_type` and `dataset_name` based on your data\n\nDefault — generic class for each task:\n\n| Data category | `model_type` | `dataset_name` |\n|---|---|---|\n| Disparity-encoded data (pixels) | `RelativeDepthAnything` | `RelativeMonoDataset` |\n| Metric depth (meters) | `MetricDepthAnything` | `MetricMonoDataset` |\n| Mono inference (no GT, any image) | matches train choice | `RelativeMonoDataset` or `MetricMonoDataset` |\n\nDataset-specific class — switch when the data needs preprocessing the generic class does not perform:\n\n| Special case | `model_type` | `dataset_name` | What the class adds |\n|---|---|---|---|\n| NYU `sync_depth_*.png` (raw uint16 millimetres) — relative | `RelativeDepthAnything` | `NYUDV2Relative` | mm→m unit conversion + Eigen evaluation crop |\n| NYU `sync_depth_*.png` (raw uint16 millimetres) — metric | `MetricDepthAnything` | `NYUDV2` | same |\n\nUsing a generic class on data that requires unit conversion (e.g. raw NYU uint16 PNGs) results in an empty valid mask and silent `train_loss = NaN`. Match the class to your data's encoding.\n\n### Step 3 — Write spec yaml from the spec overrides\n\nCopy the action block from `references\u002Fspec-overrides.md`. Replace:\n- `model.model_type` from Step 2\n- `dataset.\u003C...>.data_sources[*].dataset_name` from Step 2\n- `data_sources[*].data_file` with the path from Step 1 (S3 path under SDK runner, host path for direct docker)\n- For metric finetune: additionally apply the **Metric Variant Finetuning Recipe** in `references\u002Ffinetuning.md`.\n\nFor mono training set `train.precision: fp32` (recommended) or `bf16` (Ampere SM80+, alternative).\n\n### Step 4 — Run\n\n```\ndocker run --gpus 'device=0' --shm-size 16G --ipc=host \\\n  --user $(id -u):$(id -g) \\\n  -v \u003Cdata_root>:\u003Cdata_root>:ro \\\n  -v \u003Coutput_dir>:\u003Coutput_dir> \\\n  \u003Ccontainer> \\\n  depth_net \u003Caction> -e \u003Cspec.yaml>\n```\n\nWithout `--user $(id -u):$(id -g)` the container writes outputs as `nobody:nogroup`, blocking host-side cleanup and retry.\n\n### Step 5 — Verify\n\n- Container exit code 0\n- `status.json` `kpi` block populated\n- For `train`: inspect per-step `train_loss` directly — the entrypoint reports `Execution status: PASS` even when `train_loss = NaN` (see the **Sanity-run PASS criteria** in `references\u002Ffinetuning.md`)\n- For `evaluate` \u002F `inference`: artifacts under `results_dir`\n\nFor TAO Deploy TensorRT actions (`gen_trt_engine`, TensorRT `evaluate`, and TensorRT `inference`), read `references\u002Ftao-deploy-depth-anything-v2.md` first. Deploy spec templates live in this skill's `references\u002F` folder with the `spec_template_deploy_*.yaml` prefix.\n\n## Training Requirements\n\n- **Valid `dataset_name` values for mono `data_sources`** (case-insensitive): `ThreeDVLM`, `FSD`, `NvCLIP`, `IssacStereo`, `Crestereo`, `Middlebury`, `NYUDV2`, `NYUDV2Relative`, `RelativeMonoDataset`, `MetricMonoDataset`. `NYUDV2` carries metric depth GT (meters) — pair with `MetricDepthAnything`; `NYUDV2Relative` is the same data with relative-depth conventions — pair with `RelativeDepthAnything`.\n- **Monitoring metric:** val\u002Floss\n\n### Per-Action Dataset Requirements\n\n| Action | Spec Key | Source | Files | List? |\n|---|---|---|---|---|\n| evaluate | dataset.test_dataset.data_sources | eval_dataset | data_file: annotations.txt + dataset_name | Yes |\n| inference | dataset.infer_dataset.data_sources | inference_dataset | data_file: annotations.txt + dataset_name | Yes |\n| quantize | dataset.train_dataset.data_sources | train_datasets | data_file: annotations.txt + dataset_name | Yes |\n| quantize | dataset.val_dataset.data_sources | eval_dataset | data_file: annotations.txt + dataset_name | Yes |\n| quantize | dataset.quant_calibration_dataset.images_dir | train_datasets | images.tar.gz | No |\n| train | dataset.train_dataset.data_sources | train_datasets | data_file: annotations.txt + dataset_name | Yes |\n| train | dataset.val_dataset.data_sources | eval_dataset | data_file: annotations.txt + dataset_name | Yes |\n\n### Spec Overrides\n\nData source overrides are **mandatory for every action** — construct the data source paths from the Per-Action Dataset Requirements table above and include them in `spec_overrides`; each `data_sources` entry is a dict with the two mandatory fields `data_file` and `dataset_name`. See `references\u002Fspec-overrides.md` for the full per-action `train` \u002F `evaluate` \u002F `export` \u002F `inference` \u002F `quantize` override blocks and the precision recommendations.\n\n## Eval Dataset\n\nOptional. Val dataset configured via `dataset.val_dataset.data_sources` (each entry needs `data_file` and `dataset_name`).\n\n## Important Parameters\n\nFull parameter glossary (`model.*`, `train.*`, `dataset.*`, `export.*`, `inference.*` fields with options, defaults, and sources) plus the **Pretrained checkpoint loading — use case matrix** live in `references\u002Fparameters.md`. Key starting points: `model.model_type` (default `MetricDepthAnything`), `model.encoder` (default `vitl`), `train.optim.lr` (default 1e-4, AdamW), `train.precision` (`fp32` recommended), `dataset.{train,val,test,infer}_dataset.augmentation.crop_size` (default `[518, 518]`).\n\n## Finetuning Recipes\n\nRelative and Metric variant finetuning recipes — including required spec keys, the metric `dataset.{normalize_depth, min_depth, max_depth}` block required in both train AND export specs, trainer-enforced defaults (`clip_grad_norm: 0.1`, `warmup_steps: 20`, `weight_decay: 1e-4`), sanity-run overrides, and the **Sanity-run PASS criteria** for catching silent `train_loss = NaN` — are in `references\u002Ffinetuning.md`. Both recipes use `train.optim.lr: 5e-6` with `LambdaLR` (the AdamW default `1e-4` is too aggressive when finetuning from a converged\u002Fpretrained backbone).\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.num_nodes` | Number of nodes | 1 |\n| `train.distributed_strategy` | `ddp` or `fsdp` | `ddp` |\n\n- `ddp` with activation checkpointing: `find_unused_parameters=False`\n- `ddp` without: `find_unused_parameters=True`\n- `fsdp` forces precision to FP16\n\n**Multi-node env vars** (set by orchestrator): `WORLD_SIZE`, `NODE_RANK`, `MASTER_ADDR`, `MASTER_PORT`, `NUM_GPU_PER_NODE`.\n\n## Export \u002F TRT Defaults\n\n- TRT data types: FP32, BF16 (Ampere SM80+). FP16 is not supported for the ViT-L mono backbone.\n- Recommended TRT precision: `bf16`. Use `fp32` if BF16 hardware is unavailable.\n\nFull TAO Deploy reference: [tao-deploy-depth-anything-v2](references\u002Ftao-deploy-depth-anything-v2.md).\n\n## Hardware\n\nMinimum 1 GPU(s), recommended 2 GPU(s). 24GB+ VRAM per GPU. ViT-Large encoder is memory intensive. Use `fp32` (recommended) or `bf16` (Ampere SM80+, alternative) for training. Activation checkpointing is available for larger inputs.\n\n## Error Patterns\n\nCommon failure signatures and fixes — depth range mismatch, missing pretrained weights, `Key 'encoder' not in 'MonoBackBone'`, missing `dataset_name`, `depth_net_mono: not found`, metric variant hyperparameter sourcing, and the export refuse-to-overwrite ONNX error — are documented in `references\u002Ftroubleshooting.md`.\n\n## Spec Param \u002F Parent Model Inference\n\nModel-specific inference mappings (the full `depth_net_mono.config.json` per-action spec-field → inference-function table, plus `parent_model` \u002F `parent_job_id` resolution guidance) are in `references\u002Fspec-param-inference.md`. These mappings belong in MD, not in `config.json`; generated runners should read that reference and apply the mappings with SDK helpers before `create_job()`.\n",{"name":5,"tags":24,"license":15,"metadata":28,"description":7,"allowed-tools":31,"compatibility":32},[25,26,27],"monocular","depth","estimation",{"author":29,"version":30},"NVIDIA Corporation","0.1.0","Read Bash","Requires docker + nvidia-container-toolkit.","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Ftao-train-depth-anything-v2",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill tao-train-depth-anything-v2",{"tool":48,"command":49},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill tao-train-depth-anything-v2",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill tao-train-depth-anything-v2","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002FSKILL.md",true,[56,62,66,70,74,78,82,86,90,94,98,102,105,109,113,117,121,125,129,133,137,141,145,149,153,157],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"BENCHMARK.md","REFERENCE","参考文档",4671,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002FBENCHMARK.md",{"path":63,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":64,"sourceHtmlUrl":65},"evals\u002Fevals.json",793,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Fevals\u002Fevals.json",{"path":67,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Ffinetuning.md",7265,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Ffinetuning.md",{"path":71,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fparameters.md",5396,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Fparameters.md",{"path":75,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fskill_info.yaml",1637,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Fskill_info.yaml",{"path":79,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fspec_template_deploy.yaml",2020,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Fspec_template_deploy.yaml",{"path":83,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fspec_template_evaluate.yaml",5546,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Fspec_template_evaluate.yaml",{"path":87,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fspec_template_export.yaml",5615,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Fspec_template_export.yaml",{"path":91,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fspec_template_gen_trt_engine.yaml",5663,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Fspec_template_gen_trt_engine.yaml",{"path":95,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fspec_template_inference.yaml",5552,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Fspec_template_inference.yaml",{"path":99,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fspec_template_quantize.yaml",5381,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Fspec_template_quantize.yaml",{"path":103,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":100,"sourceHtmlUrl":104},"references\u002Fspec_template_train.yaml","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Fspec_template_train.yaml",{"path":106,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Fspec-overrides.md",3608,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Fspec-overrides.md",{"path":110,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":111,"sourceHtmlUrl":112},"references\u002Fspec-param-inference.md",3234,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Fspec-param-inference.md",{"path":114,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":115,"sourceHtmlUrl":116},"references\u002Ftao-deploy-depth-anything-v2.md",7088,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Ftao-deploy-depth-anything-v2.md",{"path":118,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":119,"sourceHtmlUrl":120},"references\u002Ftao-deploy-depth-anything-v2.skill_info.yaml",2388,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Ftao-deploy-depth-anything-v2.skill_info.yaml",{"path":122,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":123,"sourceHtmlUrl":124},"references\u002Ftroubleshooting.md",1892,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Freferences\u002Ftroubleshooting.md",{"path":126,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":127,"sourceHtmlUrl":128},"schemas\u002Fevaluate.schema.json",106992,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Fschemas\u002Fevaluate.schema.json",{"path":130,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":131,"sourceHtmlUrl":132},"schemas\u002Fexport.schema.json",107656,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Fschemas\u002Fexport.schema.json",{"path":134,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":135,"sourceHtmlUrl":136},"schemas\u002Fgen_trt_engine.schema.json",109557,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Fschemas\u002Fgen_trt_engine.schema.json",{"path":138,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":139,"sourceHtmlUrl":140},"schemas\u002Finference.schema.json",107437,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Fschemas\u002Finference.schema.json",{"path":142,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":143,"sourceHtmlUrl":144},"schemas\u002Fmanifest.json",36696,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Fschemas\u002Fmanifest.json",{"path":146,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":147,"sourceHtmlUrl":148},"schemas\u002Fquantize.schema.json",103802,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Fschemas\u002Fquantize.schema.json",{"path":150,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":151,"sourceHtmlUrl":152},"schemas\u002Ftrain.schema.json",103796,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Fschemas\u002Ftrain.schema.json",{"path":154,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":155,"sourceHtmlUrl":156},"skill-card.md",4056,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Fskill-card.md",{"path":158,"resourceType":159,"resourceTypeDesc":160,"sizeBytes":161,"sourceHtmlUrl":162},"skill.oms.sig","OTHER","其他",10049,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftao-train-depth-anything-v2\u002Fskill.oms.sig",[164,172,179,186,193,201],{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":168,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":168,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":168,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":168,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":192,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":194,"name":195,"nameZh":6,"description":196,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":168,"licenseFileUrl":197,"sourceHtmlUrl":198,"categories":199,"keywords":200,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":202,"name":203,"nameZh":6,"description":204,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":168,"licenseFileUrl":6,"sourceHtmlUrl":205,"categories":206,"keywords":207,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]