DetectionEngine.anchor_coverage
DetectionEngine.anchor_coverage(model_name=None, split='train')How well the anchors in use cover this split’s boxes.
Worth asking of a split the anchors were not fitted on: anchors that cover the training boxes at 0.92 and the validation boxes at 0.70 say the two splits hold different objects, which no training curve shows.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| model_name | str | None | Which detector. Defaults to the first. | None |
| split | str | Which split’s boxes to measure against. | 'train' |
Returns
| Name | Type | Description |
|---|---|---|
| dict[str, Any] | The mean IoU between each box and its best anchor. Measured on a split the | |
| dict[str, Any] | anchors were not fitted on, this says whether they generalise; it was 0.877 | |
| dict[str, Any] | in every one of six BCCD runs, which is also why GIoU could not help there - | |
| dict[str, Any] | a prediction never starts disjoint from the truth it answers. |