Skip to content
nvidia avatar

Tao Train Mask Auto Label

Weakly-supervised segmentation skill that trains, evaluates, and runs MAL models from point or box annotations.

CCM score
74 of 100
skills.sh installs
1.6K
GitHub stars
4.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers training, evaluation, and inference for MAL models using a ViT-MAE backbone and COCO-style annotation JSON
  • Runs through the mal train, mal evaluate, and mal inference commands in a TAO Toolkit Docker container, with specs passed via -e
  • Routes train requests through AutoML by default and maximizes the emitted mIoU metric, with an automl_policy: off override for plain training
  • Designed for teams that need masks from minimal box or point annotations and require GPUs with nvidia-container-toolkit

Install

$ npx -y skills add nvidia/skills --skill tao-train-mask-auto-label -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

MAL

Standalone install? If this session was not initialized by the TAO skill bank plugin, run the tao-setup skill first (host preflight, credentials, cross-skill discovery).

MAL (Mask Auto-Label) for weakly-supervised segmentation. Produces segmentation masks from minimal annotations (e.g., point or box annotations). Uses ViT-MAE backbone.

Set train.pretrained_model_path for ViT-MAE pretrained weights.

Quick Start (docker run)

Docker-native launch — no TAO SDK and no Python on the host. Use the local Docker/platform skill instead when it gives a stricter environment-specific command (non-root UID mapping, cache redirects, remote daemons).

TAO_PYT_IMAGE_DEFAULT=nvcr.io/nvidia/tao/tao-toolkit:7.3.0-pyt  # versions-key: images.tao_toolkit.pyt
TAO_PYT_IMAGE="${TAO_PYT_IMAGE:-$TAO_PYT_IMAGE_DEFAULT}"
RUN_ROOT="${RUN_ROOT:-$PWD}"
DOCKER_COMMON=(
  --rm --gpus all --shm-size=8g
  --shm-size=8g
  --ulimit memlock=-1
  --ulimit stack=67108864
  -v "$RUN_ROOT/data:/data:ro"
  -v "$RUN_ROOT/specs:/specs:ro"
  -v "$RUN_ROOT/results:/results"
)

Train:

docker run "${DOCKER_COMMON[@]}" "$TAO_PYT_IMAGE" \
  mal train -e /specs/train.yaml

Evaluate:

Details

Repository
github.com/nvidia/skills
Category
Data Science & Analytics
First seen
Jul 14, 2026

Questions

What does the tao-train-mask-auto-label skill do?

It guides an agent through training, evaluating, and running inference for a TAO MAL model, which is Mask Auto-Label for weakly-supervised segmentation. It produces segmentation masks from minimal point or box annotations using a ViT-MAE backbone.

How do I install the tao-train-mask-auto-label skill?

Run npx -y skills add nvidia/skills --skill tao-train-mask-auto-label -y in your project. The skill then lets the agent launch MAL train, evaluate, and inference actions through Docker.

What do I need to run tao-train-mask-auto-label?

The skill's SKILL.md says it needs Docker with the NVIDIA container toolkit and a GPU, plus COCO-style annotation JSON with image paths that match the file_name entries. It also expects a pretrained ViT-MAE weights path set in the training spec.

Which annotations work with the MAL training workflow?

MAL expects COCO-style annotation JSON with image files named in the file_name fields. For COCO annotations that contain boxes but no segmentation fields, the skill says to set dataset.load_mask to false.

More from nvidia/skills

All 201

Similar to Tao Train Mask Auto Label

More Data Science & Analytics