Skip to content
huggingface avatar

Huggingface Vision Trainer

Vision training toolkit for detection, classification, and SAM segmentation on Hugging Face Jobs GPUs.

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

Own this skill? Claim it

What it does

  • Covers detection (D-FINE, RT-DETR v2, DETR, YOLOS), timm and Transformers classifiers, and SAM/SAM2 segmentation with bbox or point prompts
  • Includes COCO-format dataset preparation, Albumentations augmentation, mAP/mAR and accuracy evaluation, and DiceCE loss
  • Requires a objects column for detection, an image/label pair for classification, and an image/mask/prompt set for SAM; validates datasets before GPU training
  • Designed for training runs that persist models to the Hub, with cost estimation, hardware selection, and Trackio monitoring

Install

$ npx -y skills add huggingface/skills --skill huggingface-vision-trainer -y

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

Files

Vision Model Training on Hugging Face Jobs

Train object detection, image classification, and SAM/SAM2 segmentation models on managed cloud GPUs. No local GPU setup required—results are automatically saved to the Hugging Face Hub.

When to Use This Skill

Use this skill when users want to:

  • Fine-tune object detection models (D-FINE, RT-DETR v2, DETR, YOLOS) on cloud GPUs or local
  • Fine-tune image classification models (timm: MobileNetV3, MobileViT, ResNet, ViT/DINOv3, or any Transformers classifier) on cloud GPUs or local
  • Fine-tune SAM or SAM2 models for segmentation / image matting using bbox or point prompts
  • Train bounding-box detectors on custom datasets
  • Train image classifiers on custom datasets
  • Train segmentation models on custom mask datasets with prompts
  • Run vision training jobs on Hugging Face Jobs infrastructure
  • Ensure trained vision models are permanently saved to the Hub

Related Skills

Details

Repository
github.com/huggingface/skills
Categories
Data Science & Analytics, AI Agents & LLM Apps
First seen
Jun 3, 2026

More from huggingface/skills

All 20

Similar to Huggingface Vision Trainer

More Data Science & Analytics