tao-train-dinov3
DINOv3 continual self-supervised pre-training. Domain-adapts public DINOv3 ViT backbones on unlabeled images via teacher-student self-distillation (DINO +…
от nvidia432 установки в других каталогах
Установить tao-train-dinov3 в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
DINOv3
Standalone install? If this session was not initialized by the TAO skill bank plugin, run the
tao-setupskill first.
Use this skill to continue self-supervised training of a DINOv3 backbone on unlabeled images, then convert, export, or run inference with a trained teacher checkpoint.
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" \
dinov3 train -e /specs/train.yaml
Inference:
docker run "${DOCKER_COMMON[@]}" "$TAO_PYT_IMAGE" \
dinov3 inference -e /specs/inference.yaml
Export:
docker run "${DOCKER_COMMON[@]}" "$TAO_PYT_IMAGE" \
dinov3 export -e /specs/export.yaml
Convert:
docker run "${DOCKER_COMMON[@]}" "$TAO_PYT_IMAGE" \
dinov3 convert -e /specs/convert.yaml
Every action takes its spec with -e; results_dir is set in the spec or
overridden on the command line. Mount any pretrained-weights directory the spec
references, and keep every in-container path consistent across actions.
Configuration
Use schemas/<action>.schema.json for supported fields, defaults, ranges, and options. Start from the matching references/spec_template_<action>.yaml.
Training is AutoML-enabled. Read references/skill_info.yaml and resolve an explicit automl_policy or user request before training. Default to automl_policy: on; requests such as "disable AutoML", "no HPO", or "plain training" mean off for that run. When it is on and the train schema and template are packaged, route training through tao-skill-bank:tao-run-automl. Use direct training only when the policy is off or those files are missing, and report the missing-file limitation. Non-train actions remain in this skill.
Treat train_loss as an optimization signal; use downstream evaluation when selecting a checkpoint for deployment.
For method background or tuning ideas, optionally read:
references/dinov3-method.mdreferences/dinov3-recipes.md
Core workflow
- Obtain a compatible DINOv3 checkpoint in timm or TAO format.
- Point
dataset.train_dataset.images_dirto a directory of unlabeled images. - Configure the backbone, training scale, and output location.
- Run training and evaluate useful teacher checkpoints on data representative of the downstream task.
- Use the selected teacher checkpoint with
convert,export, orinference.
Provide either train.pretrained_model_path for a new run or train.resume_training_checkpoint_path to resume an existing run.
Essential fields
| Purpose | Spec field |
|---|---|
| Training images | dataset.train_dataset.images_dir |
| Initial weights | train.pretrained_model_path |
| Resume checkpoint | train.resume_training_checkpoint_path |
| Backbone | model.backbone.teacher_type, model.backbone.student_type |
| Training scale | dataset.batch_size, train.num_gpus, train.num_nodes |
| Output directory | results_dir |
| Conversion input | convert.checkpoint |
| Export input | export.checkpoint |
| Inference inputs | inference.checkpoint, dataset.test_dataset.images_dir |
Example train settings:
model:
backbone:
teacher_type: vit_b
student_type: vit_b
rope_theta: 100.0
dataset:
train_dataset:
images_dir: /path/to/unlabeled/images
batch_size: 16
train:
pretrained_model_path: /path/to/dinov3/weights
num_epochs: 10
num_gpus: 1
Supported image extensions include jpg, jpeg, png, ppm, bmp, pgm, tif, tiff, and webp. Keep evaluation data separate from training data when measuring downstream quality.
Every dataset.*.images_dir value must be an extracted image folder. Managed
archive-backed sources use runtime: extracted_folder, which unpacks the source
before injecting the directory into the spec. For direct Docker or TAO CLI runs,
extract .tar, .tar.gz, .tgz, or .zip inputs before launch.
Checkpoints
| File | Use |
|---|---|
model_epoch_*_step_*.pth |
Resume training, or export its EMA teacher |
teacher_epoch_*_step_*.pth |
Convert, export, inference, or downstream evaluation |
student_epoch_*_step_*.pth |
Diagnostics |
For export, prefer a selected stripped teacher_epoch_*_step_*.pth. Export also accepts
a selected full model_epoch_*_step_*.pth and deterministically selects and logs
teacher.backbone. Inference requires a stripped teacher checkpoint. Do no
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Bash
FAQ
Что делает скилл tao-train-dinov3?
DINOv3 continual self-supervised pre-training. Domain-adapts public DINOv3 ViT backbones on unlabeled images via teacher-student self-distillation (DINO + iBOT + KoLeo, optional Gram anchoring) and converts the EMA teacher into a timm-format backbone for downstream tasks. Trigger phrases include "train DINOv3", "DINOv3 SSL", "domain-adapt a foundation backbone", "continual pretraining", "self-supervised finetune DINOv3".
Как установить скилл tao-train-dinov3?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tao-train-dinov3 запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…