Roboflow Training And Evaluation 标志

Roboflow Training And Evaluation

组织
roboflow
roboflow-training-and-evaluation

用于训练 Roboflow 模型、诊断模型表现不佳的原因、提高准确率或设置生产环境反馈闭环;涵盖架构选择、模型 ID、检查点、模型评估(混淆矩阵、各类别指标、MCP 评估工具)、以诊断为先的改进流程,以及通过 Project Model Workflow 模块进行主动学习。

Add to TypingMind

概览

发布者roboflow
代码仓库computer-vision-skills
技能名称roboflow-training-and-evaluation
星标数
50
复刻数
11
附带文件
5
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 roboflow 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Roboflow Training And Evaluation AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/roboflow/computer-vision-skills/tree/main/skills/roboflow-training-and-evaluation
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/roboflow/computer-vision-skills.git /tmp/computer-vision-skills
mkdir -p .claude/skills
cp -r /tmp/computer-vision-skills/skills/roboflow-training-and-evaluation .claude/skills/roboflow-training-and-evaluation
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Roboflow Training And Evaluation,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Roboflow Training And Evaluation。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Roboflow Training And Evaluation 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

For agents: This skill is authored in roboflow/computer-vision-skills. If your client already has it loaded as a skill (for example from a Roboflow plugin), use that copy. The skill://roboflow/<name>/SKILL.md MCP resources serve the same skills for clients that don't have them loaded.

Training & Evaluation on Roboflow

Training Flow

Upload/Annotate Images
  → Generate Dataset Version (preprocessing + augmentation + train/val/test split)
    → Pick Model Architecture + Size
      → Pick Checkpoint (COCO, Universe model, or previous version)
        → Train
          → Evaluate (auto-runs for paid users)

Version = frozen snapshot. Changes to the project after version creation do not affect it. Configure preprocessing (resize, contrast, etc.) and augmentation (flip, rotate, mosaic, etc.) during version generation.

Available Model Architectures

Object Detection

ArchitectureSizesDefault ResolutionNotes
RF-DETRPico, Nano, Small, Base, Medium, Large, XL, 2XL384-880 (varies by size)Best accuracy among named sizes; see RF-DETR NAS
Roboflow 3.0Fast, Accurate, Medium, Large, XL640x640YOLOv8-based. Medium+ require paid plan
YOLO26n/s/m/l/x640x640Also supports seg + pose
YOLOv12n/s/m/l/x640x640OD only
YOLOv11n/s/m/l/x640x640Also supports seg + pose
YOLOv8n/s/m/l/x640x640Also supports seg + pose
YOLO-NASSmall, Medium640x640
YOLOLite CPUn/s/m/l/x640x640Edge-optimized, beta
YOLOLite GPUn/s/m/l/x640x640Edge-optimized, beta
Roboflow InstantsingleN/A (no resize)Few-shot, free, OD only

Instance Segmentation

ArchitectureSizesDefault Resolution
RF-DETR SegNano, Small, Medium, Large, XL, 2XL312-768 (varies)
Roboflow 3.0 SegFast, Accurate, Medium, Large, XL640x640
YOLO-segv8/v11/v26 (n/s/m/l/x each)640x640
SAM 3 (Segment Anything 3)Large1008x1008

Semantic Segmentation

ArchitectureSizesDefault Resolution
DeepLabV3+Base>=512x512

Classification

ArchitectureSizesDefault Resolution
ViTBase224x224
ResNet18/34/50/101224x224
DINOv3Base, Small224x224

Keypoint / Pose

ArchitectureSizesDefault Resolution
YOLO-posev8/v11/v26 (n/s/m/l/x each)640x640

Multimodal / VLM

ArchitectureSizesDefault Resolution
Qwen3.50.8B, 2B448x448
Qwen3 VL2B448x448
SmolVLM256M, 2B384x384
Florence 2Base, Large768x768
PaliGemma 23B448x448
Qwen2.5 VL7B448x448

Model Selection Decision Tree

