Learn Before
Formula
Anchor Box Parameterization by Scale and Aspect Ratio
An anchor box centered on a pixel of an image with height and width is parameterized by two quantities: a scale and an aspect ratio , defined as the ratio of the box's width to its height. Given these parameters, the width of the anchor box is and the height is . This formulation ensures that larger scales produce bigger boxes and that the aspect ratio controls the elongation of the box — values of yield wider boxes, while values of yield taller boxes. Since the scale is expressed relative to the image dimensions, the resulting anchor box dimensions are directly proportional to the image size.
0
1
Updated 2026-05-19
Tags
D2L
Dive into Deep Learning @ D2L