Sign in
Explore
Skills · SkillData & AIMachine learningReviewedMakes network callsNeeds secrets

huggingface-vision-trainer

Trains and fine-tunes object detection, image classification and SAM or SAM2 segmentation models on Hugging Face Jobs cloud GPUs.

Kind
Skill
Works with
Claude Code
Source
Hugging Face Skills @ 25910b3d0ba3
Path
skills/huggingface-vision-trainer/SKILL.md
Jobs
Implementation
Topics
Machine learning

Credit

Made by
huggingface
Original
github.com/huggingface/skills/blob/25910b3d0ba31a2ba102f901cd…
License
Apache-2.0

Listed by Skill Manifest; not made by us.

InstallInstall it by hand, following the source.
hf skills add huggingface-vision-trainer
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/huggingface-vision-trainer/ (the skill folder)
  • 11 file(s) the skill refers to
  • 11 other files in the folder: references/finetune_sam2_trainer.md, references/hub_saving.md, references/image_classification_training_notebook.md, references/object_detection_training_notebook.md and 7 more
Runs scripts
Yes
  • scripts/dataset_inspector.py
  • scripts/estimate_cost.py
  • scripts/image_classification_training.py
  • scripts/object_detection_training.py
Uses the network
Yes
  • downloads Python packages
  • downloads Python packages (references/finetune_sam2_trainer.md)
  • downloads Python packages (references/image_classification_training_notebook.md)
  • downloads Python packages (references/object_detection_training_notebook.md)
Needs secrets
Yes
  • HF_TOKEN
Reads environment variables
  • HF_TOKEN
  • HARDWARE_COSTS
Reads outside the project
  • /usr/bin/env (scripts/dataset_inspector.py)
  • ~/.huggingface (scripts/object_detection_training.py)
Calls other skills
  • /trackio
Value without its scripts
Medium
  • The main file runs scripts/dataset_inspector.py, scripts/estimate_cost.py for one step; the rest works without it.
  • scripts/dataset_inspector.py: Dataset Format Inspector for Vision Model Training
  • scripts/estimate_cost.py: Estimate training time and cost for vision model training jobs on Hugging Face Jobs.
  • scripts/image_classification_training.py: Fine-tuning any Transformers or timm model supported by AutoModelForImageClassification us
  • scripts/object_detection_training.py: Finetuning any 🤗 Transformers model supported by AutoModelForObjectDetection for object de
What it does
  • Needs a paid account or key
Source revision
25910b3d0ba3
Licence
Apache-2.0
Last activity
26 Nov 2026
Source changed after the scan
Yes
  • Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# 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
…