2

I know how IOU works during detection. However, while preparing targets from ground-truth for training, how is the IOU between a given object and all anchor boxes calculated?

Is the ground truth bounding box aligned with an anchor box such that they share the same center? (width/2, height/2)

I think this is the case but I want to hear from someone who has better knowledge of how training data is prepared for training in YOLO.

nbro
  • 42,615
  • 12
  • 119
  • 217
nivter
  • 73
  • 3

1 Answers1

2

My assumption was correct: the ground truth bounding box is aligned with an anchor box such that they share the same center

In other words, only the widths and heights are used to calculate the ground truth IOU.

nivter
  • 73
  • 3