Training concepts
最后更新
Overview
Datasets
Tasks and task names
task_name; matching task names are therefore required when uploading pre-existing data.A dataset can contain several tasks. For example, the Keypoint Detection preset combines object detection with nested keypoints, while Instance Segmentation combines object detection with nested segmentation.| Task type | Annotation in Hub | Main training metric |
|---|---|---|
| Classification | Predict a class for the image | F1 Score |
| Object Detection | Predict bounding boxes | mean Average Precision (mAP) |
| Semantic Segmentation | Predict polygons or masks | Jaccard Index |
| Keypoint Detection | Predict a box and its skeleton keypoints | mean Average Precision Keypoints |
| Instance Segmentation | Predict a box and its nested polygon | mean Average Precision (mAP) |
| Optical Character Recognition (OCR) | Predict text | OCR Accuracy |
Classes
Define every class you intend to import before uploading the archive. You can add classes later, but existing classes cannot be removed from a dataset.
Samples
Annotation status
Unannotated → Pre-annotated → Annotated → In Review → Completed- Unannotated: has no reviewed annotation work.
- Pre-annotated: contains machine-generated annotations that should be reviewed.
- Annotated: indicates that manual annotation work has started or changed.
- In Review: is ready for a reviewer in an optional QA stage.
- Completed: is finalized and approved for use by the training workflow.
Completed samples drive readiness checks
The train, validation, and test sizes used by run validation and dataset health count Completed samples only. Statuses are optional as a workflow, but samples must be marked Completed before they contribute to those counts.
Splits
- Train: teaches the model by updating its weights.
- Validation: measures generalization during training and is used to select checkpoints.
- Test: provides a final comparison on data that was not used to update or select the model.
Tags
Versions
Health
- Size: checks whether enough samples are available.
- Split distribution: checks whether train, validation, and test data are reasonably balanced for their purposes.
- Class distribution: checks that every class is present and flags severe imbalance.
Projects
Linked models and architectures
Training and evaluation runs
Checkpoints
- Metric: selects the checkpoint with the best validation value for the task's main metric.
- Loss: selects the checkpoint with the lowest validation loss.