Learn Before
Concept

Labeling Anchor Boxes in Training Data

In an object detection training dataset, every generated anchor box is treated as an individual training example. To train the model effectively, each anchor box must be assigned two specific types of supervision labels: a class label and an offset label. These labels are derived from the closest ground-truth bounding box assigned to the anchor box. Together, these labels provide the necessary signals for the model to simultaneously predict object categories and refine the bounding box coordinates.

0

1

Updated 2026-05-20

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L