Follow this flowchart to pick the right model. Start at Step 1.

  1. Task type? OD / Instance Seg / Keypoint → Step 2. Classification / Semantic Seg / VLM → use specialized block directly.
  2. Target classes in COCO 80? Yes → Step 3. No → Step 6.
  3. Real-time? No (images/recorded video) → Step 4. Yes (live video) → Step 5.
  4. Non-real-time, COCO — OD / Inst Seg → prefer RF-DETR NAS; if unavailable, RF-DETR (detection) or RF-DETR Seg (instance segmentation) at Medium, Small for constrained HW, XL for accuracy-first. Keypoint → YOLO26 pose. Done.
  5. Real-time, COCO — Same, and NAS is the strongest option here because it reports measured latency per target hardware. Without it, same families at Nano–Small. Done.
  6. Non-COCO, which sub-task? OD → Step 7. Inst Seg → Step 8. Keypoint → Step 9.
  7. OD, non-COCO — Check Rapid exclusions (see below). If excluded → Step 13. Otherwise → recommend Roboflow Rapid (default) or SAM3 zero-shot as secondary option → Step 10.
  8. Inst Seg, non-COCO — SAM3 zero-shot (sam3/sam3_final, set class_names). Rapid does not support segmentation → Step 10.
  9. Keypoint, non-COCO — Not real-time → YOLO26 pose Medium–XL. Real-time → YOLO26 pose Nano–Small. Done.
  10. Real-time? No → try model (Step 11). Yes → warn about latency, try model (Step 12).
  11. Non-real-time trial — User confirms works → Done. Poor results → Step 13.
  12. Real-time trial — User confirms works → Done. Poor results → Step 13.
  13. Universe Model Search — search community models on Roboflow Universe. Good match → Done. No match → Step 14.
  14. Custom Training — OD / Inst Seg → prefer RF-DETR NAS. If NAS is unavailable, fine-tune RF-DETR (detection) or RF-DETR Seg (instance segmentation), sized by HW constraints. Done.

Model ID Reference

Read model-ids.md before calling a training tool. It contains the exact supported model_id values and the COCO class reference. Do not guess model IDs.

Model Selection Quick Guide

When you are training a model on the user's data for detection or instance segmentation, start with NAS. Neural Architecture Search searches the RF-DETR space against that data and reports a speed/accuracy frontier, so it is the option most likely to land on the best model for it. Reach for a single named architecture when NAS is unavailable (see prerequisites below), when the user asks for a specific one, or when a quick throwaway baseline is all that's wanted.

This summarises the training branches of the decision tree above; it does not override it. The tree may route a non-COCO request to Roboflow Rapid or SAM3 zero-shot first, neither of which trains a model — NAS only applies once custom training is the chosen path.

GoalRecommended
Object detection — no strong priorRF-DETR NAS (rfdetr-nas-parent)
Instance segmentation — no strong priorRF-DETR NAS Seg (rfdetr-nas-seg-parent)
Best accuracy, object detection, NAS unavailableRF-DETR (Large or XL)
Fast inference, object detection, NAS unavailableRF-DETR Nano or YOLOv11n
Best accuracy, instance segmentation, NAS unavailableRF-DETR Seg
Quick proof-of-concept (<1000 images)Roboflow Instant
ClassificationViT or DINOv3
Multimodal / text promptsQwen3.5 or SmolVLM

NAS parents exist only for object detection and instance segmentation. Keypoint, classification, semantic segmentation, and VLM tasks have no NAS option — use the named models above.

Comparing architectures (sweeps)

If you are comparing architectures rather than picking one, include a NAS parent as one of the candidates whenever the prerequisites are met — e.g. rfdetr-medium vs yolo26m vs rfdetr-nas-parent. Launch one trainings_create per candidate and keep each trainingId.

Before comparing results, read NAS results. It explains why a recommended child is not necessarily the highest-accuracy child and how to choose a fair comparison.

The NAS arm also takes longer than a single fine-tune, so report the named-model arms as they finish rather than blocking on NAS.

RF-DETR NAS (Neural Architecture Search)

