Skip to content

Different types of IoU #2545

Closed
Closed
@kennyFF92

Description

@kennyFF92

🚀 Feature

Implementation of 3 other types of IoU metric in torchvision.ops.boxes:

  1. Generalized IoU
  2. Distance IoU
  3. Complete IoU

Motivation

Since these metrics can lead to better results in some cases (object detection, etc.) it could be useful to have them natively implemented.

Pitch

Users who need IoU computation can simply choose from 4 different implementation using the same inputs (e.g. two lists of boxes).

Additional context

Mathematical details can be found here:

  1. Generalized IoU: Generalized Intersection over Union
  2. Distance/Complete IoU: Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions