Why do anchor boxes need to be pre-defined?

They are. Not exactly as bounding boxes, though. Bounding boxes are learned through supervised learning. Anchor boxes are learned through unsupervised learning. See if this thread helps…

1 Like