Instead of picking a single RF-DETR size manually, NAS trains one parent model and mines many architectures out of it, reporting the speed/accuracy frontier so you can pick the one that fits your hardware budget.

  • What: A NAS run trains a single parent model, then searches the RF-DETR architecture space within that trained parent to identify frontier candidates, reporting each one's mAP and measured latency on target hardware (e.g., Jetson, T4 GPU). The output is a set of models on a Pareto frontier, plus a winner auto-selected per (metric, hardware) bucket using Roboflow's current ranking heuristic to balance validation accuracy against measured latency. Those per-bucket winners are not exposed individually: models_list flattens them into one recommended boolean per child (see Picking for a specific hardware target).
  • Tasks: Object Detection (rfdetr-nas) and Instance Segmentation (rfdetr-nas-seg).
  • When to use: When you want the best speed/accuracy tradeoff for a specific deployment target and don't want to A/B-test sizes manually. Especially valuable for edge hardware where latency budgets are tight.
  • Phases:
    1. Parent training — trains the one parent model the search draws from. This is the bulk of the wall-clock.
    2. Mining — searches architectures inside the trained parent and evaluates candidates to build the Pareto frontier (latency vs mAP). Candidates are derived from the parent rather than each being trained from scratch, so they appear in a burst near the end of the run. Each becomes a regular model you can deploy.
  • Model IDs: rfdetr-nas-parent (Standard — use this by default), rfdetr-nas-pecoret-parent (Fast), rfdetr-nas-base-parent (Plus) for object detection; rfdetr-nas-seg-parent for instance segmentation.
  • Prerequisites — check both before offering NAS:
    1. ≥15 validation images. versions_get returns splits.valid; below 15 the train call fails with insufficient_validation_images_for_nas, and waiting will not help — the user must generate a version with a larger validation split.
    2. Plan entitlement. NAS is included on Core and Growth plans; any other plan needs it granted on the workspace. Basic/starter/sandbox/research/trial need to upgrade; enterprise/legacy need to contact sales. Entitlement is not readable from the MCP, so this cannot be checked up front — a non-entitled workspace finds out when trainings_create rejects the run with code nas_not_available_for_plan. Treat that as a plan limit, not a transient error: do not retry it. Explain that NAS is unavailable and may need an upgrade or workspace enablement, using the plan on the error to tell which. Offer a named model for the task — rfdetr-medium (detection) or rfdetr-seg-medium (segmentation) — but do not start a different training until the user explicitly approves that model and its credit usage. Do not fall back to a hyperparameter sweep.
  • Start a run: trainings_create(project_id, version_number, model_type="rfdetr-nas-parent"). NAS launches through the normal training tool; there is no separate engine parameter. (The UI equivalent is the Train page with ?engine=nas.) Results land at /{workspace}/{project}/nas-runs/{versionId}.
  • Nothing to hand-tune: a NAS parent's whole hyperparameter surface is epochs (default 200, range 100–300). There are no learning-rate or loss-weight knobs, because the architecture search is the sweep.
  • Reading a run and selecting a hardware target: Read NAS results before interpreting child metrics or choosing a model. It covers paging, latency formats, and the limits of recommendation flags.
  • Deploy: Each NAS-produced model deploys like any other — pick one and use it as a normal Roboflow model. Call it the hardware-recommended child only when an authoritative recommendedByHardware entry actually says so; otherwise it is the child the user chose from the frontier. Inference type is rfdetr-nas / rfdetr-nas-seg, but it's served through the standard inference paths.
  • References: RF-DETR paper (arxiv), ICLR 2026, What is NAS? (blog).

Roboflow Instant / Rapid

Roboflow Instant

  • What: Few-shot model, trains in minutes, free
  • Task: Object Detection only
  • When to use: PoC, <1000 images, quick iteration
  • Auto-trains when you approve a batch and no Instant model exists yet
  • No preprocessing/augmentation -- uses images as-is
  • Deploy: Available in Workflows like any trained model
  • Manual trigger: Project > Models > Train Model > Roboflow Instant Model

Roboflow Rapid

  • What: Interactive annotation-and-training workflow — SAM3 pre-annotates a small image set, user reviews/corrects, a fast custom OD model trains automatically. Model keeps improving as it captures more production data.
  • Task: Object Detection only, non-COCO classes
  • When to use: Default path for non-COCO object detection when exclusions don't apply

Do NOT use Rapid when:

ExclusionWhy
OCR / text detection (characters, serial numbers, labels, receipts, license plates)SAM3 cannot reliably segment individual characters
Blueprints, floor plans, schematics, technical drawingsAbstract symbols and line-based elements not handled by SAM3 text prompting
More than 5 target classesSAM3 text prompting accuracy degrades significantly with many classes
Fine-grained visual distinctions (correct vs incorrect orientation, pass/fail, subtle defects)SAM3 cannot differentiate nearly identical objects; fine-tuned model needed
High-precision measurement / metrology (distances, dimensions, tolerances)SAM3 auto-labeling annotation precision insufficient for calibrated measurement

When Rapid is excluded → resume the decision tree at Step 13: Universe model search first, then custom training, which starts with RF-DETR NAS and falls back to named RF-DETR when its prerequisites are not met.

Checkpoint Training

OptionWhen to use
Public Checkpoint (COCO)First model version, default recommended
Universe CheckpointStar a Universe project first, then it appears as checkpoint option. Good for domain-specific transfer learning
Previous VersionAlready have a good model, want to improve with more data (all types except classification and SAM3)
Random InitializationAdvanced users only, usually worse results

Training Controls

  • Cancel Training: Stops job, no weights saved. Refund if early in training.
  • Early Stopping: Stops job, saves weights. Use when graphs show convergence with many epochs remaining. Charges for used credits.
  • NAS Training: Shows paired charts (mining progress + Pareto curve, then per-model training curves). May auto-stop on convergence. See RF-DETR NAS section below.

Post-Training Metrics

Metrics vary by project type:

Project TypeMetrics Shown
Object DetectionmAP@50, Precision, Recall, F1
ClassificationAccuracy
Instance Segmentation / KeypointmAP@50, Precision, Recall
Semantic SegmentationmIoU
MultimodalPerplexity

Model Evaluation (Paid Plans)

Auto-runs after training. Access: Models > click model version > View Evaluation.

FeatureWhat it shows
Production Metrics ExplorerPrecision/Recall/F1 at all confidence thresholds; recommends optimal confidence
Model Improvement RecommendationsActionable suggestions (false negatives, false positives, confused classes, insufficient data)
Performance by ClassCorrect predictions, misclassifications, false negatives, false positives per class; filterable
Confusion MatrixGround truth vs predictions grid; click cells to see specific images; adjustable confidence threshold
Vector ExplorerInteractive embedding clusters showing where model succeeds/fails

Deep link: https://app.roboflow.com/{workspace}/{project}/evaluation/{versionId}.

When a user asks why a model is bad or how to improve it, start with skill://roboflow/roboflow-training-and-evaluation/model-diagnosis.md. It maps every evaluation panel to a root cause (taxonomy, mislabeled data, inconsistent label standards, coverage gaps, too little data, bad data) and says which data to add next. The improvement playbook holds the compact decision tree and the training-side fixes (architecture, size, augmentation, overfitting).

The MCP server exposes every evaluation panel. All require the model-eval:read scope and return 409 model_eval_not_done while an evaluation is still running.

PanelTool
Find an evaluationmodel_evals_list (filter by project_id, version_number, or model_id; one at a time)
Headline mAP / precision / recall + app_urlmodel_evals_get
Model Improvement Recommendationsmodel_evals_get_recommendations ({"generated": false} when never produced)
Performance by Classmodel_evals_get_performance_by_class (split = train/valid/test)
mAP@50 / @50-95 / @75 per split, by object size and per classmodel_evals_get_map_results
Confusion Matrixmodel_evals_get_confusion_matrix (split, confidence 0-100; defaults to the optimal threshold)
Production Metrics Explorermodel_evals_get_confidence_sweep
Vector Explorermodel_evals_get_vector_analysis, then model_evals_get_image_predictions for per-image TP/FP/FN and cluster ids
Dataset Health Checkprojects_health (regenerate=True to recompute; first run can take minutes)

Viewing & Comparing Models

  • Models page: Project sidebar > Models. Shows all Instant + fine-tuned models with metrics, architecture, license, dataset version used.
  • Universe tab: Starred Universe models available for transfer learning.
  • Visualize: Quick test on test-set images, uploaded images, or webcam. Works for OD, segmentation, classification, keypoint. Not supported for multimodal.

MCP Tools Reference

ActionTool
Generate versionversions_generate
Start trainingtrainings_create
Find a training runtrainings_list(project_id, version_number) returns each run's trainingId and status
Check a known training runtrainings_get(project_id, version_number, training_id); use the paginated NAS path above for child model details
Get model infomodels_get
List modelsmodels_list
Find evaluationsmodel_evals_list
Evaluation summarymodel_evals_get
Evaluation recommendationsmodel_evals_get_recommendations
Per-class metricsmodel_evals_get_performance_by_class
mAP by split / object size / classmodel_evals_get_map_results
Confusion matrixmodel_evals_get_confusion_matrix
Confidence sweepmodel_evals_get_confidence_sweep
Vector analysis / per-image predictionsmodel_evals_get_vector_analysis, model_evals_get_image_predictions
Dataset health checkprojects_health

Related Pages

  • model-ids.md — exact training model IDs and COCO class coverage
  • skill://roboflow/roboflow-training-and-evaluation/model-diagnosis.md — start here for "why is my model bad / how do I improve it": run Model Evaluation, read each panel, map symptoms to root causes, decide which data to add
  • skill://roboflow/roboflow-training-and-evaluation/improvement-playbook.md — diagnostic decision tree, confusion matrix and per-class metric guide, recommendation types, architecture switching, augmentation, overfitting, iterative checklist
  • skill://roboflow/roboflow-training-and-evaluation/active-learning.md — production feedback loop: Project Model Workflow block, Active Learning, review, and retraining

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Roboflow Training And Evaluation AI 技能有什么作用?

用于训练 Roboflow 模型、诊断模型表现不佳的原因、提高准确率或设置生产环境反馈闭环;涵盖架构选择、模型 ID、检查点、模型评估(混淆矩阵、各类别指标、MCP 评估工具)、以诊断为先的改进流程,以及通过 Project Model Workflow 模块进行主动学习。

为什么在 TypingMind 中使用 Roboflow Training And Evaluation?

因为您只需安装一次,就能搭配任何模型使用。Roboflow Training And Evaluation 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Roboflow Training And Evaluation?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/roboflow/computer-vision-skills/tree/main/skills/roboflow-training-and-evaluation。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Roboflow Training And Evaluation?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Roboflow Training And Evaluation 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Roboflow Training And Evaluation 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Roboflow Training And Evaluation AI 技能免费吗?

是的。roboflow 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